From 1b4d58d3d345e942d71f5ee9b2c9d0ccb6dbd631 Mon Sep 17 00:00:00 2001 From: Tejas Tank Date: Tue, 3 Jul 2012 12:13:32 +0530 Subject: [PATCH] [IMP] Fix field visibility problem. bzr revid: tta@openerp.com-20120703064332-w13ysbifmwwhef8p --- 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 a0c35be81cb..3723c8a68a2 100644 --- a/addons/survey/wizard/survey_answer.py +++ b/addons/survey/wizard/survey_answer.py @@ -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'})