[FIX] website_sale_coupon: correct template logic

This commit is contained in:
Christophe Simonis
2018-10-16 20:47:49 +02:00
parent ef7b24eb75
commit 53109feaea
+1 -1
View File
@@ -82,7 +82,7 @@
<template id="cart_summary" name="Payment" inherit_id="website_sale.cart_summary">
<xpath expr="//table[@id='cart_products']/tbody/tr/td[hasclass('td-price')]/child::*" position="attributes">
<attribute name="t-att-style">'display: None;' if line in free_shipping_lines else ''</attribute>
<attribute name="t-att-style">'display: None;' if free_shipping_lines and line in free_shipping_lines else ''</attribute>
</xpath>
</template>
</odoo>