diff --git a/src/org/openbravo/retail/discounts/coupons/DISCPUtils.java b/src/org/openbravo/retail/discounts/coupons/DISCPUtils.java
index 1ae1c64..972c0ab 100644
--- a/src/org/openbravo/retail/discounts/coupons/DISCPUtils.java
+++ b/src/org/openbravo/retail/discounts/coupons/DISCPUtils.java
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2023-2024 Openbravo S.L.U.
+ * Copyright (C) 2023-2025 Openbravo S.L.U.
  * Licensed under the Openbravo Commercial License version 1.0
  * You may obtain a copy of the License at http://www.openbravo.com/legal/obcl.html
  * or in the legal folder of this module distribution.
@@ -55,7 +55,8 @@ public final class DISCPUtils {
     if (null == coupon) {
       OBCriteria<Coupon> criteria = getCommonCouponCriteria(couponCode);
       criteria.add(Restrictions.isNull(Coupon.PROPERTY_BUSINESSPARTNER));
-      criteria.add(Restrictions.isNull(Coupon.PROPERTY_EXTERNALBUSINESSPARTNERREFERENCE));
+      criteria.add(Restrictions.eqOrIsNull(Coupon.PROPERTY_EXTERNALBUSINESSPARTNERREFERENCE, ""));
+
       if (isAnon) {
         criteria.add(Restrictions.ne(Coupon.PROPERTY_NUMBEROFUSES, "NC"));
       }
