diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/TreeSearchPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/TreeSearchPanel.java index 070f1bdde0..870f954283 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/TreeSearchPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/TreeSearchPanel.java @@ -359,7 +359,10 @@ public class TreeSearchPanel extends Panel implements EventListener, Tree Comboitem item = (Comboitem) comp; String value = item.getLabel(); String type = item.getContent(); - selectTreeitem(value+"."+type); + if (!Util.isEmpty(type)) + selectTreeitem(value+"."+type); + else + selectTreeitem(value); } } }