Commit 759813b1 authored by wenjie.zheng's avatar wenjie.zheng

erp5_forge: GlossaryModule_getTermDictListFromWorkflow compatibility modification.

parent 1a37846b
......@@ -70,7 +70,7 @@ for bt_id in template_list:\n
term_dict[(wf_id, bt_id, wf.title, wf.description)] = wf_id\n
for state_id, state in wf.getStateValueList().items():\n
term_dict[(state_id, bt_id, state.title, state.description)] = wf_id\n
for trans_id, trans in wf.transitions.items():\n
for trans_id, trans in wf.getTransitionValueList().items():\n
term_dict[(trans_id, bt_id, trans.title, trans.description)] = wf_id\n
if trans.trigger_type == 1 and trans.actbox_name: # 1 == TRIGGER_USER_ACTION\n
term_dict[(\'%s_actbox_name\' % trans_id, bt_id, trans.actbox_name, \'\')] = wf_id\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