summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2018-07-02 11:30:21 +0200
committerGoffin Simon <sig@odoo.com>2018-07-02 12:37:55 +0200
commitde61d172520c2ad2dbb64e5a0a5c8d33bfa7ce32 (patch)
tree186e3f0943e73741ad09839a9f2befb0b0ba312c
parent21b2617d6fea4e2f220b13d0623996045a2b7b9d (diff)
[FIX] mrp: Adding a stock move line when creating a raw material
In stock.move.lots.form view, the field product_uom must be readonly like the field product_uom_qty. Fine tuning of this commit: 2ab3fa86fe83d507e9e1152ad2a44811af7f55cd opw:1861321
-rw-r--r--addons/mrp/views/stock_move_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mrp/views/stock_move_views.xml b/addons/mrp/views/stock_move_views.xml
index a005c82c658..c664d87be04 100644
--- a/addons/mrp/views/stock_move_views.xml
+++ b/addons/mrp/views/stock_move_views.xml
@@ -22,7 +22,7 @@
<label for="product_uom_qty"/>
<div class="o_row">
<span><field name="product_uom_qty" readonly="1" nolabel="1"/></span>
- <span><field name="product_uom" readonly="1" nolabel="1"/></span>
+ <span><field name="product_uom" readonly="1" force_save="1" nolabel="1"/></span>
</div>
<label for="quantity_done"/>
<div class="o_row">