diff --git a/org.adempiere.base/src/org/compiere/model/MInventoryLine.java b/org.adempiere.base/src/org/compiere/model/MInventoryLine.java index 0ae04e89ad..39cc9e6689 100644 --- a/org.adempiere.base/src/org/compiere/model/MInventoryLine.java +++ b/org.adempiere.base/src/org/compiere/model/MInventoryLine.java @@ -373,6 +373,7 @@ public class MInventoryLine extends X_M_InventoryLine return false; } } + setM_Locator_ID(0); } else { log.saveError("Error", "Document inventory subtype not configured, cannot complete"); return false;