diff --git a/web/org.openbravo.retail.returns/js/hookGroupedProductPreCreateLine.js b/web/org.openbravo.retail.returns/js/hookGroupedProductPreCreateLine.js
--- a/web/org.openbravo.retail.returns/js/hookGroupedProductPreCreateLine.js
+++ b/web/org.openbravo.retail.returns/js/hookGroupedProductPreCreateLine.js
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2013 Openbravo S.L.U.
+ * Copyright (C) 2013-2015 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.
@@ -13,19 +13,6 @@
 (function () {
 
   OB.UTIL.HookManager.registerHook('OBPOS_GroupedProductPreCreateLine', function (args, callbacks) {
-    if (OB.UTIL.isNullOrUndefined(args.line) && !OB.UTIL.isNullOrUndefined(args.allLines)) {
-      args.line = args.allLines.find(function (l) {
-        var affectedByPack = null;
-        if (l.get('product').id === args.p.id && (l.get('qty') > 0 || OB.UTIL.isNullOrUndefined(l.get('originalOrderLineId')))) {
-          affectedByPack = l.isAffectedByPack();
-          if (!affectedByPack) {
-            return true;
-          } else if ((args.options && args.options.packId === affectedByPack.ruleId) || !(args.options && args.options.packId)) {
-            return true;
-          }
-        }
-      });
-    }
 
     if (!OB.UTIL.isNullOrUndefined(args.line) && !OB.UTIL.isNullOrUndefined(args.line.get('originalOrderLineId'))) {
       args.cancelOperation = true;
