From 9a0c6ce1a0850364edf33354e3548e900ddd3098 Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Thu, 22 Sep 2011 01:58:03 +0200 Subject: [PATCH 1/1] [IMP] account.financial.report account_type mode remove debug bzr revid: al@openerp.com-20110921235803-p5fcdtsf0m7e6eci --- addons/account/report/account_financial_report.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/account/report/account_financial_report.py b/addons/account/report/account_financial_report.py index 3a73930..6b42bb1 100644 --- a/addons/account/report/account_financial_report.py +++ b/addons/account/report/account_financial_report.py @@ -67,9 +67,7 @@ class report_account_common(report_sxw.rml_parse, common_report_header): if report.type == 'accounts' and report.display_detail and report.account_ids: account_ids = account_obj._get_children_and_consol(self.cr, self.uid, [x.id for x in report.account_ids]) elif report.type == 'account_type' and report.account_type_ids: - print "accout type" account_ids = account_obj.search(self.cr, self.uid, [('user_type','in', [x.id for x in report.account_type_ids])]) - print account_ids if account_ids: for account in account_obj.browse(self.cr, self.uid, account_ids, context=data['form']['used_context']): if account.type != 'view': -- 1.7.10.4