From 5041bb16b83a166cbf70abfbfa180740174a18aa Mon Sep 17 00:00:00 2001 From: "Anita (anko)" Date: Thu, 22 Feb 2024 10:23:57 +0000 Subject: [PATCH] [FIX] loyalty: Gift Card not usable if less that 1 point left. If user had less than 1 point, which is equivalent to 1 quantity of set currency, on gift card and eWallet, they could not use it due to not enough point on Gift Card and eWallet for claiming reward. opw-3667934 closes odoo/odoo#159984 X-original-commit: 64711a9152b6bb661392882d3403c194f5990fbc Signed-off-by: anko-odoo --- addons/loyalty/views/loyalty_program_views.xml | 14 +++++++++++--- addons/loyalty/views/loyalty_reward_views.xml | 10 +++++----- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/addons/loyalty/views/loyalty_program_views.xml b/addons/loyalty/views/loyalty_program_views.xml index 04e30d0ebed..d8cc0f4d952 100644 --- a/addons/loyalty/views/loyalty_program_views.xml +++ b/addons/loyalty/views/loyalty_program_views.xml @@ -115,8 +115,8 @@ - - + + - + + + + + + + + diff --git a/addons/loyalty/views/loyalty_reward_views.xml b/addons/loyalty/views/loyalty_reward_views.xml index 37c51cc371c..e3bfbe6c928 100644 --- a/addons/loyalty/views/loyalty_reward_views.xml +++ b/addons/loyalty/views/loyalty_reward_views.xml @@ -13,7 +13,7 @@ - +