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

erp5_forge: getDestinationReferenceList compatibility modification.

parent 6ba45403
......@@ -75,7 +75,7 @@ for i in kw.keys():\n
wf_item.setProperties(term.getTitle(), description=term.getDescription(), manager_bypass=wf_item.manager_bypass)\n
elif wf_item.meta_type == "Workflow State":\n
wf_item.setProperties(term.getTitle(), description=term.getDescription(),\n
transitions=wf_item.transitions, type_list=wf_item.type_list)\n
transitions=wf_item.getDestinationReferenceList(), type_list=wf_item.type_list)\n
else: # wf_item.meta_type == "Workflow Transition"\n
guard = getattr(wf_item, \'guard\', None)\n
if not is_action:\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