IDEMPIERE-3859 Show Name (translated) instead of Value for list identifiers
This commit is contained in:
parent
5d65cc419d
commit
85defe9615
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue