Commit a6a5dff1 authored by Aurel's avatar Aurel

fix category for mutilated banknotes

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10753 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e85c6dbf
......@@ -68,7 +68,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>return "%s/surface/caisse_courante/encaisse_des_billets_mutiles" %(context.getSource(),)\n
<value> <string>return "%s/surface/caisse_courante/billets_mutiles" %(context.getSource(),)\n
</string> </value>
</item>
<item>
......
......@@ -101,7 +101,7 @@ elif state == "confirmed":\n
msg = Message(domain = "ui", message="Returned value different from exchanged value.")\n
raise ValidationFailed, (msg,)\n
# check we are in an opened accounting day\n
vault = ob.getSource()\n
vault = \'%s/surface/caise_courante/billets_mutiles\' %(ob.getSource(),)\n
date = ob.getStartDate()\n
if not ob.Baobab_checkCounterDateOpen(site=vault, date=date):\n
msg = Message(domain = "ui", message="Counter Date is not opened")\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