From 0df15dfd37ef40c79a316652c5a9b8b0cb7542a7 Mon Sep 17 00:00:00 2001 From: ernesto Date: Tue, 25 Dec 2018 16:16:37 -0500 Subject: [PATCH] web_widget_color: Fix issue #1139 widget="color" not working proper in One2many field form view. https://github.com/OCA/web/issues/1139 --- web_widget_color/static/src/js/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_widget_color/static/src/js/widget.js b/web_widget_color/static/src/js/widget.js index 55ca6a82..418a53f7 100644 --- a/web_widget_color/static/src/js/widget.js +++ b/web_widget_color/static/src/js/widget.js @@ -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);