From d6208f290e9fe98bc60f9d74e309bc2e9724d8bf Mon Sep 17 00:00:00 2001 From: "mra (Open ERP)" Date: Thu, 29 Apr 2010 10:54:42 +0530 Subject: [PATCH] [FIX] Reports with m2m field client segmentation fault solved bzr revid: mra@tinyerp.com-20100429052442-q2ctlrjaa5k9cpvl --- .../wizard/account_crossovered_analytic.py | 1 + addons/hr_holidays/wizard/hr_holidays_summary_department.py | 1 + addons/hr_timesheet/wizard/hr_timesheet_print_users.py | 1 + .../hr_timesheet_invoice/wizard/hr_timesheet_analytic_profit.py | 2 ++ 4 files changed, 5 insertions(+) diff --git a/addons/account_analytic_plans/wizard/account_crossovered_analytic.py b/addons/account_analytic_plans/wizard/account_crossovered_analytic.py index 2429650a800..825ab26aaf9 100644 --- a/addons/account_analytic_plans/wizard/account_crossovered_analytic.py +++ b/addons/account_analytic_plans/wizard/account_crossovered_analytic.py @@ -67,6 +67,7 @@ class account_crossovered_analytic(osv.osv_memory): 'type': 'ir.actions.report.xml', 'report_name': 'account.analytic.account.crossovered.analytic', 'datas': datas, + 'nodestroy': True } account_crossovered_analytic() diff --git a/addons/hr_holidays/wizard/hr_holidays_summary_department.py b/addons/hr_holidays/wizard/hr_holidays_summary_department.py index 5e35bbdb916..9c6d1447f89 100644 --- a/addons/hr_holidays/wizard/hr_holidays_summary_department.py +++ b/addons/hr_holidays/wizard/hr_holidays_summary_department.py @@ -51,6 +51,7 @@ class hr_holidays_summary_dept(osv.osv_memory): 'type': 'ir.actions.report.xml', 'report_name': 'holidays.summary', 'datas': datas, + 'nodestroy': True, } hr_holidays_summary_dept() diff --git a/addons/hr_timesheet/wizard/hr_timesheet_print_users.py b/addons/hr_timesheet/wizard/hr_timesheet_print_users.py index 3931e41e185..f7358eca990 100644 --- a/addons/hr_timesheet/wizard/hr_timesheet_print_users.py +++ b/addons/hr_timesheet/wizard/hr_timesheet_print_users.py @@ -49,6 +49,7 @@ class analytical_timesheet_employees(osv.osv_memory): 'type': 'ir.actions.report.xml', 'report_name': 'hr.analytical.timesheet_users', 'datas': datas, + 'nodestroy':True } analytical_timesheet_employees() diff --git a/addons/hr_timesheet_invoice/wizard/hr_timesheet_analytic_profit.py b/addons/hr_timesheet_invoice/wizard/hr_timesheet_analytic_profit.py index f5b37256a02..b83b84746d2 100644 --- a/addons/hr_timesheet_invoice/wizard/hr_timesheet_analytic_profit.py +++ b/addons/hr_timesheet_invoice/wizard/hr_timesheet_analytic_profit.py @@ -72,6 +72,8 @@ class account_analytic_profit(osv.osv_memory): 'type': 'ir.actions.report.xml', 'report_name': 'account.analytic.profit', 'datas': datas, + 'nodestroy': True + } account_analytic_profit()