From a74b990c3eb556f36a0c407a72ecabb84bcb93b9 Mon Sep 17 00:00:00 2001
From: Andy Armaignac <andy.armaignac@doceleguas.com>
Date: Wed, 22 Jul 2020 16:32:41 -0400
Subject: [PATCH] Fixed issue-2262: Unwanted notification message is shown
 after discount is selected

Added showNotification field to avoid unwanted notification when the discount is selected in the popup
---
 .../js/discountsButton.js                                      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/web/org.openbravo.retail.discounts.category/js/discountsButton.js b/web/org.openbravo.retail.discounts.category/js/discountsButton.js
index 5d2afc8..7b9bb41 100644
--- a/web/org.openbravo.retail.discounts.category/js/discountsButton.js
+++ b/web/org.openbravo.retail.discounts.category/js/discountsButton.js
@@ -387,7 +387,8 @@ enyo.kind({
       originalText: this.originalText,
       units: this.units,
       requiresQty: this.requiresQty,
-      discountCategoryName: this.discountCategoryName
+      discountCategoryName: this.discountCategoryName,
+      showNotification: false
     });
     this.doHideThisPopup();
   },
-- 
2.25.1

