Commit 342e4794 authored by Nicolas Delaby's avatar Nicolas Delaby

Store action_id on items returned by Base_getWorkflowHistoryItemList in order...

Store action_id on items returned by Base_getWorkflowHistoryItemList in order to support merging of action and transition.
reviewed by romain

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31307 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 54f41a72
...@@ -117,6 +117,8 @@ for workflow_item in workflow_item_list:\n ...@@ -117,6 +117,8 @@ for workflow_item in workflow_item_list:\n
else:\n else:\n
value = wf_states.get(value, marker) and wf_states[value].id\n value = wf_states.get(value, marker) and wf_states[value].id\n
if key == \'action\':\n if key == \'action\':\n
# Store locally the id of action, usefull for merging action and transition\n
o.setProperty(\'action_id\', value)\n
if value != \'\' and value is not None:\n if value != \'\' and value is not None:\n
if value == "\'edit\'":\n if value == "\'edit\'":\n
value = "edit"\n value = "edit"\n
......
1399 1403
\ No newline at end of file \ No newline at end of file
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