[FIX] website_sale: grid view remove rowspan if colspan=4

bzr revid: chm@openerp.com-20140310163329-nglj6dxpulzcl5qn
This commit is contained in:
chm@openerp.com
2014-03-10 17:33:29 +01:00
parent d6b93c8b24
commit d41ea1cfdc
+1 -1
View File
@@ -118,7 +118,7 @@
<t t-if="td_product">
<t t-set="product" t-value="td_product['product']"/>
<td t-att-colspan="td_product['x'] != 1 and td_product['x']"
t-att-rowspan="td_product['y'] != 1 and td_product['y']"
t-att-rowspan="td_product['y'] != 1 and td_product['x'] != 4 and td_product['y']"
t-attf-class="oe_product oe_grid oe-height-#{td_product['y']*2} #{ td_product['class'] }">
<div class="oe_product_cart" t-att-data-publish="product.website_published and 'on' or 'off'">