diff options
| author | Pankaj Joshi <pji@openerp.com> | 2014-11-14 12:52:46 +0530 |
|---|---|---|
| committer | Richard Mathot <rim@openerp.com> | 2014-11-24 16:45:20 +0100 |
| commit | 80fd4e4bb631f41ec765826499d3f4b12229eeb9 (patch) | |
| tree | 228f097ac91edf479dc179f56af6a168c182e01f /addons/web/static/src | |
| parent | 3b131ea64bca878f3844366c63220d66a7be579f (diff) | |
[FIX] web: radio buttons
removed js that let user to uncheck radiobutton and from addons removed radiobuttons used for not required field except sync_typ.
changed this field as required because of functional requirement
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/view_form.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 8d7f8869ae2..c593a20da4e 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -3258,7 +3258,6 @@ instance.web.form.FieldRadio = instance.web.form.AbstractField.extend(instance.w render_value: function () { var self = this; this.$el.toggleClass("oe_readonly", this.get('effective_readonly')); - this.$("input:checked").prop("checked", false); if (this.get_value()) { this.$("input").filter(function () {return this.value == self.get_value();}).prop("checked", true); this.$(".oe_radio_readonly").text(this.get('value') ? this.get('value')[1] : ""); |
