From 25ac90ea094c11bf44ea746acc9baef915390474 Mon Sep 17 00:00:00 2001 From: ernesto Date: Tue, 25 Dec 2018 16:34:48 -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..64d8a22e 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);