Commit 10cbfdfb authored by Aurel's avatar Aurel

as auxiliaire can be found twice in path, invert the condition

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24576 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 59220799
......@@ -90,7 +90,7 @@ if \'encaisse_des_externes\' in vault:\n
msg = Message(domain="ui", message="Invalid Foreign Agency.")\n
raise ValidationFailed, (msg,)\n
\n
if "auxiliaire" in vault:\n
if "principale" not in vault:\n
site = transaction.getSourceSection()\n
if site in (None, ""):\n
msg = Message(domain="ui", message="You must select a foreign agency.")\n
......
648
\ No newline at end of file
650
\ 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