IDEMPIERE-2518 Cost Adjustment window - Allow Zero Cost entry for non-stocked product / based on patch from Lee Soo Fang
This commit is contained in:
parent
414851f465
commit
61f855d308
|
@ -353,11 +353,6 @@ public class MInventoryLine extends X_M_InventoryLine
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else if (MDocType.DOCSUBTYPEINV_CostAdjustment.equals(docSubTypeInv)) {
|
} else if (MDocType.DOCSUBTYPEINV_CostAdjustment.equals(docSubTypeInv)) {
|
||||||
if (getNewCostPrice().signum() == 0) {
|
|
||||||
log.saveError("FillMandatory", Msg.getElement(getCtx(), COLUMNNAME_NewCostPrice));
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
int M_ASI_ID = getM_AttributeSetInstance_ID();
|
int M_ASI_ID = getM_AttributeSetInstance_ID();
|
||||||
MProduct product = new MProduct(getCtx(), getM_Product_ID(), get_TrxName());
|
MProduct product = new MProduct(getCtx(), getM_Product_ID(), get_TrxName());
|
||||||
MClient client = MClient.get(getCtx());
|
MClient client = MClient.get(getCtx());
|
||||||
|
|
Loading…
Reference in New Issue