Commit cf0eea14 authored by Aurel's avatar Aurel

give same_source parameter when calling checkInventory script

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10802 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9a849f50
......@@ -110,7 +110,7 @@ elif state == "confirmed":\n
msg = Message(domain = "ui", message="Counter Date is not opened")\n
raise ValidationFailed, (msg,)\n
# now check balance\n
resource = ob.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Outgoing Mutilated Banknote Line\')\n
resource = ob.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Outgoing Mutilated Banknote Line\', same_source=1)\n
if resource == 2:\n
msg = Message(domain="ui", message="No Returned banknote defined.")\n
raise ValidationFailed, (msg,)\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