diff --git a/addons/account/wizard/account_bs_report.py b/addons/account/wizard/account_bs_report.py index 27c50b4b880..dfd035680f2 100644 --- a/addons/account/wizard/account_bs_report.py +++ b/addons/account/wizard/account_bs_report.py @@ -114,14 +114,12 @@ class account_bs_report(osv.osv_memory): 'type': 'ir.actions.report.xml', 'report_name': 'account.balancesheet.horizontal', 'datas': data, - 'nodestroy':True, } else: return { 'type': 'ir.actions.report.xml', 'report_name': 'account.balancesheet', 'datas': data, - 'nodestroy':True, } def _check_date(self, cr, uid, data, context=None): diff --git a/addons/account/wizard/account_pl_report.py b/addons/account/wizard/account_pl_report.py index 79b701b6fb9..9ae7a4dbedf 100644 --- a/addons/account/wizard/account_pl_report.py +++ b/addons/account/wizard/account_pl_report.py @@ -111,14 +111,12 @@ class account_pl_report(osv.osv_memory): 'type': 'ir.actions.report.xml', 'report_name': 'pl.account.horizontal', 'datas': data, - 'nodestroy':True, } else: return { 'type': 'ir.actions.report.xml', 'report_name': 'pl.account', 'datas': data, - 'nodestroy':True, } def _check_date(self, cr, uid, data, context=None):