Commit 00f08571 authored by wenjie.zheng's avatar wenjie.zheng

Applying ERP5 workflow to Person Module

parent f2fc4175
......@@ -20,7 +20,6 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
import zope.interface
from Products.ERP5Type.Globals import InitializeClass
from AccessControl import ClassSecurityInfo, getSecurityManager
......@@ -417,6 +416,9 @@ class ERP5TypeInformation(XMLObject,
for workflow in workflow_tool.getWorkflowsFor(ob):
workflow.notifyCreated(ob)
for erp5_workflow in self.getErp5WorkflowValueList():
erp5_workflow.initializeDocument(ob)
if not temp_object:
init_script = self.getTypeInitScriptId()
if init_script:
......
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