diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_destruction_workflow/scripts/validateVaultBalance.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_destruction_workflow/scripts/validateVaultBalance.xml index 1d560d49dc45de2381a2aed6c6476ee549d5c16d..759db58c463fd08ef3fc1cea14f32bd031e4f5bd 100644 --- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_destruction_workflow/scripts/validateVaultBalance.xml +++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_destruction_workflow/scripts/validateVaultBalance.xml @@ -122,7 +122,7 @@ elif "principale" not in vault: \n if site in (None, ""):\n msg = Message(domain="ui", message="You must select a foreign agency.")\n raise ValidationFailed, (msg,)\n - source_country_site = transaction.Baobab_getVaultSite(vault)\n + source_country_site = transaction.Baobab_getVaultSite(source_object)\n source_country = transaction.Baobab_getCountryForSite(source_country_site)\n site_country = transaction.Baobab_getCountryForSite(site)\n if \'encaisse_des_externes\' in vault and \\\n diff --git a/bt5/erp5_banking_cash/bt/revision b/bt5/erp5_banking_cash/bt/revision index 06834d4380c79b7a19421ace4adf19483fd318f3..e59f0632ab19b456e3df415e223418bb600b8ab4 100644 --- a/bt5/erp5_banking_cash/bt/revision +++ b/bt5/erp5_banking_cash/bt/revision @@ -1 +1 @@ -657 \ No newline at end of file +658 \ No newline at end of file