diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/IncomingMutilatedBanknoteLine_getBaobabDestination.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/IncomingMutilatedBanknoteLine_getBaobabDestination.xml index 4ff43d07b90aa710987e4c71ca3e691508e4bff1..784c81251a2d648ab04f36316aa2b3bd8e006719 100644 --- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/IncomingMutilatedBanknoteLine_getBaobabDestination.xml +++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/IncomingMutilatedBanknoteLine_getBaobabDestination.xml @@ -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> diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/mutilated_banknote_workflow/scripts/CheckTransitionDeliver.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/mutilated_banknote_workflow/scripts/CheckTransitionDeliver.xml index c6c589735605f75c47cc07e3b5d00d0487253b24..1ae566289fd69a289734bc3db4fb7fcf77949681 100644 --- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/mutilated_banknote_workflow/scripts/CheckTransitionDeliver.xml +++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/mutilated_banknote_workflow/scripts/CheckTransitionDeliver.xml @@ -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