[FIX] stock: pass picking type in context to set default locations
bzr revid: hmo@tinyerp.com-20120917112642-k1wmdmy7b1jdcexs
This commit is contained in:
parent
8a05219372
commit
88ce4c22d9
|
@ -779,7 +779,7 @@
|
|||
</group>
|
||||
<notebook>
|
||||
<page string="Products">
|
||||
<field name="move_lines" context="{'address_in_id': partner_id}">
|
||||
<field name="move_lines" context="{'address_in_id': partner_id, 'picking_type': type}">
|
||||
<tree colors="grey:scrapped == True" string="Stock Moves">
|
||||
<field name="product_id"/>
|
||||
<field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
|
||||
|
|
Loading…
Reference in New Issue