summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorJosse Colpaert <jco@odoo.com>2015-09-11 15:12:28 +0200
committerJosse Colpaert <jco@odoo.com>2015-09-11 15:34:01 +0200
commitbb2b60a67b6a149bcf3abc8c4d1253fa236b7d4a (patch)
treeaaf94cbb1c32e336e01bdcaf4911a0bf573ba504 /addons
parent9a9137236367569281e838ca1e50f04c39d85bff (diff)
[FIX] stock: picking form initial demand needed more params in the context
Diffstat (limited to 'addons')
-rw-r--r--addons/stock/stock_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml
index 90682d2d43b..364932dd0fd 100644
--- a/addons/stock/stock_view.xml
+++ b/addons/stock/stock_view.xml
@@ -910,7 +910,7 @@
<field name="note" placeholder="Add an internal note..." class="oe_inline"/>
</page>
<page string="Initial Demand" attrs="{'invisible': [('state', 'in', ('draft', 'confirmed', 'waiting', 'done'))]}">
- <field name="move_lines_related" readonly="1" context="{'form_view_ref':'stock.view_move_picking_form', 'tree_view_ref':'stock.view_move_picking_tree'}"/>
+ <field name="move_lines_related" readonly="1" context="{'address_in_id': partner_id, 'form_view_ref':'stock.view_move_picking_form', 'tree_view_ref':'stock.view_move_picking_tree', 'default_picking_type_id': picking_type_id, 'default_location_id': location_id, 'default_location_dest_id': location_dest_id}"/>
</page>
<page string="Additional Info" name="extra">
<group>