[Erp5-report] r27445 - /erp5/trunk/products/ERP5Type/__init__.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jun 8 18:16:28 CEST 2009
Author: nicolas
Date: Mon Jun 8 18:16:28 2009
New Revision: 27445
URL: http://svn.erp5.org?rev=27445&view=rev
Log:
Initialise Product Documents after PropertySheet as they can be used by these Documents.
Modified:
erp5/trunk/products/ERP5Type/__init__.py
Modified: erp5/trunk/products/ERP5Type/__init__.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/__init__.py?rev=27445&r1=27444&r2=27445&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/__init__.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/__init__.py [utf8] Mon Jun 8 18:16:28 2009
@@ -87,15 +87,15 @@
portal_tools = portal_tools,
content_constructors = content_constructors,
content_classes = content_classes)
- # We should register product classes at some point
- from Products.ERP5Type.InitGenerator import initializeProductDocumentRegistry
- initializeProductDocumentRegistry()
# We should register local constraints at some point
from Products.ERP5Type.Utils import initializeLocalConstraintRegistry
initializeLocalConstraintRegistry()
# We should register local property sheets at some point
from Products.ERP5Type.Utils import initializeLocalPropertySheetRegistry
initializeLocalPropertySheetRegistry()
+ # We should register product classes at some point
+ from Products.ERP5Type.InitGenerator import initializeProductDocumentRegistry
+ initializeProductDocumentRegistry()
# We should register local classes at some point
from Products.ERP5Type.Utils import initializeLocalDocumentRegistry
initializeLocalDocumentRegistry()
More information about the Erp5-report
mailing list