Commit fb8b3986 authored by Jérome Perrin's avatar Jérome Perrin

When checking transaction validity, also ignore transactions in 'rejected' state

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16499 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 801feacc
...@@ -78,7 +78,7 @@ portal = period.getPortalObject()\n ...@@ -78,7 +78,7 @@ portal = period.getPortalObject()\n
N_ = lambda msg, **kw: Message(\'erp5_ui\', msg, **kw)\n N_ = lambda msg, **kw: Message(\'erp5_ui\', msg, **kw)\n
\n \n
\n \n
valid_simulation_state_list = [\'cancelled\', \'delivered\', \'delivered\']\n valid_simulation_state_list = [\'cancelled\', \'delivered\', \'deleted\', \'rejected\']\n
all_state_list = [x[1] for x in\n all_state_list = [x[1] for x in\n
portal.Base_getTranslatedWorkflowStateItemList(wf_id=\'accounting_workflow\')]\n portal.Base_getTranslatedWorkflowStateItemList(wf_id=\'accounting_workflow\')]\n
invalid_simulation_state_list = [state for state in all_state_list\n invalid_simulation_state_list = [state for state in all_state_list\n
......
408 409
\ 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