Skip to content

Commit

Permalink
[FIX] sale: 'My Quotations' default filter
Browse files Browse the repository at this point in the history
The filter should not filter on the state.

opw-1906405

closes #28406
  • Loading branch information
nim-odoo committed Nov 5, 2018
1 parent 8f36b24 commit 656c112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sale/views/sale_views.xml
Expand Up @@ -641,7 +641,7 @@
<field name="arch" type="xml">
<xpath expr="//filter[@name='my_sale_orders_filter']" position="replace">
<separator/>
<filter string="My Quotations" name="my_quotation" domain="[('state','=','draft'), ('user_id','=',uid)]"/>
<filter string="My Quotations" name="my_quotation" domain="[('user_id', '=', uid)]"/>
<separator/>
<filter string="Quotations" name="draft" domain="[('state','in',('draft', 'sent'))]"/>
<filter string="Sales Orders" name="sales" domain="[('state','in',('sale','done'))]"/>
Expand Down

0 comments on commit 656c112

Please sign in to comment.