Fix sale_id on stock.picking.out view
authorYannick Vaucher <yannick.vaucher@camptocamp.com>
Thu, 19 Jun 2014 12:10:24 +0000 (14:10 +0200)
committerYannick Vaucher <yannick.vaucher@camptocamp.com>
Thu, 19 Jun 2014 12:10:24 +0000 (14:10 +0200)
View inheritance is on the wrong model after model change of stock.picking.
Here we just fix the model.

addons/sale_stock/stock_view.xml

index d4bf4fc..f4ed19b 100644 (file)
@@ -51,7 +51,7 @@
 
         <record id="stock_picking_out_inherit_sale" model="ir.ui.view">
             <field name="name">Outgoing picking Inherited</field>
-            <field name="model">stock.picking</field>
+            <field name="model">stock.picking.out</field>
             <field name="inherit_id" ref="stock.view_picking_out_form"/>
             <field name="arch" type="xml">
                 <field name="move_type" position="after">