From 5cc0672c10086ed1f8043b1da0dea9958915d11f Mon Sep 17 00:00:00 2001 From: Samuel Degueldre Date: Fri, 8 Jul 2022 13:36:27 +0000 Subject: [PATCH] [FIX] web: add missing selector for badge field in legacy views MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The rule should apply to both the legacy badge field and the new badge field, when adapting the css to the new badge field, the selector that targets the legacy badge field was broken. This commit fixes that. closes odoo/odoo#95665 Signed-off-by: Adrien Dieudonné (adr) --- addons/web/static/src/views/fields/badge/badge_field.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/views/fields/badge/badge_field.scss b/addons/web/static/src/views/fields/badge/badge_field.scss index 3189698c895..838249a2add 100644 --- a/addons/web/static/src/views/fields/badge/badge_field.scss +++ b/addons/web/static/src/views/fields/badge/badge_field.scss @@ -1,4 +1,5 @@ -.o_field_badge span { +// TODO: remove second selector when we remove legacy badge field +.o_field_badge span, span.o_field_badge { border: 0; font-size: 12px; user-select: none;