Skip to content
Snippets Groups Projects
Commit f63cbc85 authored by William Henrotin's avatar William Henrotin
Browse files

[FIX] stock: reserved quantity readonly


Force the quantity reserved on stock move line to be readonly to avoid
de-synchronisation with the reserved quantity on the quants.

Back-port of 08394c89

closes odoo/odoo#65044

Signed-off-by: default avatarArnold Moyaux <amoyaux@users.noreply.github.com>
parent 129de297
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@
<group>
<label for="product_uom_qty" string="Quantity Reserved" attrs="{'invisible': [('state', '=', 'done')]}"/>
<div class="o_row" attrs="{'invisible': [('state', '=', 'done')]}">
<field name="product_uom_qty"/>
<field name="product_uom_qty" readonly="1"/>
<field name="product_uom_id" options="{'no_create': True}" string="Unit of Measure" groups="uom.group_uom"/>
</div>
<label for="qty_done" string="Quantity Done"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment