From c687bd818377a186450f431f09f54661f1cff7b4 Mon Sep 17 00:00:00 2001 From: Humberto Arocha Date: Fri, 27 Jul 2012 01:18:24 -0530 Subject: [PATCH] [IMP] Eliminacion de Asignacion innecesaria --- account_financial_report/report/parser.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/account_financial_report/report/parser.py b/account_financial_report/report/parser.py index 881810d6..963ae8d0 100644 --- a/account_financial_report/report/parser.py +++ b/account_financial_report/report/parser.py @@ -199,9 +199,7 @@ class account_balance(report_sxw.rml_parse): change_sign and ids2.append(aa_brw.id) or ids2.append([aa_brw.id,True,True]) return ids2 - child_ids = _get_children_and_consol(self.cr, self.uid, account_ids, form['display_account_level'] and form['display_account_level'] or 100,self.context) - if child_ids: - account_ids = child_ids + account_ids = _get_children_and_consol(self.cr, self.uid, account_ids, form['display_account_level'] and form['display_account_level'] or 100,self.context) account_obj = self.pool.get('account.account') period_obj = self.pool.get('account.period')