[Erp5-dev] bootstrap
Yoshinori Okuji
yo at nexedi.com
Mon Oct 10 15:39:29 CEST 2005
I write this mail, because I found a serious mistake in erp5_core.
The business template erp5_core is very special, because it has a bootstrap
issue. Since erp5_core itself is a business template, erp5_core may not
manage meta information about business templates.
The bootstrap of ERP5 is done by ERP5Generator in ERP5/ERP5Site.py. This short
Python code deals with the most difficult part to initialize the minimal ERP5
Site. It adds the portal type Business Template by using the factory type
information in ERP5/Document/BusinessTemplate.py, and imports two workflows
related to Business Template. After these, it can add erp5_core.
Since erp5_core depends on the portal type and the workflows, you must not
modify them by erp5_core itself. If you do this, the functionality of
Business Template malfunctions. When you want to modify them, you must modify
the factory type information in the document, and export the workflows in XML
format to the directory bootstrap in ERP5.
YO
--
Yoshinori Okuji, Nexedi Research Director
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Free / Open Source ERP Software for small and medium companies
http://www.erp5.org
Storever: OpenBrick, WiFi infrastructure, notebooks and servers
http://www.storever.com
More information about the Erp5-dev
mailing list