From d6e774f8dbf6bc4c5924bf28458ea37c45436621 Mon Sep 17 00:00:00 2001 From: "Merlin (megu)" Date: Thu, 17 Feb 2022 08:24:12 +0000 Subject: [PATCH] [FIX] web: many2many tag always shows delete icon The delete icon of many2many tags disappears when the text is too long for the column Steps to reproduce: 1. Install Invoicing 2. Open Invoicing and create a new invoice 3. Add any product (a tax should be added for that product) and reduce the size of the 'Taxes' column until the tag is too long for the column 4. The tag's content overflows and the delete icon is not accessible anymore Solution: Change \ element back to \ Problem: This commit https://github.com/odoo/odoo/commit/0915ac5a0e95ef9511559fded7cf1e149b19ce67 changed the element of `_badge_text` to \ which broke the adaptability of the many2many tags opw-2755293 closes odoo/odoo#84824 X-original-commit: d859c6328b3374b17f0b0be190ca62fe2597289d Signed-off-by: Nicolas Lempereur (nle) Signed-off-by: Guillaume Merlin (megu) --- addons/web/static/src/legacy/xml/base.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/web/static/src/legacy/xml/base.xml b/addons/web/static/src/legacy/xml/base.xml index 17148d78fc3..abb23cb169f 100644 --- a/addons/web/static/src/legacy/xml/base.xml +++ b/addons/web/static/src/legacy/xml/base.xml @@ -1069,11 +1069,11 @@ - +