From 7fca8f2eaab782e45c2d439619adb276421f98e6 Mon Sep 17 00:00:00 2001 From: nda-odoo Date: Mon, 13 Mar 2023 16:21:18 +0000 Subject: [PATCH] [FIX] sale: set default filter for sale report Before this commit, no default date filter was set on the report. For older databases, it results in a systematic heavy query. opw-3134913 closes odoo/odoo#116770 X-original-commit: b8b75d5bdd8901d2c8fcd54d63c78c0d36254933 Signed-off-by: nda-odoo --- addons/sale/report/sale_report_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale/report/sale_report_views.xml b/addons/sale/report/sale_report_views.xml index 017377f913d..f65d33090de 100644 --- a/addons/sale/report/sale_report_views.xml +++ b/addons/sale/report/sale_report_views.xml @@ -96,7 +96,7 @@ graph,pivot - {'search_default_Sales':1, 'group_by_no_leaf':1,'group_by':[]} + {'search_default_Sales':1, 'group_by_no_leaf':1,'group_by':[], 'search_default_filter_order_date': 1} This report performs analysis on your quotations and sales orders. Analysis check your sales revenues and sort it by different group criteria (salesman, partner, product, etc.) Use this report to perform analysis on sales not having invoiced yet. If you want to analyse your turnover, you should use the Invoice Analysis report in the Accounting application.