diff --git a/addons/pos_loyalty/static/src/js/loyalty.js b/addons/pos_loyalty/static/src/js/loyalty.js index da8b8e0ba3b..5673231f3af 100644 --- a/addons/pos_loyalty/static/src/js/loyalty.js +++ b/addons/pos_loyalty/static/src/js/loyalty.js @@ -264,7 +264,7 @@ openerp.pos_loyalty = function(instance){ 'comment': 'There are no rewards available for this customer as part of the loyalty program', }); return; - } else if (rewards.length === 1) { + } else if (rewards.length === 1 && this.pos.loyalty.rewards.length === 1) { order.apply_reward(rewards[0]); return; } else {