From febd360ff0be1c812b6bfdfa96a99eae4448b610 Mon Sep 17 00:00:00 2001 From: Damien Bouvy Date: Thu, 19 Dec 2019 13:44:37 +0000 Subject: [PATCH] [FIX] web: color for calendar views without `color` attribute The `color` attribute allows specifying a field by which the calendar view will color the event entries in the view. In views where this attribute is not defined, the event was instead given the `text-white` class, which rendered the event invisible in the calendar, save for a slight left-border. This commit just use the 1st color class by default in such cases, ensuring all events are visible. opw-2145652 closes odoo/odoo#42200 X-original-commit: 375b34be6ef198753f52a650159edee4d1883006 Signed-off-by: Damien Bouvy (dbo) --- addons/web/static/src/xml/web_calendar.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/xml/web_calendar.xml b/addons/web/static/src/xml/web_calendar.xml index 60ddce6fad1..80b60d2902a 100644 --- a/addons/web/static/src/xml/web_calendar.xml +++ b/addons/web/static/src/xml/web_calendar.xml @@ -12,7 +12,7 @@ -
+