From e534956e2b27adfe2038a5edb0754f87fa775f25 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Thu, 1 Feb 2007 08:07:38 +0000 Subject: [PATCH] bug fix [ 1648850 ] MTable.getClass works incorrect for table "Fact_Acct" according with Carlos suggestion --- dbPort/src/org/compiere/model/MTable.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dbPort/src/org/compiere/model/MTable.java b/dbPort/src/org/compiere/model/MTable.java index 6533253dbd..8b72a095ab 100644 --- a/dbPort/src/org/compiere/model/MTable.java +++ b/dbPort/src/org/compiere/model/MTable.java @@ -25,6 +25,11 @@ import org.compiere.util.*; /** * Persistent Table Model + *

+ * Change log: + *

* * @author Jorg Janke * @version $Id: MTable.java,v 1.3 2006/07/30 00:58:04 jjanke Exp $ @@ -184,12 +189,14 @@ public class MTable extends X_AD_Table { if (index < 3) // AD_, A_ className = className.substring(index+1); + /* DELETEME: this part is useless - teo_sarca, [ 1648850 ] else { String prefix = className.substring(0,index); if (prefix.equals("Fact")) // keep custom prefix className = className.substring(index+1); } + */ } // Remove underlines className = Util.replace(className, "_", "");