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

erp5_workflow: change the name of an attribute in convertWorkflow script which...

erp5_workflow: change the name of an attribute in convertWorkflow script which cause the failure of converted workflow reassignment.
parent 4a6b0cff
...@@ -97,7 +97,7 @@ for dc_wf in selected_wf_list:\n ...@@ -97,7 +97,7 @@ for dc_wf in selected_wf_list:\n
type_erp5workflow_list = ptype.getTypeERP5WorkflowList()\n type_erp5workflow_list = ptype.getTypeERP5WorkflowList()\n
if workflow.getId() not in type_erp5workflow_list:\n if workflow.getId() not in type_erp5workflow_list:\n
type_erp5workflow_list.append(workflow.getId())\n type_erp5workflow_list.append(workflow.getId())\n
ptype.edit(type_erp5workflow_list=type_erp5workflow_list)\n ptype.erp5workflow_list = type_erp5workflow_list\n
\n \n
return RESPONSE.redirect("%s/view?portal_status_message=Workflow+%s+converted"\n return RESPONSE.redirect("%s/view?portal_status_message=Workflow+%s+converted"\n
%(context.absolute_url(), \',+\'.join(selected_wf_id_list)))\n %(context.absolute_url(), \',+\'.join(selected_wf_id_list)))\n
......
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