Skip to content

Commit 9374d57

Browse files
committed
[FIX] website_sale_product_matrix: Error when name of first column is empty
1 parent f129c4c commit 9374d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website_sale_product_matrix/templates/product_template.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<tbody>
3636
<tr t-foreach="product_matrix.get('matrix', [])" t-as="row">
3737
<t t-foreach="row" t-as="cell">
38-
<td t-if="cell.get('name')" class="text-left">
38+
<td t-if="'name' in cell" class="text-left">
3939
<strong t-esc="cell['name']" />
4040
<t t-if="cell.get('price')">
4141
<span class="badge badge-pill badge-secondary">

0 commit comments

Comments
 (0)