[14.0][FIX] stock_available: dict.record.type is undefined

This commit is contained in:
ferran-73
2022-12-19 11:39:39 +01:00
parent b4c0ed7cde
commit 59d675a2e7

View File

@@ -83,7 +83,7 @@
<field name="arch" type="xml">
<xpath expr="//div[@name='product_lst_price']" position="after">
<div
t-if="record.type.raw_value == 'product'"
t-if="record.show_on_hand_qty_status_button.raw_value"
>Available to Promise: <field name="immediately_usable_qty" /> <field
name="uom_id"
/></div>