Commit 7d6d5c7d authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

erp5_core: Base_getWorkflowHistoryItemList get object reference instead ot id...

erp5_core: Base_getWorkflowHistoryItemList get object reference instead ot id to generate workflow history.
parent 22d5ee18
......@@ -111,7 +111,7 @@ for workflow_item in workflow_item_list:\n
key = key[len(compatibility_name):]\n
if key == wf_state_var: \n
# Store locally the id of state, usefull for merging action and transition\n
state_id = wf_states.get(value, marker) and wf_states[value].id\n
state_id = wf_states.get(value, marker) and wf_states[value].getReference()\n
o.setProperty(\'state_id\', state_id)\n
\n
key = \'state\'\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