[FIX] sale_stock: missing field in domain
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>
Fri, 2 Nov 2012 12:48:24 +0000 (13:48 +0100)
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>
Fri, 2 Nov 2012 12:48:24 +0000 (13:48 +0100)
bzr revid: qdp-launchpad@openerp.com-20121102124824-y6lvasxiemcu6vm5

addons/sale_stock/sale_stock_view.xml

index 328581b..b1da04e 100644 (file)
@@ -40,6 +40,7 @@
                        <button name="ship_corrected" states="shipping_except" string="Ignore Exception"/>
                    </xpath>
                    <xpath expr="//button[@name='action_view_invoice']" position="after">
+                       <field name="picking_ids" invisible="1"/>
                        <button name="action_view_delivery" string="View Delivery Order" type="object" class="oe_highlight"
                            attrs="{'invisible': ['|','|','|',('picking_ids','=',False),('picking_ids','=',[]), ('state', 'not in', ('progress','manual')),('shipped','=',True)]}"/>
                    </xpath>