Commit 76d96393 authored by Nicolas Delaby's avatar Nicolas Delaby

Initialise Product Documents after PropertySheet as they can be used by these Documents.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27445 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7376cd3e
......@@ -87,15 +87,15 @@ def initialize( context ):
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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment