Most Powerful Open Source ERP

Developer Documentation

Never call changeState of an external gadget

Do not use DOM id attribute in your gadget

Do not use Promise.prototype.then()

Do not use global variables in a gadget

Use JSON compatible arguments

Always check the returned value of a method

Guideline Live Tests Should Not Be Run On Production

Create and remove data is dangerous in production.

Guideline Sessions Are Not Allowed

Sessions are incompatible with clustering.

Guideline Tab Title Is Singular Capitalized And Space Separated

For consistent naming patterns.

Guideline Page Template Uses Method Naming Conventions

As page templates are used like scripts.

Guideline Listbox Method Is Named Using Module Type And Portal Type List

For consistent naming in forms.

Guideline Metadata Is Last Tab For Managers

For consistent appearance.

Guideline Method In Listbox Is Prefixed With Listbox Section

To provide understandable context.

Guideline Interface Name Uses Camelcase

To ensure consistent naming patterns.

Guideline Assign Properties To Zope Objects Only

For consistent patterns across ERP5.

Guideline Method Name Is Prefixed With Portal Or Meta Type, Class Or Interface

Context must be clear.

Guideline Validator Method Is Prefixed With Validator

To provide context.

Guideline User Interface Must Use Uppercase Abbreviations

For consistent naming patterns.

Guideline ZSQL Method Is Prefixed With Z In Portal Skin

For consistent naming.

Guideline Form Name Uses Lowercase View After Portal Type

For consistent naming.