Commit 6fd9a7de authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

Workflow.py: remove ERP5 prefix.

parent 051d586b
...@@ -367,7 +367,7 @@ class Workflow(IdAsReferenceMixin("workflow_", "prefix"), XMLObject): ...@@ -367,7 +367,7 @@ class Workflow(IdAsReferenceMixin("workflow_", "prefix"), XMLObject):
workflow_tool = portal.portal_workflow workflow_tool = portal.portal_workflow
result = [] result = []
append = result.append append = result.append
for workflow_id in info.object.getTypeInfo().getTypeERP5WorkflowList(): for workflow_id in info.object.getTypeInfo().getTypeWorkflowList():
append(info.object.getTypeInfo().getId()) append(info.object.getTypeInfo().getId())
return result return result
......
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