diff --git a/addons/web/static/src/less/kanban_view.less b/addons/web/static/src/less/kanban_view.less index 6f001929521612dafa590780e8778932b4531c51..d95a518fdda0283d856dd2d50a6388dbe077bc7c 100644 --- a/addons/web/static/src/less/kanban_view.less +++ b/addons/web/static/src/less/kanban_view.less @@ -24,8 +24,9 @@ cursor: pointer; .o-hover-opacity(@base-opacity); } -.o-kanban-tag-color(@size: 1) when (@size < @odoo-nb-ui-color) { - // Note: the 0 color is not defined as it is the 'no color' for kanban +.o-kanban-tag-color(@size: 0) when (@size < @odoo-nb-ui-color) { + // Note: the 0 color is supposed to be invisible if there is a color field + // but it is used as a default color when there is no color field &.o_tag_color_@{size} span { background-color: ~"@{odoo-color-@{size}}"; }