Commit 434f3145 authored by Jérome Perrin's avatar Jérome Perrin

Also select movements in started state

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21598 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8b173d92
...@@ -72,7 +72,7 @@ search_kw=dict( \n ...@@ -72,7 +72,7 @@ search_kw=dict( \n
parent_specialise_portal_type=\'Invoice Transaction Rule\',\n parent_specialise_portal_type=\'Invoice Transaction Rule\',\n
explanation_portal_type=[\'Pay Sheet Transaction\'],\n explanation_portal_type=[\'Pay Sheet Transaction\'],\n
portal_type=\'Simulation Movement\',\n portal_type=\'Simulation Movement\',\n
grand_parent_simulation_state=[\'confirmed\', ])\n grand_parent_simulation_state=[\'confirmed\', \'started\'])\n
\n \n
if explanation_uid:\n if explanation_uid:\n
search_kw[\'explanation_uid\'] = explanation_uid\n search_kw[\'explanation_uid\'] = explanation_uid\n
...@@ -91,7 +91,7 @@ for movement in context.InvoiceTransaction_zSelectMovement(**kw) :\n ...@@ -91,7 +91,7 @@ for movement in context.InvoiceTransaction_zSelectMovement(**kw) :\n
LOG("simulation movement %s should not have been selected !" % movement.getPath())\n LOG("simulation movement %s should not have been selected !" % movement.getPath())\n
\n \n
if DEBUG :\n if DEBUG :\n
LOG("selected movement_list : %s"%movement_list)\n LOG("selected movement_list : %s" % movement_list)\n
\n \n
return movement_list\n return movement_list\n
</string> </value> </string> </value>
......
286 287
\ 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