From dfb0e4b8f1596fe3672791ced17e8f2773fb6051 Mon Sep 17 00:00:00 2001 From: Joren Van Onder Date: Mon, 21 Dec 2015 16:12:34 +0100 Subject: [PATCH] [FIX] point_of_sale: subtotal non ESC/POS receipt shouldn't include tax On the PosTicket receipt (non-ESC/POS receipt) we have a line titled subtotal. The subtotal was calculated with getSubtotal(). The issue is that getSubtotal() ends up just using the price of the product. This doesn't make sense when taxes are included in the price, because then the subtotal will contain taxes. It's not an issue on the ESC/POS receipt, because there we don't show the subtotal at all if we only have included taxes. fixes #10137 opw-660266 --- 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 2ee7d41692c..34d81e9475b 100644 --- a/addons/point_of_sale/static/src/xml/pos.xml +++ b/addons/point_of_sale/static/src/xml/pos.xml @@ -973,7 +973,7 @@ Subtotal: - +