Fixed #1683587 Non-Item isStocked flag
This commit is contained in:
parent
49d4a971c3
commit
fddbf894f5
|
@ -568,7 +568,9 @@ public class MProduct extends X_M_Product
|
||||||
} // storage
|
} // storage
|
||||||
|
|
||||||
// Reset Stocked if not Item
|
// Reset Stocked if not Item
|
||||||
if (isStocked() && !PRODUCTTYPE_Item.equals(getProductType()))
|
//AZ Goodwill: Bug Fix isStocked always return false
|
||||||
|
//if (isStocked() && !PRODUCTTYPE_Item.equals(getProductType()))
|
||||||
|
if (!PRODUCTTYPE_Item.equals(getProductType()))
|
||||||
setIsStocked(false);
|
setIsStocked(false);
|
||||||
|
|
||||||
// UOM reset
|
// UOM reset
|
||||||
|
|
Loading…
Reference in New Issue