From 18dc5b3b8720d013ef51aa6fe1a8469610380ece Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Thu, 14 Jul 2016 18:29:24 +0200 Subject: [FIX] web: default many2many tags color When there is no `color` field on the model e.g. On invoice line taxes The color class to apply on the badge was set to `o_tag_color_undefined` which doesn't exist. It must be set from `o_tag_color_0` to `o_tag_color_10` in order have a color. Because of this, the taxes in the invoices lines were not visible, because they were written in white on a white background. This has been broken by the below revision: fe66472e2cf7844c21ec438921307330ae562668 removing the or statement (`||`) to set a default color for models not having a `color` field. We choose to set `10` as default value, so the color remains the same compared to the previous release (light grey). However, if the new behavior chosen by the usability is to have these in black, it should then be changed to `0` again. --- addons/web/static/src/xml/base.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/xml/base.xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 73ec56e0ea7..08dcffb1bb1 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -749,7 +749,7 @@ - + -- cgit v1.2.3