From 26c4acc761f4e0d57aa0500c5bbacba0353a834f Mon Sep 17 00:00:00 2001 From: Gert Pellin Date: Fri, 26 Apr 2019 13:44:33 +0000 Subject: [PATCH] [FIX] point-of-sale: discount line on ticket Before this fix an extra line with the price without discount will be printed even if there is no discount on the product. After this fix the line will only be printed if there is a discount. The error occured due to the use of t-else instead of t-elif. closes odoo/odoo#32989 Signed-off-by: Nicolas Martinelli (nim) --- addons/point_of_sale/static/src/xml/pos.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/point_of_sale/static/src/xml/pos.xml b/addons/point_of_sale/static/src/xml/pos.xml index b094c035b4d..4827706756c 100644 --- a/addons/point_of_sale/static/src/xml/pos.xml +++ b/addons/point_of_sale/static/src/xml/pos.xml @@ -805,7 +805,7 @@ - +