From f56fd4a4f581c630a7035eb3ea1b6fe8e735aae5 Mon Sep 17 00:00:00 2001 From: tsvikruha Date: Wed, 1 Jul 2015 11:01:25 -0500 Subject: [PATCH] IDEMPIERE-2668 Exclude Locators for Demand Operations --- org.adempiere.base/src/org/compiere/model/MInOutLine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base/src/org/compiere/model/MInOutLine.java b/org.adempiere.base/src/org/compiere/model/MInOutLine.java index c5e5f28767..4ed8de1cb5 100644 --- a/org.adempiere.base/src/org/compiere/model/MInOutLine.java +++ b/org.adempiere.base/src/org/compiere/model/MInOutLine.java @@ -567,7 +567,7 @@ public class MInOutLine extends X_M_InOutLine } // IDEMPIERE-2668 - if (getParent().isSOTrx()) { + if (MInOut.MOVEMENTTYPE_CustomerShipment.equals(getParent().getMovementType())) { if (locator.getM_LocatorType_ID() > 0) { MLocatorType lt = MLocatorType.get(getCtx(), locator.getM_LocatorType_ID()); if (! lt.isAvailableForShipping()) {