From d37f31ad224a5a7121ae9f93d6e7dcd01930e752 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sun, 25 Apr 2010 22:54:59 +0000 Subject: [PATCH] Revert revision 9482 Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2797938 --- base/src/org/compiere/model/MInOutLine.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/base/src/org/compiere/model/MInOutLine.java b/base/src/org/compiere/model/MInOutLine.java index 2843290c54..6137e28086 100644 --- a/base/src/org/compiere/model/MInOutLine.java +++ b/base/src/org/compiere/model/MInOutLine.java @@ -37,8 +37,6 @@ import org.compiere.util.Util; * @author Teo Sarca, www.arhipac.ro *
  • BF [ 2784194 ] Check Warehouse-Locator conflict * https://sourceforge.net/tracker/?func=detail&aid=2784194&group_id=176962&atid=879332 - *
  • BF [ 2797938 ] Receipt should not allow lines with Qty=0 - * https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2797938&group_id=176962 */ public class MInOutLine extends X_M_InOutLine { @@ -522,15 +520,6 @@ public class MInOutLine extends X_M_InOutLine } } - // Receipt should not allow lines with Qty=0 - teo_sarca [ 2797938 ] - if (!isDescription() - && getMovementQty().signum() == 0 - && getPickedQty().signum() == 0 - && getScrappedQty().signum() == 0) - { - throw new FillMandatoryException(COLUMNNAME_MovementQty); - } - // Get Line No if (getLine() == 0) {