From bfc71f313fa9c89868c0293f3037e8efcdf191eb Mon Sep 17 00:00:00 2001 From: kthiemann Date: Wed, 28 Nov 2007 10:55:46 +0000 Subject: [PATCH] Bug [ 1840173 ] Old customization code in InfoProduct.java --- .../org/compiere/apps/search/InfoProduct.java | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/client/src/org/compiere/apps/search/InfoProduct.java b/client/src/org/compiere/apps/search/InfoProduct.java index adf728c6a5..f609e2cf94 100644 --- a/client/src/org/compiere/apps/search/InfoProduct.java +++ b/client/src/org/compiere/apps/search/InfoProduct.java @@ -941,33 +941,6 @@ public final class InfoProduct extends Info implements ActionListener { if (s_productLayout != null) return s_productLayout; - // Euro 13 - MClient client = MClient.get(Env.getCtx()); - if ("FRIE".equals(client.getValue())) - { - final Info_Column[] frieLayout = { - new Info_Column(" ", "p.M_Product_ID", IDColumn.class), - // new Info_Column(Msg.translate(Env.getCtx(), "Value"), "p.Value", String.class), - new Info_Column(Msg.translate(Env.getCtx(), "Name"), "p.Name", String.class), - new Info_Column(Msg.translate(Env.getCtx(), "QtyAvailable"), "bomQtyAvailable(p.M_Product_ID,?,0) AS QtyAvailable", Double.class, true, true, null), - new Info_Column(Msg.translate(Env.getCtx(), "PriceList"), "bomPriceList(p.M_Product_ID, pr.M_PriceList_Version_ID) AS PriceList", BigDecimal.class), - new Info_Column(Msg.translate(Env.getCtx(), "PriceStd"), "bomPriceStd(p.M_Product_ID, pr.M_PriceList_Version_ID) AS PriceStd", BigDecimal.class), - new Info_Column("Einzel MWSt", "pr.PriceStd * 1.16", BigDecimal.class), - new Info_Column("Einzel kompl", "(pr.PriceStd+13) * 1.16", BigDecimal.class), - new Info_Column("Satz kompl", "((pr.PriceStd+13) * 1.16) * 4", BigDecimal.class), - new Info_Column(Msg.translate(Env.getCtx(), "QtyOnHand"), "bomQtyOnHand(p.M_Product_ID,?,0) AS QtyOnHand", Double.class), - new Info_Column(Msg.translate(Env.getCtx(), "QtyReserved"), "bomQtyReserved(p.M_Product_ID,?,0) AS QtyReserved", Double.class), - new Info_Column(Msg.translate(Env.getCtx(), "QtyOrdered"), "bomQtyOrdered(p.M_Product_ID,?,0) AS QtyOrdered", Double.class), - new Info_Column(Msg.translate(Env.getCtx(), "Discontinued").substring(0, 1), "p.Discontinued", Boolean.class), - new Info_Column(Msg.translate(Env.getCtx(), "Margin"), "bomPriceStd(p.M_Product_ID, pr.M_PriceList_Version_ID)-bomPriceLimit(p.M_Product_ID, pr.M_PriceList_Version_ID) AS Margin", BigDecimal.class), - new Info_Column(Msg.translate(Env.getCtx(), "PriceLimit"), "bomPriceLimit(p.M_Product_ID, pr.M_PriceList_Version_ID) AS PriceLimit", BigDecimal.class), - new Info_Column(Msg.translate(Env.getCtx(), "IsInstanceAttribute"), "pa.IsInstanceAttribute", Boolean.class) - }; - INDEX_NAME = 2; - INDEX_PATTRIBUTE = frieLayout.length - 1; // last item - s_productLayout = frieLayout; - return s_productLayout; - } // if (s_productLayout == null) {