From 6a203f008af7ae4af2454378bbc18157cef25ba3 Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Thu, 29 Jul 2010 11:13:45 +0530 Subject: [PATCH] [IMP] account: Improve the report and add nodestroy in wizard bzr revid: sbh@tinyerp.com-20100729054345-akpfrt8kewvxoevu --- addons/account/report/account_balance.rml | 2 +- addons/account/wizard/account_report_account_balance.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/report/account_balance.rml b/addons/account/report/account_balance.rml index 5fb5d0661d6..e461ae8fe98 100644 --- a/addons/account/report/account_balance.rml +++ b/addons/account/report/account_balance.rml @@ -209,7 +209,7 @@ - + Chart of Account diff --git a/addons/account/wizard/account_report_account_balance.py b/addons/account/wizard/account_report_account_balance.py index 54a2ccce30d..a72dc3b07e6 100644 --- a/addons/account/wizard/account_report_account_balance.py +++ b/addons/account/wizard/account_report_account_balance.py @@ -28,7 +28,7 @@ class account_balance_report(osv.osv_memory): def _print_report(self, cr, uid, ids, data, query_line, context=None): data = self.pre_print_report(cr, uid, ids, data, query_line, context=context) - return {'type': 'ir.actions.report.xml', 'report_name': 'account.account.balance', 'datas': data} + return {'type': 'ir.actions.report.xml', 'report_name': 'account.account.balance', 'datas': data, 'nodestroy':True,} account_balance_report()