IDEMPIERE-5565 Info Window not working with virtual column where reference is table with display column = ID (#1672)

This commit is contained in:
Carlos Ruiz 2023-02-13 13:18:12 +01:00 committed by GitHub
parent c22ee19cac
commit 16c727017d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -671,7 +671,7 @@ public class InfoGeneralPanel extends InfoPanel implements EventListener<Event>
MColumn column = table.getColumn(columnName); MColumn column = table.getColumn(columnName);
String baseColumn = column.isVirtualColumn() ? columnSql : columnName; String baseColumn = column.isVirtualColumn() ? columnSql : columnName;
String embedded = AD_Reference_Value_ID > 0 ? MLookupFactory.getLookup_TableEmbed(Env.getLanguage(Env.getCtx()), columnName, p_tableName, AD_Reference_Value_ID) String embedded = AD_Reference_Value_ID > 0 ? MLookupFactory.getLookup_TableEmbed(Env.getLanguage(Env.getCtx()), baseColumn, p_tableName, AD_Reference_Value_ID)
: MLookupFactory.getLookup_TableDirEmbed(Env.getLanguage(Env.getCtx()), columnName, p_tableName, baseColumn); : MLookupFactory.getLookup_TableDirEmbed(Env.getLanguage(Env.getCtx()), columnName, p_tableName, baseColumn);
embedded = "(" + embedded + ")"; embedded = "(" + embedded + ")";