IDEMPIERE-3859 Show Name (translated) instead of Value for list identifiers

This commit is contained in:
Carlos Ruiz 2019-01-03 22:53:36 +01:00
parent 5d65cc419d
commit 85defe9615
1 changed files with 7 additions and 0 deletions

View File

@ -882,6 +882,13 @@ public class MLookupFactory
if (embeddedSQL != null) if (embeddedSQL != null)
displayColumn.append("(").append(embeddedSQL).append(")"); displayColumn.append("(").append(embeddedSQL).append(")");
} }
// List
else if (ldc.DisplayType == DisplayType.List)
{
String embeddedSQL = getLookup_ListEmbed(language, ldc.AD_Reference_ID, ldc.ColumnName);
if (embeddedSQL != null)
displayColumn.append("(").append(embeddedSQL).append(")");
}
// ID // ID
else if (DisplayType.isID(ldc.DisplayType)) else if (DisplayType.isID(ldc.DisplayType))
{ {