From 9efa15363196a60d2b14e53fa7edc931a815d6d0 Mon Sep 17 00:00:00 2001 From: "nch@tinyerp.com" <> Date: Mon, 13 Sep 2010 12:37:11 +0530 Subject: [PATCH] [FIX]:survey list view with print action should have nodestroy in its return dict to avoid closing the client bzr revid: nch@tinyerp.com-20100913070711-o96hpbt2edur22gd --- addons/survey/survey.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/addons/survey/survey.py b/addons/survey/survey.py index 5a080e5bfb4..d1d392c5479 100644 --- a/addons/survey/survey.py +++ b/addons/survey/survey.py @@ -125,7 +125,8 @@ class survey(osv.osv): 'type': 'ir.actions.report.xml', 'report_name': 'survey.browse.response', 'datas': datas, - 'context' : context + 'context' : context, + 'nodestroy':True, } else: @@ -135,7 +136,8 @@ class survey(osv.osv): 'type': 'ir.actions.report.xml', 'report_name': 'survey.form', 'datas': datas, - 'context' : context + 'context' : context, + 'nodestroy':True, } return report survey()