From 3f59bab1fc6c9e50d77ddb21146f44dd6283d104 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Wed, 27 Jun 2012 17:17:59 +0200 Subject: [PATCH] [FIX] problem with float_time bzr revid: nicolas.vanhoren@openerp.com-20120627151759-5hewg29y0cbo6221 --- addons/web/static/src/js/view_form.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index bd223cefd78..5348550a7e0 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -1790,8 +1790,9 @@ instance.web.form.AbstractField = instance.web.form.FormWidget.extend(instance.w this._super(field_manager, node); this.field_manager = field_manager; this.name = this.node.attrs.name; - this.set({'value': false}); this.field = this.field_manager.get_field(this.name); + this.widget = this.node.attrs.widget; + this.set({'value': false}); this.set({required: this.modifiers['required'] === true}); // some events to make the property "effective_readonly" sync automatically with "readonly" and