From bcd9f83eef49f2fb7226f9d146cf4c04d33ccc07 Mon Sep 17 00:00:00 2001 From: nikj-odoo Date: Mon, 23 Oct 2023 20:07:15 +0000 Subject: [PATCH] [FIX] loyalty: invalid program field when specifying rules/rewards on new programs Before this PR, users encountered an issue when attempting to add rules to Discount and Loyalty programs. An undesired validation message would surface, preventing them from saving their changes. In this PR, the extraneous validation has been eliminated, enabling users to successfully save and update their existing rules and rewards. Task-3487478 closes odoo/odoo#134261 Signed-off-by: Victor Feyens (vfe) --- addons/loyalty/views/loyalty_reward_views.xml | 2 +- addons/loyalty/views/loyalty_rule_views.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/loyalty/views/loyalty_reward_views.xml b/addons/loyalty/views/loyalty_reward_views.xml index e17f6e467d7..37c51cc371c 100644 --- a/addons/loyalty/views/loyalty_reward_views.xml +++ b/addons/loyalty/views/loyalty_reward_views.xml @@ -67,7 +67,7 @@ loyalty.reward - + diff --git a/addons/loyalty/views/loyalty_rule_views.xml b/addons/loyalty/views/loyalty_rule_views.xml index cd873883ccb..bd841ee1a5b 100644 --- a/addons/loyalty/views/loyalty_rule_views.xml +++ b/addons/loyalty/views/loyalty_rule_views.xml @@ -51,7 +51,7 @@ loyalty.rule - +