[FIX] purchase: Purchase report filter
The filter for Purchase orders in the Purchase report did not filter out Sent RFQ, despite the fact that they were not really ordered yet. opw:2158248 closes odoo/odoo#44892 X-original-commit: 201cfb46462590bb2460bc76317e37742c789fae Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
This commit is contained in:
@@ -51,8 +51,8 @@
|
||||
<field name="model">purchase.report</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Purchase Orders">
|
||||
<filter string="Requests for Quotation" name="quotes" domain="[('state','=','draft')]"/>
|
||||
<filter string="Purchase Orders" name="orders" domain="[('state','!=','draft'),('state','!=','cancel')]"/>
|
||||
<filter string="Requests for Quotation" name="quotes" domain="[('state','in',('draft','sent'))]"/>
|
||||
<filter string="Purchase Orders" name="orders" domain="[('state','!=','draft'), ('state','!=','sent'), ('state','!=','cancel')]"/>
|
||||
<field name="partner_id"/>
|
||||
<field name="product_id"/>
|
||||
<group expand="0" string="Extended Filters">
|
||||
|
||||
Reference in New Issue
Block a user