BF: [2846273] - Importing Products with 0 prices

https://sourceforge.net/tracker/?func=detail&aid=2846273&group_id=176962&atid=879332
This commit is contained in:
trifonnt 2009-08-28 14:48:34 +00:00
parent 5ab4939ef0
commit 95ab1c6a15
1 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@ public class ImportProduct extends SvrProcess
BigDecimal PriceList = imp.getPriceList();
BigDecimal PriceStd = imp.getPriceStd();
BigDecimal PriceLimit = imp.getPriceLimit();
if (PriceStd.signum() != 0 && PriceLimit.signum() != 0 && PriceList.signum() != 0)
if (PriceStd.signum() != 0 || PriceLimit.signum() != 0 || PriceList.signum() != 0)
{
MProductPrice pp = MProductPrice.get(getCtx(),
p_M_PriceList_Version_ID, M_Product_ID, get_TrxName());