Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011900Openbravo ERPZ. Otherspublic2010-01-05 13:132011-05-18 14:03
iperdomo 
shuehner 
normalminoralways
closedfixed 
202.6.30-gentoo-r5
2.50MP9 
3.0MP0 
Core
No
0011900: Unsused FO based reports cleanup
There are 15 classes using renderFO, but only 8 registered processes in the Application Dictionary. 7 classes are not used/supported. Here you have the query:

select p.ad_process_id, p.name, m.classname
  from ad_process p, ad_model_object m
 where p.ad_process_id = m.ad_process_id
   and m.classname in ('org.openbravo.erpCommon.ad_reports.GeneralAccountingReports',
               'org.openbravo.erpCommon.ad_reports.ReportDimensionalAnalysesPDF', --Not used
               'org.openbravo.erpCommon.ad_reports.ReportInvoiceCustomerDimensionalPDF', --Not used
               'org.openbravo.erpCommon.ad_reports.ReportMaterialTransactionEdition', --Not used
               'org.openbravo.erpCommon.ad_reports.ReportProduction', --Not used
               'org.openbravo.erpCommon.ad_reports.ReportProjectBuildingSite', --Not used
               'org.openbravo.erpCommon.ad_reports.ReportSalesOrderDimensionalPDF', --Not used
               'org.openbravo.erpCommon.ad_reports.ReportToInvoiceConsignment', --Not used
               'org.openbravo.erpReports.RptC_Proposal',
               'org.openbravo.erpReports.RptC_Settlement',
               'org.openbravo.erpReports.RptM_Inout',
               'org.openbravo.erpReports.RptM_Movement',
               'org.openbravo.erpReports.RptMA_CCP_Group',
               'org.openbravo.erpReports.RptMA_CCP_Measures',
               'org.openbravo.erpReports.RptPromissoryNote')
order by m.classname;

---
This classes has no registered process in the AD:
* org.openbravo.erpCommon.ad_reports.ReportDimensionalAnalysesPDF
* org.openbravo.erpCommon.ad_reports.ReportInvoiceCustomerDimensionalPDF
* org.openbravo.erpCommon.ad_reports.ReportMaterialTransactionEdition
* org.openbravo.erpCommon.ad_reports.ReportProduction
* org.openbravo.erpCommon.ad_reports.ReportProjectBuildingSite
* org.openbravo.erpCommon.ad_reports.ReportSalesOrderDimensionalPDF
* org.openbravo.erpCommon.ad_reports.ReportToInvoiceConsignment
* Search for all renderFO calls
* Query the AD and search for the processes associated with the classes from the list in previous step
* All non-listed classes are unused reports
* Remove unused/unsupported classes
No tags attached.
blocks feature request 0007236 acknowledged shuehner Tracking issue: Cleanup for 3.00 
Issue History
2010-01-05 13:13iperdomoNew Issue
2010-01-05 13:13iperdomoAssigned To => shuehner
2010-01-05 13:13iperdomoRelationship addedrelated to 0007236
2010-01-05 13:14iperdomoRelationship replaceddepends on 0007236
2010-01-05 13:14iperdomoStatusnew => acknowledged
2010-01-05 13:22iperdomoRelationship replacedblocks 0007236
2011-05-18 12:09shuehnerStatusacknowledged => scheduled
2011-05-18 12:09shuehnerfix_in_branch => pi
2011-05-18 12:10shuehnerNote Added: 0037129
2011-05-18 12:10shuehnerStatusscheduled => resolved
2011-05-18 12:10shuehnerFixed in SCM revision => https://code.openbravo.com/erp/devel/pi/rev/84cb6edcc057 [^]
2011-05-18 12:10shuehnerResolutionopen => fixed
2011-05-18 14:03iperdomoNote Added: 0037142
2011-05-18 14:03iperdomoStatusresolved => closed

Notes
(0037129)
shuehner   
2011-05-18 12:10   
All those 8 reports have been moved to the legacy features module and are removed from core.
(0037142)
iperdomo   
2011-05-18 14:03   
Tested on pi @ rev 4f0bf76a1b92