From 99730d7ae4938e83dec6127fbb72293d5b20658a Mon Sep 17 00:00:00 2001 From: "Pierre Pulinckx (pipu)" Date: Thu, 5 Oct 2023 14:54:00 +0200 Subject: [PATCH] [FIX] web: fix color property in calendar status Problem : From the sales order, if we go to the calendar view, it shows status like "sales order", "quotation",... when we check the style in the console, span style has nonsensical values for background-color and border-color. Ex : style="background-color:state; border-color:state;" Correction : The styles are already applied by t-att-class="getFilterColor(filter)" used on the div.o_calendar_filter_item. Then the utilisation of t-att-style is no more useful. taskId : 3512867 closes odoo/odoo#137656 Signed-off-by: Bruno Boi (boi) --- .../src/views/calendar/filter_panel/calendar_filter_panel.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/web/static/src/views/calendar/filter_panel/calendar_filter_panel.xml b/addons/web/static/src/views/calendar/filter_panel/calendar_filter_panel.xml index 7ca38926481..8f08362ddec 100644 --- a/addons/web/static/src/views/calendar/filter_panel/calendar_filter_panel.xml +++ b/addons/web/static/src/views/calendar/filter_panel/calendar_filter_panel.xml @@ -88,7 +88,6 @@ >