From 389f83802e2621a22ba4b57a5295bf02f7fa3e6c Mon Sep 17 00:00:00 2001 From: roen-odoo Date: Tue, 10 Jan 2023 13:07:15 +0000 Subject: [PATCH] [FIX] spreadsheet_dashboard_pos_hr: order top orders in desc order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Current behavior: In the PoS base dashboard there is a "Top Orders" section that shows the top orders by amount. The orders are shown in ascending order when it should be descending. opw-3116114 closes odoo/odoo#109799 X-original-commit: 3e7109827ce285f6204c80e66b5e38a71dd61fd1 Signed-off-by: Lucas Lefèvre (lul) --- .../spreadsheet_dashboard_pos_hr/data/files/pos_dashboard.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/spreadsheet_dashboard_pos_hr/data/files/pos_dashboard.json b/addons/spreadsheet_dashboard_pos_hr/data/files/pos_dashboard.json index 97231bb69bb..cc25cbe6c0b 100644 --- a/addons/spreadsheet_dashboard_pos_hr/data/files/pos_dashboard.json +++ b/addons/spreadsheet_dashboard_pos_hr/data/files/pos_dashboard.json @@ -1304,7 +1304,7 @@ "orderBy": [ { "name": "amount_total", - "asc": true + "desc": true } ], "id": "1",