[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 <nda@odoo.com>
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
<field name="view_mode">graph,pivot</field>
|
||||
<field name="view_id"></field> <!-- force empty -->
|
||||
<field name="search_view_id" ref="view_order_product_search"/>
|
||||
<field name="context">{'search_default_Sales':1, 'group_by_no_leaf':1,'group_by':[]}</field>
|
||||
<field name="context">{'search_default_Sales':1, 'group_by_no_leaf':1,'group_by':[], 'search_default_filter_order_date': 1}</field>
|
||||
<field name="help">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.</field>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user