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

erp5_workflow: compare converted workflow XML with DC workflow XML before workflow reassignment."

parent ebdb0afa
...@@ -86,6 +86,7 @@ for dc_wf in selected_wf_list:\n ...@@ -86,6 +86,7 @@ for dc_wf in selected_wf_list:\n
# conversion\n # conversion\n
workflow = context.dc_workflow_asERP5Object(context, dc_wf, temp=0)\n workflow = context.dc_workflow_asERP5Object(context, dc_wf, temp=0)\n
selected_wf_id_list.append(dc_wf.id)\n selected_wf_id_list.append(dc_wf.id)\n
assert workflow.showAsXML() == dc_wf.showAsXML()\n
\n \n
type_workflow_dict = context.getChainsByType()\n type_workflow_dict = context.getChainsByType()\n
for ptype_id in type_workflow_dict:\n for ptype_id in type_workflow_dict:\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