[BUG/FIX] lp:721894

lp bug: https://launchpad.net/bugs/721894 fixed

bzr revid: jam@tinyerp.com-20110222050338-9az2tu3b0ovqylr0
This commit is contained in:
Raphaël Valyi - http://www.akretion.com 2011-02-22 10:33:38 +05:30 committed by Jigar Amin
parent 91c1768528
commit 6f78334252
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ class survey_question_wiz(osv.osv_memory):
etree.SubElement(xml_group, 'separator', {'string': tools.ustr(col.title),'colspan': '1'})
for row in ans_ids:
etree.SubElement(xml_group, 'label', {'string': to_xml(tools.ustr(row.answer)) +' :-', 'align': '0.0'})
for col in que_col_head.read(cr, uid, que_rec.column_heading_ids):
for col in que_col_head.browse(cr, uid, [head.id for head in que_rec.column_heading_ids]):
etree.SubElement(xml_group, 'field', {'readonly' :str(readonly), 'name': tools.ustr(que.id) + "_" + tools.ustr(row.id) + "_" + tools.ustr(col.id), 'nolabel':"1"})
fields[tools.ustr(que.id) + "_" + tools.ustr(row.id) + "_" + tools.ustr(col.id)] = {'type':'boolean', 'string': col.title}