From fbf7736c7a85af7cae19d1e16f0f05e4cbab9a6c Mon Sep 17 00:00:00 2001 From: Romeo Fragomeli Date: Fri, 30 Sep 2022 11:16:24 +0000 Subject: [PATCH] [FIX] web: total/subtotal position in invoicing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On the invoicing, the subtotal/total element is misaligned due to the nesting inception of groups. This commit forces to push the element to the end (`right`) of the line. Steps to reproduce: * Go to Invoicing * Select an invoice => BUG closes odoo/odoo#101835 X-original-commit: 27119175d89fbb874967816886eced80cf4b22bb Signed-off-by: Adrien Dieudonné (adr) --- addons/web/static/src/views/form/form_controller.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/web/static/src/views/form/form_controller.scss b/addons/web/static/src/views/form/form_controller.scss index 7efba874229..448d7a3e243 100644 --- a/addons/web/static/src/views/form/form_controller.scss +++ b/addons/web/static/src/views/form/form_controller.scss @@ -719,6 +719,9 @@ // Specific style classes .o_inner_group.oe_subtotal_footer { grid-template-columns: 1fr auto; + &.oe_right { + margin-left: auto; + } @extend .oe_right; border-top: 1px solid $border-color;