Commit c4271961 authored by Vincent Pelletier's avatar Vincent Pelletier

Exchanged mutilated banknotes must be kept in HQ counter vault, just like what happen on agencies.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18938 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 26f5a036
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>mutilated_banknote = context.getParentValue()\n <value> <string>mutilated_banknote = context.getParentValue()\n
if \'siege\' not in mutilated_banknote.getSourceTrade(\'\') and mutilated_banknote.getSimulationState() in (\'finished\', \'delivered\'):\n if mutilated_banknote.getSimulationState() in (\'finished\', \'delivered\', \'archived\'):\n
return "%s/encaisse_des_billets_et_monnaies/entrante" % (mutilated_banknote.getSource(), )\n return "%s/encaisse_des_billets_et_monnaies/entrante" % (mutilated_banknote.getSource(), )\n
return None\n return None\n
</string> </value> </string> </value>
......
573 574
\ 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