Commit 095b5648 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Better handling of circular reference


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@248 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 22bc6524
......@@ -41,17 +41,20 @@ document_classes = generateInitFiles(this_module, globals())
# Update ERP5 Globals
from Products.ERP5Type.Utils import initializeProduct, updateGlobals
# Define object classes and tools
import ActivityTool, ActiveProcess
object_classes = (ActiveProcess.ActiveProcess, )
portal_tools = (ActivityTool.ActivityTool,)
content_classes = ()
content_constructors = ()
# Finish installation
def initialize( context ):
# Define object classes and tools
import ActivityTool, ActiveProcess
object_classes = (ActiveProcess.ActiveProcess, )
portal_tools = (ActivityTool.ActivityTool,)
content_classes = ()
content_constructors = ()
initializeProduct(context, this_module, globals(),
object_classes = object_classes,
portal_tools = portal_tools,
content_constructors = content_constructors,
content_classes = content_classes)
# This is used by a script (external method) that can be run
# to set up CMFActivity in an existing CMF Site instance.
cmfactivity_globals = globals()
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