mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
mrp_lot_on_hand_first: Use base_view_inheritance_extension
This commit is contained in:
@@ -12,10 +12,11 @@
|
||||
expr="//field[@name='move_raw_ids']//field[@name='lot_ids']"
|
||||
position="attributes"
|
||||
>
|
||||
<attribute name="context">{
|
||||
'name_search_qty_on_hand_first': parent.display_lots_on_hand_first,
|
||||
'default_company_id': company_id,
|
||||
'default_product_id': product_id,}</attribute>
|
||||
<attribute
|
||||
name="context"
|
||||
operation="python_dict"
|
||||
key="name_search_qty_on_hand_first"
|
||||
>parent.display_lots_on_hand_first</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user