Commit fea0ff01 authored by Aurel's avatar Aurel

fix source vault for outgoing line

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10761 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fec75c8c
...@@ -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 = \'%s/surface/caisse_courante/billets_mutiles\' %(ob.getSource(),)\n vault = \'%s/surface/caisse_courante/encaisse_des_billets_et_monnaies\' %(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