[IMP] website_event: inherit website_sale mycart to don't display reduction if it's an event ticket price
bzr revid: chm@openerp.com-20130828094118-bzqgyuxc1ztqun8n
This commit is contained in:
parent
ab08db3b87
commit
82c3c6bc33
|
@ -13,6 +13,12 @@
|
|||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="event_website_sale_mycart" inherit_id="website_sale.mycart">
|
||||
<xpath expr="//small[@class='text-error']" position="replace">
|
||||
<small t-if="line.product_id.lst_price != line.price_unit and not line.event_id" class="text-error" style="text-decoration: line-through;"><t t-esc="line.product_id.lst_price" /> €</small>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- Page -->
|
||||
|
||||
<template id="index" name="Events" page="True">
|
||||
|
|
|
@ -229,9 +229,7 @@
|
|||
<small t-field="line.product_id.description_sale"/>
|
||||
</td>
|
||||
<td>
|
||||
<t t-if="line.product_id.lst_price != line.price_unit">
|
||||
<small class="text-error" style="text-decoration: line-through;"><t t-esc="line.product_id.lst_price" /> €</small>
|
||||
</t>
|
||||
<small t-if="line.product_id.lst_price != line.price_unit" class="text-error" style="text-decoration: line-through;"><t t-esc="line.product_id.lst_price" /> €</small>
|
||||
<span t-field="line.price_unit"></span> €
|
||||
</td>
|
||||
<td>
|
||||
|
|
Loading…
Reference in New Issue