From 89bef3e26a8709000a669e6d33af34702a1f2bac Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Fri, 8 Mar 2013 09:41:36 +0100 Subject: [PATCH] [FIX] survey: unknown readonly or boolean bzr revid: chm@openerp.com-20130308084136-woyp4whtxsj2zxxd --- addons/survey/wizard/survey_answer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/survey/wizard/survey_answer.py b/addons/survey/wizard/survey_answer.py index d50b1525041..2803f4a0995 100644 --- a/addons/survey/wizard/survey_answer.py +++ b/addons/survey/wizard/survey_answer.py @@ -450,7 +450,7 @@ class survey_question_wiz(osv.osv_memory): # rendering different views getattr(self, "_view_field_%s" % que_rec.type)(cr, uid, xml_group, fields, readonly, que, que_rec, context=context) if que_rec.type in ['multiple_choice_only_one_ans', 'multiple_choice_multiple_ans', 'matrix_of_choices_only_one_ans', 'matrix_of_choices_only_multi_ans', 'rating_scale'] and que_rec.is_comment_require: - self._view_field_postprocessing(cr, uid, xml_group, fields, response_info['readonly'], que, que_rec, context=context) + self._view_field_postprocessing(cr, uid, xml_group, fields, readonly, que, que_rec, context=context) xml_footer = etree.SubElement(xml_form, 'footer', {'col': '8', 'width': "100%"})