From fb2ee0200d1f1c46cbed29548f18fb2945582a57 Mon Sep 17 00:00:00 2001 From: "Pedram (PEBR)" Date: Thu, 23 Nov 2023 10:09:12 +0000 Subject: [PATCH] [FIX] pos_loyalty: display relevant loyalty programs on receipts Previously, if there were multiple loyalty programs with different sets of rules, all of them would appear on the receipt, regardless of their applicability to the order. This caused confusion as it included programs that were not actually applied to the customer's order. This commit addresses the issue by altering the receipt logic. Now, a loyalty program will only be shown on the receipt if it has either awarded points or had points redeemed in the specific order. This ensures that only relevant loyalty programs are displayed, enhancing clarity and accuracy in customer receipts. opw-3608570 closes odoo/odoo#143376 X-original-commit: d4b366f2d741f2087a947d61d7e0618492cc2bf1 Signed-off-by: Joseph Caburnay (jcb) Signed-off-by: Pedram Bi Ria (pebr) --- .../src/overrides/components/order_receipt/order_receipt.xml | 2 +- 1 file changed, 1 insertion(+), 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 816ca282997..a1c1dd73ed9 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 @@ -5,7 +5,7 @@ -
+
--------------------------------