[FIX] survey: repport

bzr revid: chm@openerp.com-20130503132628-pga2o2u611cviyq0
This commit is contained in:
Christophe Matthieu
2013-05-03 15:26:28 +02:00
parent cc67ae177e
commit 84575fe993
@@ -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]):