[FIX] web: allow kanban tags without color field

This commit is contained in:
qsm-odoo
2017-10-04 11:40:12 +02:00
parent 2f07bbca8c
commit 44def2086b
+3 -2
View File
@@ -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}}";
}