From 81a1cb167fa90d017947511aac950aaad9e1dcc5 Mon Sep 17 00:00:00 2001 From: Yanina Aular Date: Tue, 18 Jun 2013 15:29:44 -0530 Subject: [PATCH] [ADD] filter for account not in view and consolidated --- account_financial_report/report/parser.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/account_financial_report/report/parser.py b/account_financial_report/report/parser.py index ea9f8e85..5dcacf17 100644 --- a/account_financial_report/report/parser.py +++ b/account_financial_report/report/parser.py @@ -432,6 +432,9 @@ class account_balance(report_sxw.rml_parse): result_acc = [] tot = {} + account_ids_x = account_obj.search(self.cr , self.uid, ([('id', 'in', [i[0] for i in account_ids]),('type','not in',('view','consolidation'))])) + print account_ids_x + for aa_id in account_ids: id = aa_id[0]