diff --git a/addons/account/account.py b/addons/account/account.py index 511997ecc88..df27fc2e6bc 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