[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:
Goffin Simon
2017-03-09 23:52:38 +01:00
parent 1d0d74bd89
commit 8be16e7a1c
@@ -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 &gt; 1">
<div t-if="record.product_variant_count.value &gt; 1" groups="product.group_product_variant">
<strong>
<t t-esc="record.product_variant_count.value"/> Variants
</strong>