From 9c83ebedd2418ad866b1815f98f77bad53ec35fe Mon Sep 17 00:00:00 2001 From: "ARA (OpenERP)" Date: Tue, 15 Mar 2011 15:36:53 +0530 Subject: [PATCH] [FIX] account: [6.0.1] Exception raised when setting an Account InActive bzr revid: ara@tinyerp.com-20110315100653-g6ic3b6s8sz1bdxp --- addons/account/account.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index 27688bab0a3..abf77eea968 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -247,9 +247,6 @@ class account_account(osv.osv): } #get all the necessary accounts children_and_consolidated = self._get_children_and_consol(cr, uid, ids, context=context) - #children_and_consolidated is empty when account has not any child account and try to make that account as inactive - if not children_and_consolidated: - children_and_consolidated = ids #compute for each account the balance/debit/credit from the move lines accounts = {} res = {}