Commit 82109af6 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

InteractionWorkflow.py: remove ERP5 prefix.

parent c991eaa3
...@@ -91,7 +91,7 @@ class InteractionWorkflow(IdAsReferenceMixin("interactionworkflow_", "prefix"), ...@@ -91,7 +91,7 @@ class InteractionWorkflow(IdAsReferenceMixin("interactionworkflow_", "prefix"),
wf_tool = getToolByName(self, 'portal_workflow') wf_tool = getToolByName(self, 'portal_workflow')
types_tool = getToolByName(self, 'portal_types') types_tool = getToolByName(self, 'portal_types')
for ptype in types_tool.objectValues(): for ptype in types_tool.objectValues():
if self.getId() in ptype.getTypeERP5WorkflowList(): if self.getId() in ptype.getTypeWorkflowList():
chained_ptype_list.append(ptype.getId()) chained_ptype_list.append(ptype.getId())
return chained_ptype_list return chained_ptype_list
......
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