[FIX] stock: picking form initial demand needed more params in the context
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user