diff --git a/base/src/org/compiere/model/MInOutLine.java b/base/src/org/compiere/model/MInOutLine.java index 1a16bd9662..0a2a615040 100644 --- a/base/src/org/compiere/model/MInOutLine.java +++ b/base/src/org/compiere/model/MInOutLine.java @@ -494,7 +494,7 @@ public class MInOutLine extends X_M_InOutLine return false; } // Locator is mandatory if no charge is defined - teo_sarca BF [ 2757978 ] - if(MProduct.PRODUCTTYPE_Item.equals(getProduct().getProductType())) + if(getProduct() != null && MProduct.PRODUCTTYPE_Item.equals(getProduct().getProductType())) { if (getM_Locator_ID() <= 0 && getC_Charge_ID() <= 0) {