Commit 8acdcb4d authored by iv's avatar iv

ERP5Workflow: fix broken list name

parent f5687fa8
...@@ -575,7 +575,7 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool): ...@@ -575,7 +575,7 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
self.delTypeCBT(ptype_id, workflow_id) self.delTypeCBT(ptype_id, workflow_id)
# 2. assign ERP5 Workflow to portal type: # 2. assign ERP5 Workflow to portal type:
type_workflow_list = ptype.getTypeWorkflowList() type_workflow_list = ptype.getTypeWorkflowList()
if workflow_id not in workflow_list: if workflow_id not in type_workflow_list:
ptype.setTypeWorkflowList( ptype.setTypeWorkflowList(
type_workflow_list + [workflow_id] type_workflow_list + [workflow_id]
) )
......
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