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 @@ ...@@ -68,7 +68,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <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> </string> </value>
</item> </item>
<item> <item>
......
...@@ -101,7 +101,7 @@ elif state == "confirmed":\n ...@@ -101,7 +101,7 @@ elif state == "confirmed":\n
msg = Message(domain = "ui", message="Returned value different from exchanged value.")\n msg = Message(domain = "ui", message="Returned value different from exchanged value.")\n
raise ValidationFailed, (msg,)\n raise ValidationFailed, (msg,)\n
# check we are in an opened accounting day\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 date = ob.getStartDate()\n
if not ob.Baobab_checkCounterDateOpen(site=vault, date=date):\n if not ob.Baobab_checkCounterDateOpen(site=vault, date=date):\n
msg = Message(domain = "ui", message="Counter Date is not opened")\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