From 53fae121412f66cf29c110cfc779f96d34985c9a Mon Sep 17 00:00:00 2001 From: Gert Pellin Date: Fri, 26 Apr 2019 15:44:33 +0200 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. --- 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 b094c035b4d42..4827706756ce9 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 @@ - +