Commit 22ad326e authored by wenjie.zheng's avatar wenjie.zheng

erp5_workflow:WorkflowTool_convertWorkflow, workflow reassignment in a single function.

parent 25db6eb9
...@@ -87,6 +87,7 @@ for workflow in selected_workflow_list:\n ...@@ -87,6 +87,7 @@ for workflow in selected_workflow_list:\n
\n \n
# conversion and reassignment\n # conversion and reassignment\n
new_workflow = context.dc_workflow_asERP5Object(context, workflow, temp=0)\n new_workflow = context.dc_workflow_asERP5Object(context, workflow, temp=0)\n
context.reassignWorkflow(workflow.id)\n
selected_workflow_id_list.append(workflow.id)\n selected_workflow_id_list.append(workflow.id)\n
\n \n
if batch_mode:\n if batch_mode:\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