[FIX] purchase: Invoicing on incoming shipments

The filter "Incoming Shipments to Invoice" must not include shipments that are
already invoiced.

opw:644407
This commit is contained in:
Goffin Simon 2015-07-09 12:15:44 +02:00
parent 2835381c7e
commit dacf29427f
1 changed files with 1 additions and 1 deletions

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)]"/>
<filter name="reception_to_invoice" string="Incoming Shipments to Invoice" domain="[('reception_to_invoice', '=', True), ('invoice_state', '!=', 'invoiced')]"/>
</xpath>
</field>
</record>