diff options
| author | Damien Bouvy <dbo@odoo.com> | 2019-12-19 13:44:37 +0000 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2019-12-19 16:06:04 +0000 |
| commit | febd360ff0be1c812b6bfdfa96a99eae4448b610 (patch) | |
| tree | d5b4d3449e3501f330c7ae17fb3fc6aa0bd4b0a9 /addons/website_slides/models/slide_slide.py | |
| parent | adc49e76fcec6490e321d87657eda5cea0293da7 (diff) | |
[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) <dbo@odoo.com>
Diffstat (limited to 'addons/website_slides/models/slide_slide.py')
0 files changed, 0 insertions, 0 deletions
