[IMP] account : string changed

bzr revid: rpr@tinyerp.com-20121106092401-slfgkto8kvrv2o4v
This commit is contained in:
Rajesh Prajapati (OpenERP) 2012-11-06 14:54:01 +05:30
parent 76a5ceef15
commit 5ead513bf2
1 changed files with 1 additions and 1 deletions

View File

@ -552,7 +552,7 @@ class account_account(osv.osv):
(_check_recursion, 'Error!\nYou cannot create recursive accounts.', ['parent_id']),
(_check_type, 'Configuration Error!\nYou cannot define children to an account with internal type different of "View".', ['type']),
(_check_account_type, 'Configuration Error!\nYou cannot select an account type with a deferral method different of "Unreconciled" for accounts with internal type "Payable/Receivable".', ['user_type','type']),
(_check_company_account, 'You cannot create an account which has parent account of different company.', ['parent_id']),
(_check_company_account, 'Error!\nYou cannot create an account which has parent account of different company.', ['parent_id']),
]
_sql_constraints = [
('code_company_uniq', 'unique (code,company_id)', 'The code of the account must be unique per company !')