web_widget_color: Fix issue #1139

widget="color" not working proper in One2many field form view.
https://github.com/OCA/web/issues/1139
pull/1140/head
ernesto 2018-12-25 16:16:37 -05:00
parent 1252f13294
commit 0df15dfd37
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() {
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);