From fccbc91cc88a79e6a5f11d5b58ce9be7f61cdb16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Lef=C3=A8vre?= Date: Thu, 6 Apr 2023 14:05:12 +0000 Subject: [PATCH] [FIX] spreadsheet_dashboard_account: display unpaid amount absolute value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the Invoicing dashboard, the upper-left most scorecard displays the total invoiced amount. The baseline "X unpaid" is wrong. It was displaying the difference between the key value (total invoiced amount) and the unpaid amount. That means if not a single invoice was paid (everything unpaid), it would display "0 unpaid". That obviously not correct. opw-3248761 closes odoo/odoo#118030 X-original-commit: 2b795ee59ef063b5b7298382008ebd61c51de36e Signed-off-by: Lucas Lefèvre (lul) --- .../data/files/invoicing_dashboard.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/spreadsheet_dashboard_account/data/files/invoicing_dashboard.json b/addons/spreadsheet_dashboard_account/data/files/invoicing_dashboard.json index 41d2a0206df..8de041c4666 100644 --- a/addons/spreadsheet_dashboard_account/data/files/invoicing_dashboard.json +++ b/addons/spreadsheet_dashboard_account/data/files/invoicing_dashboard.json @@ -1281,7 +1281,7 @@ "data": { "baselineColorDown": "#DC6965", "baselineColorUp": "#00A04A", - "baselineMode": "difference", + "baselineMode": "text", "title": "Invoiced", "type": "scorecard", "baseline": "Data!C11",