Skip to content
Snippets Groups Projects
Commit 84a759af authored by Romain Derie's avatar Romain Derie
Browse files

[FIX] website_sale: make dashboard action domain same as displayed data

The metrics displayed on the dashboard are retrieved through a domain used in
`fetch_dashboard_data()` route.
When clicking on one of those metrics, an action is called with a domain.

This commit fixes incoherences between those domains.

task-2369420
parent 06f95478
Branches
Tags
No related merge requests found
......@@ -115,7 +115,7 @@
<field name="name">Orders To Invoice</field>
<field name="res_model">sale.order</field>
<field name="view_mode">tree,form,kanban</field>
<field name="domain">[('state', 'in', ('sale', 'done')), ('invoice_status', '=', 'to invoice'), ('website_id', '!=', False)]</field>
<field name="domain">[('state', 'in', ('sale', 'done')), ('order_line', '!=', False), ('invoice_status', '=', 'to invoice'), ('website_id', '!=', False)]</field>
<field name="context">{'show_sale': True, 'search_default_order_confirmed': 1, 'create': False}</field>
<field name="search_view_id" ref="view_sales_order_filter_ecommerce"/>
<field name="help" type="html">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment