diff --git a/addons/account/account.py b/addons/account/account.py index 2bbc3ffe7d2..212aaee26d5 100755 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -430,7 +430,7 @@ class account_account(osv.osv): _constraints = [ (_check_recursion, 'Error ! You can not create recursive accounts.', ['parent_id']), - (_check_type, 'You cannot create an account! \nMake sure if the account has children then it should be type "View"! ', ['type']), + (_check_type, 'Configuration Error! \nYou cannot define children to an account with internal type different of "View"! ', ['type']), ] _sql_constraints = [ ('code_company_uniq', 'unique (code,company_id)', 'The code of the account must be unique per company !') @@ -2317,7 +2317,7 @@ class account_account_template(osv.osv): _check_recursion = check_cycle _constraints = [ (_check_recursion, 'Error ! You can not create recursive account templates.', ['parent_id']), - (_check_type, 'You cannot create an account template! \nMake sure if the account template has parent then it should be type "View"! ', ['type']), + (_check_type, 'Configuration Error! \nYou cannot define children to an account with internal type different of "View"! ', ['type']), ] diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml index 9cb72780ff1..48c817ff58f 100755 --- a/addons/account/account_invoice_view.xml +++ b/addons/account/account_invoice_view.xml @@ -310,7 +310,7 @@