From 84575fe99367c6b1e88fd8f696571b559b2448c1 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Fri, 3 May 2013 15:26:28 +0200 Subject: [PATCH] [FIX] survey: repport bzr revid: chm@openerp.com-20130503132628-pga2o2u611cviyq0 --- addons/survey/report/survey_browse_response.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/survey/report/survey_browse_response.py b/addons/survey/report/survey_browse_response.py index a641592ae20..a2c13cedceb 100644 --- a/addons/survey/report/survey_browse_response.py +++ b/addons/survey/report/survey_browse_response.py @@ -199,8 +199,8 @@ class survey_browse_response(report_rml): else: response_id = surv_resp_obj.search(cr, uid, [('survey_id', 'in', ids)]) - surv_resp_line_obj = pooler.get_pool(cr.dbname).get('survey.response.line') - surv_obj = pooler.get_pool(cr.dbname).get('survey') + surv_resp_line_obj = registry['survey.response.line'] + surv_obj = registry['survey'] for response in surv_resp_obj.browse(cr, uid, response_id): for survey in surv_obj.browse(cr, uid, [response.survey_id.id]):