Commit 7de5c5cd authored by Yoshinori Okuji's avatar Yoshinori Okuji

Load FormulatorPatch, and allow Products.ERP5Type.Cache to be loaded by scripts.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1056 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f3dcc9a9
......@@ -41,7 +41,7 @@ document_classes = generateInitFiles(this_module, globals(), generate_document=0
# Import rest of the code and finish installation
from Products.ERP5Type.Utils import initializeProduct, initializeLocalDocumentRegistry
import Interface, PropertySheet, ZopePatch, StateChangeInfoPatch, \
CMFCorePatch
CMFCorePatch, FormulatorPatch
def initialize( context ):
# Import Product Components
......@@ -64,4 +64,8 @@ def initialize( context ):
# We should register local classes at some point
from Products.ERP5Type.InitGenerator import initializeProductDocumentRegistry
initializeProductDocumentRegistry()
initializeLocalDocumentRegistry()
\ No newline at end of file
initializeLocalDocumentRegistry()
from AccessControl.SecurityInfo import allow_module
allow_module('Products.ERP5Type.Cache')
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