[FIX] survey: repport
bzr revid: chm@openerp.com-20130503132628-pga2o2u611cviyq0
This commit is contained in:
@@ -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]):
|
||||
|
||||
Reference in New Issue
Block a user