[IMP] view_form: radio options

bzr revid: chm@openerp.com-20130321163100-j92sqrut1m4d0zgi
This commit is contained in:
Christophe Matthieu 2013-03-21 17:31:00 +01:00
parent f0b8314554
commit 3ecc55c583
1 changed files with 3 additions and 3 deletions

View File

@ -2787,9 +2787,9 @@ instance.web.form.FieldRadio = instance.web.form.AbstractField.extend(instance.w
*/
var self = this;
this._super(field_manager, node);
this.horizontal = +node.attrs.horizontal;
this.no_radiolabel = +node.attrs.no_radiolabel;
this.display_readonly = +node.attrs.display_readonly;
this.horizontal = +this.options.horizontal;
this.no_radiolabel = +this.options.no_radiolabel;
this.display_readonly = +this.options.display_readonly;
},
initialize_content: function () {
var self = this;