web_widget_color: Fix issue #1139

widget="color" not working proper in One2many field form view.
https://github.com/OCA/web/issues/1139
pull/1141/head
ernesto 2018-12-25 16:34:48 -05:00
parent 2713de660d
commit 25ac90ea09
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ odoo.define('web.web_widget_color', function(require) {
_renderEdit: function() { _renderEdit: function() {
this.$input = this.$el.find('input'); this.$input = this.$el.find('input');
this.jscolor = new jscolor(this.$input[0], {hash:true}); this.jscolor = new jscolor(this.$input[0], {hash:true, zIndex: 2000});
}, },
}); });
field_registry.add('color', FieldColor); field_registry.add('color', FieldColor);