From b9bfc63cecb2176d621ae33dcbe1b288a1d37a65 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sun, 11 Jan 2015 21:10:46 -0500 Subject: [PATCH] IDEMPIERE-1425 Account element improvements --- org.adempiere.base/src/org/compiere/model/MTree.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base/src/org/compiere/model/MTree.java b/org.adempiere.base/src/org/compiere/model/MTree.java index 1478285c45..669e751e78 100644 --- a/org.adempiere.base/src/org/compiere/model/MTree.java +++ b/org.adempiere.base/src/org/compiere/model/MTree.java @@ -449,7 +449,7 @@ public class MTree extends MTree_Base sqlNode.append("f.JSPURL"); sqlNode.append(" IS NOT NULL))"); } - } else if (getTreeType().equals(TREETYPE_ElementValue)) { + } else if (isTreeDrivenByValue()) { sqlNode.append("SELECT t.").append(columnNameX) .append("_ID, t.Value || ' - ' || t.Name, t.Description, t.IsSummary,").append(color) .append(" FROM ").append(fromClause);