From 95ab1c6a15d6bde45e4ae507641083702073a42a Mon Sep 17 00:00:00 2001 From: trifonnt Date: Fri, 28 Aug 2009 14:48:34 +0000 Subject: [PATCH] BF: [2846273] - Importing Products with 0 prices https://sourceforge.net/tracker/?func=detail&aid=2846273&group_id=176962&atid=879332 --- base/src/org/compiere/process/ImportProduct.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/org/compiere/process/ImportProduct.java b/base/src/org/compiere/process/ImportProduct.java index b8b6fed00c..e9a4843c5d 100644 --- a/base/src/org/compiere/process/ImportProduct.java +++ b/base/src/org/compiere/process/ImportProduct.java @@ -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());