Commit 1aaf6813 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

erp5_core: in Base_getWorkflowHistoryItemList, deploy getReference for transition.

parent b28c7ed2
...@@ -128,7 +128,7 @@ for workflow_item in workflow_item_list:\n ...@@ -128,7 +128,7 @@ for workflow_item in workflow_item_list:\n
if display:\n if display:\n
value = wf_transitions.get(value, marker) and (wf_transitions[value].title or wf_transitions[value].actbox_name) or value\n value = wf_transitions.get(value, marker) and (wf_transitions[value].title or wf_transitions[value].actbox_name) or value\n
else:\n else:\n
value = wf_transitions.get(value, marker) and (wf_transitions[value].id or wf_transitions[value].actbox_name) or value\n value = wf_transitions.get(value, marker) and (wf_transitions[value].getReference() or wf_transitions[value].actbox_name) or value\n
if display:\n if display:\n
if key == \'error_message\' and same_type(value, \'\'):\n if key == \'error_message\' and same_type(value, \'\'):\n
value = context.Localizer.erp5_ui.gettext(value) \n value = context.Localizer.erp5_ui.gettext(value) \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