From 088e3d2fecb159eebf750b1437cc336b60f2a428 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Tue, 13 Mar 2018 10:53:28 +0100 Subject: [PATCH] [FIX] website_event_sale: pricelist show no discount On the website when selling a ticket, a percentage discount may be applied on the ticket price. This percentage is calculated as: {event product price} - {event product price reduced} / {event product price} So with a ticket price 20, a linked product priced 60 reduced to 30, we would get a ticket price 10 on the website. This commit hide the discounted price if the pricelist that is applied was configured as "Discount included in the price". opw-1807889 closes #23611 --- addons/website_event_sale/views/event_templates.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/website_event_sale/views/event_templates.xml b/addons/website_event_sale/views/event_templates.xml index 3af11508112..789ea5995b2 100644 --- a/addons/website_event_sale/views/event_templates.xml +++ b/addons/website_event_sale/views/event_templates.xml @@ -39,7 +39,8 @@ - +