From 970abd4f8d0ea39f432bcb671460480a552ceb26 Mon Sep 17 00:00:00 2001 From: "Hamza (hisl)" Date: Thu, 15 Jun 2023 10:04:31 +0000 Subject: [PATCH] [FIX] web : remove inline class from expected revenue field The 'oe_inline' class does not allow the 'at' and the following elements to move to right when we have currency symbol of more than one character. Previously the value of max-width was set to 9rem which is now changed to inherit, so that it still have the space even if the space on the sides is consumed by other elements. Steps to reproduce: 1. Set the currency of your company whose symbol is more than one character e.g AED 2. Start writing in expected revenue field. Current Behaviour: The input field will take over the 'at' string and overlap. Expected Beahviour: The strings and elements following the expected revenue input should move to right if the currency symbol's width increases. OPW-3343377 closes odoo/odoo#131811 X-original-commit: 66946eb2311dd31b91d090b119ead610557d6b94 Signed-off-by: Bastien Fafchamps (bafa) Signed-off-by: Hamza Islam (hisl) --- addons/web/static/src/views/form/form_controller.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/views/form/form_controller.scss b/addons/web/static/src/views/form/form_controller.scss index ce64181d448..2c333f02e01 100644 --- a/addons/web/static/src/views/form/form_controller.scss +++ b/addons/web/static/src/views/form/form_controller.scss @@ -664,7 +664,7 @@ .o_field_float, .o_field_date, .o_field_monetary { &.oe_inline { &, input { - max-width: 9rem; + max-width: inherit; } } }