From e0a95e80c1b3ccf79bd157a146ad8c519d299da3 Mon Sep 17 00:00:00 2001 From: "ARA (OpenERP)" Date: Wed, 9 Feb 2011 17:35:35 +0530 Subject: [PATCH] [FIX] Multi-Company Environment :Configuration of consolidated type of account is not possible due to the _check_type constraints lp bug: https://launchpad.net/bugs/715695 fixed bzr revid: ara@tinyerp.com-20110209120535-o3htlw38zves04fm --- addons/account/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account.py b/addons/account/account.py index b9cc9473579..602b3679ed4 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -424,7 +424,7 @@ class account_account(osv.osv): context = {} accounts = self.browse(cr, uid, ids, context=context) for account in accounts: - if account.child_id and account.type != 'view': + if account.child_id and account.type not in ('view', 'consolidation'): return False return True