From d852a816456b4b6c4fa8104c4cbee5af750be6cc Mon Sep 17 00:00:00 2001 From: Antoine Boonen Date: Mon, 17 Jul 2023 15:06:55 +0000 Subject: [PATCH] [FIX] account: Fix manual tax entry display bug Problem --------- Fix a display bug happening when manually modifying taxes in bills. Objective --------- Get the same behavior as in 15.2 Solution --------- Colspan was acting weird when clicking the tax to input. It would expand to the full size allowed. To avoid this behavior, I made the tax display width to 0%. This makes it impossible for the input to expand upon clicking. task-3397951 closes odoo/odoo#132597 X-original-commit: b955f2f448e6e7063aafb6e98985c7afe748fd26 Signed-off-by: Laurent Smet (las) Signed-off-by: Antoine Boonen (aboo) --- addons/account/static/src/components/tax_totals/tax_totals.css | 2 ++ addons/account/static/src/components/tax_totals/tax_totals.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/account/static/src/components/tax_totals/tax_totals.css b/addons/account/static/src/components/tax_totals/tax_totals.css index c2c700afa51..92193394896 100644 --- a/addons/account/static/src/components/tax_totals/tax_totals.css +++ b/addons/account/static/src/components/tax_totals/tax_totals.css @@ -1,3 +1,5 @@ +.o_tax_group { width: 0% } + .o_tax_group_edit { white-space: nowrap; } diff --git a/addons/account/static/src/components/tax_totals/tax_totals.xml b/addons/account/static/src/components/tax_totals/tax_totals.xml index 370213ca243..6e89cf8495e 100644 --- a/addons/account/static/src/components/tax_totals/tax_totals.xml +++ b/addons/account/static/src/components/tax_totals/tax_totals.xml @@ -7,7 +7,7 @@