diff --git a/addons/portal_sale/portal_sale_view.xml b/addons/portal_sale/portal_sale_view.xml index 80dff872377..be4cf460a6b 100644 --- a/addons/portal_sale/portal_sale_view.xml +++ b/addons/portal_sale/portal_sale_view.xml @@ -44,7 +44,8 @@ ir.actions.act_window sale.order tree,form - {"search_default_draft":1} + [('state','in',('draft','sent','cancel'))] + {} We haven't sent you any quotation. @@ -55,7 +56,8 @@ sale.order tree,form - {"search_default_sales":1} + [('state', 'not in', ('draft', 'sent', 'cancel'))] + {} We haven't sent you any sales order.