IDEMPIERE-4803 Related Info Window Display Bug (#701)
* IDEMPIERE-4803 Related Info Window Display Bug * IDEMPIERE-4803 Related Info Window check for CreatedBy and UpdatedBy
This commit is contained in:
parent
b914083d31
commit
01d199755b
|
@ -919,7 +919,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL
|
|||
if (! colSQL.toUpperCase().contains(" AS "))
|
||||
colSQL += " AS " + infoColumn.getColumnName();
|
||||
editorMap.put(colSQL, editor);
|
||||
Class<?> colClass = columnName.endsWith("_ID") ? KeyNamePair.class : String.class;
|
||||
Class<?> colClass = columnName.endsWith("_ID") || columnName.equals("CreatedBy") || columnName.equals("UpdatedBy") ? KeyNamePair.class : String.class;
|
||||
ColumnInfo columnInfo = new ColumnInfo(infoColumn.getNameTrl(), colSQL, colClass, (String)null, infoColumn.isReadOnly() || haveNotProcess);
|
||||
return columnInfo;
|
||||
}
|
||||
|
@ -2083,6 +2083,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL
|
|||
}
|
||||
columnInfo.setColDescription(infoColumn.getDescriptionTrl());
|
||||
columnInfo.setGridField(getGridField(infoColumn));
|
||||
columnInfo.setAD_Reference_ID(infoColumn.getAD_Reference_ID());
|
||||
list.add(columnInfo);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue