summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>