[IMP] Fix field visibility problem.

bzr revid: tta@openerp.com-20120703064332-w13ysbifmwwhef8p
This commit is contained in:
Tejas Tank
2012-07-03 12:13:32 +05:30
parent 525a1debcf
commit 1b4d58d3d3
+1 -1
View File
@@ -202,7 +202,7 @@ class survey_question_wiz(osv.osv_memory):
if wiz_id:
fields["wizardid_" + str(wiz_id)] = {'type':'char', 'size' : 255, 'string':"", 'views':{}}
etree.SubElement(xml_form, 'field', {'invisible':'1','name': "wizardid_" + str(wiz_id),'default':str(lambda *a: 0)})
etree.SubElement(xml_form, 'field', {'invisible':'1','name': "wizardid_" + str(wiz_id),'default':str(lambda *a: 0),'modifiers':'{"invisible":true}'})
if pag_rec.note:
xml_group = etree.SubElement(xml_form, 'group', {'col': '1', 'colspan': '4'})