[FIX] mrp: workorder lots should have the correct product

This commit is contained in:
Josse Colpaert
2017-06-22 13:32:18 +02:00
committed by Nicolas Martinelli
parent c6938b843c
commit d44b7e9b1b
+1 -1
View File
@@ -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"/>