From 6d43387f585e157af35c20253f872024f3af0e1a Mon Sep 17 00:00:00 2001 From: Joren Van Onder Date: Thu, 17 Dec 2015 16:27:37 +0100 Subject: [PATCH] [FIX] point_of_sale: print amount of guests correctly on ESC/POS receipt Before this the only thing that would ever be printed was 'Guests: ', because it was only added when receipt.customer_count evaluated to false. Another issue is that receipt.customer_count doesn't exist in the point_of_sale module. It is created by pos_restaurant, so there's where it should be added to the receipt. --- addons/point_of_sale/static/src/xml/pos.xml | 3 --- addons/pos_restaurant/static/src/xml/floors.xml | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/point_of_sale/static/src/xml/pos.xml b/addons/point_of_sale/static/src/xml/pos.xml index 6616a3de2fc..502238f4992 100644 --- a/addons/point_of_sale/static/src/xml/pos.xml +++ b/addons/point_of_sale/static/src/xml/pos.xml @@ -679,9 +679,6 @@
Served by
- -
Guests:
-


diff --git a/addons/pos_restaurant/static/src/xml/floors.xml b/addons/pos_restaurant/static/src/xml/floors.xml index 0493da4f52b..a70f127f2c7 100644 --- a/addons/pos_restaurant/static/src/xml/floors.xml +++ b/addons/pos_restaurant/static/src/xml/floors.xml @@ -6,6 +6,9 @@ at table + +
Guests:
+