Commit 6fd24d7b authored by Aurel's avatar Aurel

also check the vault in condition

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24577 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 10cbfdfb
......@@ -101,7 +101,8 @@ if "principale" not in vault:\n
site_country == source_country:\n
msg = Message(domain="ui", message="You must select an agency from a foreign country.") \n
raise ValidationFailed, (msg,)\n
elif site_country != source_country: \n
elif \'encaisse_des_billets_retires_de_la_circulation\' in vault and \\\n
site_country != source_country: \n
msg = Message(domain="ui", message="You must select an agency from the same country.") \n
raise ValidationFailed, (msg,)\n
\n
......
650
\ No newline at end of file
651
\ 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