Skip to content
Snippets Groups Projects
Commit 375b34be authored by Damien Bouvy's avatar Damien Bouvy
Browse files

[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#42185

Signed-off-by: default avatarDamien Bouvy (dbo) <dbo@odoo.com>
parent db16d119
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment