diff options
| author | Aurélien Warnon <awa@odoo.com> | 2018-08-09 15:00:11 +0200 |
|---|---|---|
| committer | Aurélien Warnon <awa@odoo.com> | 2018-08-09 15:21:41 +0200 |
| commit | f6bb29c0c727c317f3e9ed7c796c98df16f07185 (patch) | |
| tree | 544b5b05997cfb27291b6bbbe5ab15445a9f8b1f /addons | |
| parent | a1bad2191c635aa1fee9bb2f5db0e56799645255 (diff) | |
[FIX] website_product_comparison: Re-display product comparison
Purpose
=======
Since the migration to bootstrap 4, the variants are not displayed
anymore on the product comparison view.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/website_sale_comparison/views/website_sale_comparison_template.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_sale_comparison/views/website_sale_comparison_template.xml b/addons/website_sale_comparison/views/website_sale_comparison_template.xml index d414be7bd6c..dab3096fb87 100644 --- a/addons/website_sale_comparison/views/website_sale_comparison_template.xml +++ b/addons/website_sale_comparison/views/website_sale_comparison_template.xml @@ -39,7 +39,7 @@ <th t-att-colspan="2"><t t-esc="spec"/></th> </tr> </t> - <tr t-foreach="atts[spec]" t-as="att" t-att-class="'collapse in ' + spec.split()[0]"> + <tr t-foreach="atts[spec]" t-as="att" t-att-class="'collapse in show ' + spec.split()[0]"> <td t-esc="att.attribute_id.name"/> <td> <t t-set='or_separator'>or</t> @@ -107,7 +107,7 @@ <th t-att-colspan="len(products) + 1"><i class="fa fa-chevron-circle-down o_product_comparison_collpase" role="img" aria-label="Collapse" title="Collapse"></i><t t-esc="spec"/></th> </tr> </t> - <tr t-foreach="specs[spec].keys()" t-as="att" t-att-class="'collapse in ' + spec.split()[0]"> + <tr t-foreach="specs[spec].keys()" t-as="att" t-att-class="'collapse in show ' + spec.split()[0]"> <td t-esc="att"/> <td t-foreach="specs[spec][att]" t-as="val"><t t-esc="val"/></td> </tr> |
