From f095b4c390afda4070876f347ab529bc59ed4b02 Mon Sep 17 00:00:00 2001 From: "Matheus Leal Viana (malv)" Date: Thu, 13 Jul 2023 14:39:17 +0000 Subject: [PATCH] [FIX] account: display amount due field in boxed layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Versions: --------- - 14.0+ Steps to reproduce: ------------------- 1. Settings -> Configure document layout 2. Select the Boxed layout 3. Go to Invoices -> create a new invoice and register payment 4. Click on Preview 5. The field “Amount due” is in the wrong color and barely visible Issue: ------ The field “Amount due” is in the wrong color and barely visible in invoice boxed layout Cause: ------ The issue is happening because we have `` before the text ”Amount due” and it changes the font color to gray because of the CSS definitions Solution: --------- We need to make the text bold in a different way, to do it we can use the bootstrap class font-weight-bold, this way we keep it bold and do not break the colors OPW-3374092 closes odoo/odoo#131459 X-original-commit: 6e1b3f2fc36831a94c164ab281c7a6fde535cebf Signed-off-by: Brice Bartoletti (bib) Signed-off-by: Matheus Leal Viana (malv) --- addons/account/views/report_invoice.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/views/report_invoice.xml b/addons/account/views/report_invoice.xml index e51abdaafe4..61245e83b32 100644 --- a/addons/account/views/report_invoice.xml +++ b/addons/account/views/report_invoice.xml @@ -207,8 +207,8 @@ - - Amount Due + + Amount Due 11.05