From ca94faef821bdc16a7394097655eebc507813d33 Mon Sep 17 00:00:00 2001 From: "Pedram (PEBR)" Date: Fri, 1 Dec 2023 11:18:41 +0000 Subject: [PATCH] [FIX] pos_loyalty: ensure customer name prints without points activity Since the update in https://github.com/odoo/odoo/commit/d4b366f2d741f2087a947d61d7e0618492cc2bf1, the POS loyalty program stopped printing customer names on receipts for transactions without points won or spent. Originally, printing a loyalty program also included the customer's name, which users relied on to print the customer's name on receipts. This commit ensures the customer's name is printed on the receipt, regardless of whether any loyalty points were won or spent. opw-3620536 closes odoo/odoo#145629 X-original-commit: 57037253a472b4a25e2be6622c505a08b7f207ff Signed-off-by: Joseph Caburnay (jcb) Signed-off-by: Pedram Bi Ria (pebr) --- .../src/overrides/components/order_receipt/order_receipt.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/pos_loyalty/static/src/overrides/components/order_receipt/order_receipt.xml b/addons/pos_loyalty/static/src/overrides/components/order_receipt/order_receipt.xml index a1c1dd73ed9..0d1510ac6b7 100644 --- a/addons/pos_loyalty/static/src/overrides/components/order_receipt/order_receipt.xml +++ b/addons/pos_loyalty/static/src/overrides/components/order_receipt/order_receipt.xml @@ -10,7 +10,6 @@
--------------------------------

-

@@ -26,6 +25,8 @@
+
+
Customer