Commit 638fc1a5 authored by Aurel's avatar Aurel

retrieve the site from the right variable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27058 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 96545cfb
...@@ -122,7 +122,7 @@ elif "principale" not in vault: \n ...@@ -122,7 +122,7 @@ elif "principale" not in vault: \n
if site in (None, ""):\n if site in (None, ""):\n
msg = Message(domain="ui", message="You must select a foreign agency.")\n msg = Message(domain="ui", message="You must select a foreign agency.")\n
raise ValidationFailed, (msg,)\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 source_country = transaction.Baobab_getCountryForSite(source_country_site)\n
site_country = transaction.Baobab_getCountryForSite(site)\n site_country = transaction.Baobab_getCountryForSite(site)\n
if \'encaisse_des_externes\' in vault and \\\n if \'encaisse_des_externes\' in vault and \\\n
......
657 658
\ No newline at end of file \ No newline at end of file
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