[FIX] stock: Not allowed to change product on stock.production.lot

Steps to reproduce the bug:
-Create a product tracked by LN
-Create an inventory adjustment to add 10 products with LN A
-Validate it
-Then go in inventory > inventory control > lots/serial numbers > open LN A
-Change the product

Bug:
The LN A tells you you have 10 products X
While in your inventory you see you have 10 products Y

opw:750735
This commit is contained in:
Goffin Simon
2017-07-05 16:54:12 +02:00
parent 4f88f4dd18
commit 6d6c24cfb2
@@ -24,7 +24,7 @@
</div>
<group name="main_group">
<group>
<field name="product_id"/>
<field name="product_id" attrs="{'readonly':[('quant_ids','!=',[])]}"/>
<label for="product_qty"/>
<div class="o_row">
<field name="product_qty"/>