Commit dee6fb77 authored by Aurel's avatar Aurel

fix typo in error message

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24486 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 63ef3499
...@@ -81,7 +81,7 @@ if bank_account.getParentValue().getPortalType()== \'Person\':\n ...@@ -81,7 +81,7 @@ if bank_account.getParentValue().getPortalType()== \'Person\':\n
for obj in bank_account.getParentValue().objectValues():\n for obj in bank_account.getParentValue().objectValues():\n
if obj.getPortalType() == "Bank Account" and obj.getValidationState() not in (\'draft\', \'closed\') \\\n if obj.getPortalType() == "Bank Account" and obj.getValidationState() not in (\'draft\', \'closed\') \\\n
and obj.getSource() == bank_account.getSource():\n and obj.getSource() == bank_account.getSource():\n
raise ValidationFailed, "You cannot open two bank account for the same person in the same site"\n raise ValidationFailed, "You cannot open two bank accounts for the same person on the same site"\n
\n \n
valid_state = ["valid", "being_closed", "validating_closing",\n valid_state = ["valid", "being_closed", "validating_closing",\n
"being_modified", "validating_modification", "closed"]\n "being_modified", "validating_modification", "closed"]\n
......
459 460
\ 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