[FIX] stock: display the available qty in stock.quant form view
Steps to reproduce the bug: - Create a storable product “P1” - update the quantity to 10 - Go to inventory > configuration > warehouse Management > location - Select your location > current stock - Search the Product “P1” Problem: In `stock.quant’ list view > the available qty is displayed, but if you click on the line, the available qty is not displayed in the form view, only the qty counted is displayed opw-3018469 closes odoo/odoo#104374 X-original-commit: d956e719d43c68abe6210e3136db576aaa6f60b8 Signed-off-by: Steve Van Essche <svs@odoo.com> Signed-off-by: Djamel Touati (otd) <otd@odoo.com>
This commit is contained in:
@@ -78,9 +78,14 @@
|
||||
<field name='company_id' groups="base.group_multi_company"/>
|
||||
</group>
|
||||
<group>
|
||||
<label for="inventory_quantity" string="Quantity On Hand"/>
|
||||
<label for="quantity" string="Quantity On Hand"/>
|
||||
<div class="o_row">
|
||||
<field name="inventory_quantity"/>
|
||||
<field name="quantity"/>
|
||||
<field name="product_uom_id" groups="uom.group_uom"/>
|
||||
</div>
|
||||
<label for="available_quantity" string="Available Quantity"/>
|
||||
<div class="o_row">
|
||||
<field name="available_quantity"/>
|
||||
<field name="product_uom_id" groups="uom.group_uom"/>
|
||||
</div>
|
||||
<label for="reserved_quantity" string="Quantity Reserved"/>
|
||||
|
||||
Reference in New Issue
Block a user