Skip to content

Commit 9583607

Browse files
committed
Merge PR #3743 into 18.0
Signed-off-by sebastienbeau
2 parents 62214b9 + d0091b5 commit 9583607

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sale_exception/data/sale_exception_data.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<field name="model">sale.order.line</field>
2727
<field
2828
name="code"
29-
>failed=self.product_id and self.product_id.type == 'product' and self.virtual_available_at_date &lt; self.product_uom_qty</field>
29+
>failed=self.product_id and self.product_id.type == 'consu' and self.product_id.is_storable and self.virtual_available_at_date &lt; self.product_uom_qty</field>
3030
<field name="active" eval="False" />
3131
</record>
3232
<record id="exception_partner_sale_warning" model="exception.rule">

0 commit comments

Comments
 (0)