Commit b2110252 authored by Aurel's avatar Aurel

fix condition

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24565 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 14b38015
...@@ -101,7 +101,7 @@ if "auxiliaire" in vault:\n ...@@ -101,7 +101,7 @@ if "auxiliaire" in vault:\n
site_country == source_country:\n site_country == source_country:\n
msg = Message(domain="ui", message="You must select an agency from a foreign country.") \n msg = Message(domain="ui", message="You must select an agency from a foreign country.") \n
raise ValidationFailed, (msg,)\n raise ValidationFailed, (msg,)\n
elif site_country == source_country: \n elif site_country != source_country: \n
msg = Message(domain="ui", message="You must select an agency from the same country.") \n msg = Message(domain="ui", message="You must select an agency from the same country.") \n
raise ValidationFailed, (msg,)\n raise ValidationFailed, (msg,)\n
\n \n
......
647 648
\ 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