[IMP] click on answer survey MCQ

bzr revid: pna@tinyerp.com-20121109121251-4lz2afcb2w60zdj7
This commit is contained in:
Pinakin Nayi (OpenERP)
2012-11-09 17:42:51 +05:30
parent 0528e00788
commit 5dd31a68c6
+2 -1
View File
@@ -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