[FIX] stock: display demand on mobile
When creating a picking on mobile, the moves are displayed as kanban boxes. But before this commit, only the mvoe's `quantity` is displayed, that means when in draft, the quantity is usually at 0 and it's the demand (`product_uom_qty`) who is relevant. To fix that, display both fields. Also, we display the UoM aswell if the UoM is enabled. closes odoo/odoo#144282 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
This commit is contained in:
@@ -123,7 +123,11 @@
|
||||
<span>Quantity <field name="quantity"/></span>
|
||||
</div>
|
||||
<div invisible="is_inventory">
|
||||
<span>Quantity <field name="quantity"/></span>
|
||||
<span>
|
||||
Quantity <field name="quantity"/> /
|
||||
<field name="product_uom_qty" readonly="state != 'draft'"/>
|
||||
<field name="product_uom" groups="uom.group_uom" class="ms-1"/>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user