From 3bb2b69d4a320746d7e3b249bb0899a4de61b1d9 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Mon, 22 May 2017 10:24:41 +0200 Subject: [PATCH] [FIX] web: Form: right align subtotals The subtotals displayed in the oe_subtotal_footer (e.g. sale.order form view) should be right aligned. Before this rev. this wasn't the case for monetary fields, they are now displayed 'inline-flex', whatever the form mode (before the new views, they were 'inline-flex' only in edit mode). Credit goes to @qsm-odoo. --- addons/web/static/src/less/form_view.less | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web/static/src/less/form_view.less b/addons/web/static/src/less/form_view.less index 3b191a0837a..34ce34e6ad8 100644 --- a/addons/web/static/src/less/form_view.less +++ b/addons/web/static/src/less/form_view.less @@ -435,6 +435,7 @@ .o_field_widget { text-align: right; + .o-justify-content(flex-end); width: 100%; } }