Commit 5c97fbbd authored by Jérome Perrin's avatar Jérome Perrin

typos in constraints IDs


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18263 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f1325b43
......@@ -44,14 +44,14 @@ class Account:
_categories = ( 'account_type', 'gap', 'financial_section', )
_constraints = (
{ 'id': 'account_type_existance',
{ 'id': 'account_type_category_existence',
'description': 'Account Type must be set',
'type': 'CategoryExistence',
'account_type' : 1,
'condition' : 'python: object.getValidationState() not'
' in ("invalidated", "deleted")'
},
{ 'id': 'gap_existance',
{ 'id': 'gap_category_existence',
'description': 'GAP must be set',
'type': 'CategoryExistence',
'gap' : 1,
......
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