[FIX] sale: backport of rev 709e22c32a

[FIX] sale: sale report view, wrong domain

Quotations are sale.order with state draft and sent
Sale orders are sale.order with state other than draft, sent and cancel
This commit is contained in:
Denis Ledoux 2014-05-13 10:15:01 +02:00 committed by Simon Lejeune
parent 32f5168974
commit 74072441cc
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@
<search string="Sales Analysis">
<field name="date"/>
<field name="date_confirm"/>
<filter icon="terp-document-new" string="Quotations" domain="[('state','=','draft')]"/>
<filter icon="terp-check" string="Sales" domain="[('state','not in',('draft','done','cancel'))]"/>
<filter icon="terp-document-new" string="Quotations" domain="[('state','in',('draft','sent'))]"/>
<filter icon="terp-check" string="Sales" domain="[('state','not in',('draft','sent','cancel'))]"/>
<separator/>
<filter icon="terp-accessories-archiver" string="Picked" domain="[('shipped','=',True)]"/>
<separator/>