Most Powerful Open Source ERP

Developer Documentation

SlapOS Node Request Re6stnet token

SlapOS Node Get Re6stnet token

Nexedi Extended Guidelines for Testing

document providing internal info on infrastructure and how to write/run tests.

Guideline Never Use GetPath To Retrieve A Url In ERP5

Absolute and physical path may differ.

Guideline Never Use ZODB Temp Folder Across Multiple Requests

Incompatible with ZEO and clustering.

Guideline Never Store Calculation Result In Python Property

Only store original content.

Guideline Sessions Are Not Allowed

Sessions are incompatible with clustering.

Guideline Never Use Aq_parent To Get Document Parent In Python

Use getParentValue()

Guideline Never Access State_change Object In ERP5 Workflow Scripts

Use state_change["attribute_name"].

Guideline Never Modify 100+ Objects In A Transaction

Use activities instead.

Guideline Never Name A Base Category The Same As A Property In ERP5

They form a global vocabulary.

Guideline Cookies Are Not Allowed

Cookies have limitations and should not be used in ERP5.

Guideline Never Write To ZODB If Not Required

ZODB is an incremental storage and every write creates more data.

Guideline Never Hardcode Interactions

Use interaction workflows instead.

Guideline Never Override Python Builtin Names

Debugging will be much harder.

Guideline Never Use ContentValues or ObjectValues On More Than 50 Documents In ZODB

Folders may contain million of documents.

Guideline Never Use Reindex In ERP5

Reindexing is for debugging only.

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.