diff --git a/org.adempiere.base/src/org/compiere/model/MProduction.java b/org.adempiere.base/src/org/compiere/model/MProduction.java index 6d4dd107ed..523782742c 100644 --- a/org.adempiere.base/src/org/compiere/model/MProduction.java +++ b/org.adempiere.base/src/org/compiere/model/MProduction.java @@ -146,7 +146,7 @@ public class MProduction extends X_M_Production { MProduct bomproduct = new MProduct(Env.getCtx(), BOMProduct_ID, get_TrxName()); - if ( bomproduct.isPhantom() ) + if ( bomproduct.isBOM() && bomproduct.isPhantom() ) { createLines(mustBeStocked, bomproduct, BOMMovementQty); }