Commit 06822633 authored by wenjie.zheng's avatar wenjie.zheng

erp5_workflow: WorkflowTool_convertWorkflow add reassignWorkflowWithoutConversion.

parent e2d528db
......@@ -87,8 +87,11 @@ for workflow in selected_workflow_list:\n
\n
# conversion and reassignment\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
context.reassignWorkflow(new_workflow.getId())\n
selected_workflow_id_list.append(new_workflow.getId())\n
\n
# Synchronize _chain_by_type to TypeWorkflowList\n
context.reassignWorkflowWithoutConversion()\n
\n
if batch_mode:\n
return\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