From 5dd31a68c64060d21ed8f365c576dde577013a9e Mon Sep 17 00:00:00 2001 From: "Pinakin Nayi (OpenERP)" Date: Fri, 9 Nov 2012 17:42:51 +0530 Subject: [PATCH] [IMP] click on answer survey MCQ bzr revid: pna@tinyerp.com-20121109121251-4lz2afcb2w60zdj7 --- addons/survey/wizard/survey_answer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/survey/wizard/survey_answer.py b/addons/survey/wizard/survey_answer.py index 17253447c4f..a1b17a76c29 100644 --- a/addons/survey/wizard/survey_answer.py +++ b/addons/survey/wizard/survey_answer.py @@ -185,8 +185,9 @@ class survey_question_wiz(osv.osv_memory): etree.SubElement(xml_form, 'field', {'invisible':'1','name': "wizardid_" + str(wiz_id),'default':str(lambda *a: 0),'modifiers':'{"invisible":true}'}) if note: + xml_group_note = etree.SubElement(xml_form, 'group', {'col': '1','colspan': '4'}) for que_test in note.split('\n'): - etree.SubElement(xml_form, 'label', {'string': to_xml(tools.ustr(que_test)), 'align':"0.0"}) + etree.SubElement(xml_group_note, 'label', {'string': to_xml(tools.ustr(que_test)), 'align':"0.0"}) que_ids = question_ids qu_no = 0