Most Powerful Open Source ERP

Guideline Report Method Name Uses ReportSectionList Postfix

for consistent naming.
  • Last Update:2017-04-06
  • Version:001
  • Language:en

Report Method Name Uses ReportSectionList Postfix

Reports uses a 'Report Method' which is supposed to return the list of ReportSection object. This method (often a python script) must be named like:

In the case of report box, then PortalType_viewReportNameReport is an ERP5 Form containing a report box, usually named simply your_report, which also uses a report method named PortalType_getReportNameReportSectionList.

Good Example:

PortalType_getReportNameReportSectionList

Bad Example: