Most Powerful Open Source ERP

Guideline Define Count Method As countFolder On Module Listbox

To use portal catalog.
  • Last Update:2017-04-07
  • Version:001
  • Language:en

Define Count Method As countFolder On Module Listbox

"Count Method" should usually be defined as "countFolder" for listboxes used to view modules.

countFolder allows to show the number of document in a folder efficiently by using the ERP5 SQL Catalog. This result is also used to limit the results to retrieve using the list method. The method used to count documents in a module must use SQL for scalability.

Good Example:

Bad Example: