From 39f6c0b5b4678cd5b2200e1b1b85c4c139fe5d70 Mon Sep 17 00:00:00 2001 From: Diego Ruiz Date: Fri, 22 May 2015 11:13:06 -0500 Subject: [PATCH] IDEMPIERE-2636 MPriceListVersion error in getProductPrice --- .../src/org/compiere/model/MPriceListVersion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base/src/org/compiere/model/MPriceListVersion.java b/org.adempiere.base/src/org/compiere/model/MPriceListVersion.java index 883848fd83..d414a7cca9 100644 --- a/org.adempiere.base/src/org/compiere/model/MPriceListVersion.java +++ b/org.adempiere.base/src/org/compiere/model/MPriceListVersion.java @@ -113,7 +113,7 @@ public class MPriceListVersion extends X_M_PriceList_Version */ public MProductPrice[] getProductPrice (String whereClause) { - String localWhereClause = I_M_ProductPrice.COLUMNNAME_M_PriceList_Version_ID+"=?"+whereClause; + String localWhereClause = I_M_ProductPrice.COLUMNNAME_M_PriceList_Version_ID+"=?"; if (whereClause != null) localWhereClause += " " + whereClause; List list = new Query(getCtx(),I_M_ProductPrice.Table_Name,localWhereClause,get_TrxName())