diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index 240704cadb99f21bc37f1fd01820217f555e1087..7dffa42872b7f1bc868d62e49e04d0ad828ab82b 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -775,7 +775,7 @@ </div> </td> <td class="text-center" id="td-price" name="price"> - <del t-attf-class="text-danger #{'' if line.product_id.lst_price > line.discounted_price else 'hidden'}" style="text-decoration: line-through; white-space: nowrap;" + <del t-attf-class="text-danger #{'' if line.product_id.lst_price - line.discounted_price > 0.1 else 'hidden'}" style="text-decoration: line-through; white-space: nowrap;" t-field="line.product_id.lst_price" t-field-options='{ "widget": "monetary", "from_currency": "line.company_id.currency_id",