You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.6 KiB
35 lines
1.6 KiB
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
<!-- This template used to hide price from product comparison tool page-->
|
|
<template id="compare_hide_price_product"
|
|
inherit_id="website_sale_comparison.product_product">
|
|
<xpath expr="//div[hasclass('pl-2')]" position="replace">
|
|
<t t-if="product.price_call">
|
|
<div class="col-8 pl-2">
|
|
<h6>
|
|
<a t-att-href="product.website_url">
|
|
<t t-esc="combination_info['display_name']"/>
|
|
</a>
|
|
<br/>
|
|
</h6>
|
|
</div>
|
|
</t>
|
|
<t t-else="">
|
|
<div class="col-8 pl-2">
|
|
<h6>
|
|
<a t-att-href="product.website_url">
|
|
<t t-esc="combination_info['display_name']"/>
|
|
</a>
|
|
<br/>
|
|
<del t-attf-class="text-danger mr8 {{'' if combination_info['has_discounted_price'] else 'd-none'}}"
|
|
style="white-space: nowrap;"
|
|
t-esc="combination_info['list_price']"
|
|
t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
|
|
<span t-esc="combination_info['price']"
|
|
t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
|
|
</h6>
|
|
</div>
|
|
</t>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|
|
|