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 ...@@ -41,7 +41,7 @@ document_classes = generateInitFiles(this_module, globals(), generate_document=0
# Import rest of the code and finish installation # Import rest of the code and finish installation
from Products.ERP5Type.Utils import initializeProduct, initializeLocalDocumentRegistry from Products.ERP5Type.Utils import initializeProduct, initializeLocalDocumentRegistry
import Interface, PropertySheet, ZopePatch, StateChangeInfoPatch, \ import Interface, PropertySheet, ZopePatch, StateChangeInfoPatch, \
CMFCorePatch CMFCorePatch, FormulatorPatch
def initialize( context ): def initialize( context ):
# Import Product Components # Import Product Components
...@@ -65,3 +65,7 @@ def initialize( context ): ...@@ -65,3 +65,7 @@ def initialize( context ):
from Products.ERP5Type.InitGenerator import initializeProductDocumentRegistry from Products.ERP5Type.InitGenerator import initializeProductDocumentRegistry
initializeProductDocumentRegistry() initializeProductDocumentRegistry()
initializeLocalDocumentRegistry() 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