[FIX] purchase: fix traceback

invoice_state does not exist anymore
This commit is contained in:
Nicolas Martinelli
2015-08-28 14:00:19 +02:00
parent d2b9015255
commit 74beff7201
+1 -1
View File
@@ -18,7 +18,7 @@
<field name="inherit_id" ref="stock.view_picking_internal_search"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='product_id']" position="before">
<filter name="reception_to_invoice" string="Incoming Shipments to Invoice" domain="[('reception_to_invoice', '=', True), ('invoice_state', '!=', 'invoiced')]"/>
<filter name="reception_to_invoice" string="Incoming Shipments to Invoice" domain="[('reception_to_invoice', '=', True)]"/>
</xpath>
</field>
</record>