Fixed #1683587 Non-Item isStocked flag

This commit is contained in:
armenrz 2007-05-09 09:02:48 +00:00
parent 49d4a971c3
commit fddbf894f5
1 changed files with 714 additions and 712 deletions

View File

@ -568,7 +568,9 @@ public class MProduct extends X_M_Product
} // storage
// 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);
// UOM reset