Commit 97f281a1 authored by Aurel's avatar Aurel

get workflow history on document not line

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10941 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9630afdb
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<value> <string># if sent to headquarter, line must not exist\n <value> <string># if sent to headquarter, line must not exist\n
if not \'siege\' in context.getSource():\n if not \'siege\' in context.getSource():\n
# if we sent to headquarter, we have order the document at one time\n # if we sent to headquarter, we have order the document at one time\n
for workflow_item in context.Base_getWorkflowHistoryItemList(\'mutilated_banknote_workflow\',display=0):\n for workflow_item in context.getParentValue().Base_getWorkflowHistoryItemList(\'mutilated_banknote_workflow\',display=0):\n
if workflow_item.getProperty(\'action\')==\'order_action\':\n if workflow_item.getProperty(\'action\')==\'order_action\':\n
return None\n return None\n
\n \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