[FIX] stock: pass picking type in context to set default locations

bzr revid: hmo@tinyerp.com-20120917112642-k1wmdmy7b1jdcexs
This commit is contained in:
Harry (OpenERP) 2012-09-17 16:56:42 +05:30
parent 8a05219372
commit 88ce4c22d9
1 changed files with 1 additions and 1 deletions

View File

@ -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)"/>