Most Powerful Open Source ERP

Developer Documentation

Guideline Form Name Uses Lowercase View After Portal Type

For consistent naming.

Guideline Report Name Uses Portal Type Followed By View Report Name And Report

For consistent naming.

Guideline Form Report Dialog Is Postfixed With Report

For consistent naming

Guideline Listbox Selection Name Must Follow module_name_selection Pattern

It is used to find parameters in listbox.

Guideline Listbox Must Only Be Put In Form Bottom Group

This is the default view of a module.

Guideline The Listbox Method Should Be Defined As SearchFolder To View Modules

To use portal catalog to display module content.

Guideline A Document Form Uses The form_view Page Template

For consistency across all forms.

Guideline Add Column Portal Type If Listbox Contains Multiple Types

The listbox title will not display all types.

Guideline Place Simulation And Validation Fields At Bottom Of Right Group

Form consistency.

Guideline Hide Listbox Editable Fields On The Form

To ensure they are not rendered.

Guideline Set Listbox Action To List Action On Document Form Listboxes

To allow clicking on listbox title.

Guideline Set Listbox Title To Plural Of Portal Type Title If Applicable

Listbox title should reflect portal types displayed.

Guideline Set Document Form Ids To PortalType_view

This is the naming convention.

Guideline Forms Must Use Left, Right, Center, Bottom And Hidden Groups

To allow consistent form rendering.

Guideline ListField Or MultListField For Categories Must Use Item List Method

Preserve consistency in pop-up field rendering.

Guideline Use Method Post And UTF-8 Encoding On Forms

To name and declare forms consistently.

Guideline Set Form Title To What Is Displayed

For form consistency.

Guideline Never Show Or Make User Work With Document Id

Expose title and reference only.

Guideline Use Correct Names For Simulation And Validation Titles

For consistent titles across ERP5.

Guideline Do Not Test Required In Field View Form

This should be done in constraints.