From 64cb8cf8ab588ab0913aed1f22495e28f6025eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20van=20der=20Essen?= Date: Thu, 23 Apr 2015 17:59:45 +0200 Subject: [PATCH] [IMP] pos_loyalty: replace error popup by a less alarming alert --- addons/pos_loyalty/static/src/js/loyalty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/pos_loyalty/static/src/js/loyalty.js b/addons/pos_loyalty/static/src/js/loyalty.js index 75bed07fcf5..8989b659c15 100644 --- a/addons/pos_loyalty/static/src/js/loyalty.js +++ b/addons/pos_loyalty/static/src/js/loyalty.js @@ -358,7 +358,7 @@ var LoyaltyButton = screens.ActionButtonWidget.extend({ var rewards = order.get_available_rewards(); if (rewards.length === 0) { - this.gui.show_popup('error',{ + this.gui.show_popup('alert',{ 'title': 'No Rewards Available', 'body': 'There are no rewards available for this customer as part of the loyalty program', });