[FIX] product: group_product_variant on product kanban view
The number of variants doesn't have to be displayed if variant not enable on product. opw:711034
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
<span t-if="record.default_code.value">[<field name="default_code"/>]</span>
|
||||
<field name="name"/>
|
||||
</strong>
|
||||
<div t-if="record.product_variant_count.value > 1">
|
||||
<div t-if="record.product_variant_count.value > 1" groups="product.group_product_variant">
|
||||
<strong>
|
||||
<t t-esc="record.product_variant_count.value"/> Variants
|
||||
</strong>
|
||||
|
||||
Reference in New Issue
Block a user