[FIX] problem with float_time

bzr revid: nicolas.vanhoren@openerp.com-20120627151759-5hewg29y0cbo6221
This commit is contained in:
niv-openerp 2012-06-27 17:17:59 +02:00
parent 5d343c4e5e
commit 3f59bab1fc
1 changed files with 2 additions and 1 deletions

View File

@ -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