[FIX] mrp: workorder lots should have the correct product
This commit is contained in:
committed by
Nicolas Martinelli
parent
c6938b843c
commit
d44b7e9b1b
@@ -155,7 +155,7 @@
|
||||
<tree editable="bottom" create="0" delete="0">
|
||||
<field name="product_id"/>
|
||||
<field name="quantity" readonly="1"/>
|
||||
<field name="lot_id" context="{'default_product_id': product_id}"/>
|
||||
<field name="lot_id" domain="[('product_id', '=', product_id)]" context="{'default_product_id': product_id}"/>
|
||||
<field name="quantity_done"/>
|
||||
<field name="move_id" invisible="1"/>
|
||||
<field name="done_wo" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user