IDEMPIERE-5749: CreatedBy fields should not be forced to be Search if used from processes/info windows (#1870)

https://idempiere.atlassian.net/browse/IDEMPIERE-5749
This commit is contained in:
Nicolas Micoud 2023-06-07 21:59:11 +02:00 committed by GitHub
parent 43800e2540
commit d5d7aa45a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ public class GridField
/**
*
*/
private static final long serialVersionUID = 405469916055906825L;
private static final long serialVersionUID = -4496344553246662012L;
private static final Character SPECIAL_CASE_DEFAULT = '1';
private static final Character SQL_DEFAULT = '2';
@ -221,7 +221,7 @@ public class GridField
return;
}
// Prevent loading of CreatedBy/UpdatedBy
if (m_vo.displayType == DisplayType.Table
if (m_vo.displayType == DisplayType.Table && m_vo.AD_Tab_ID > 0
&& (m_vo.ColumnName.equals("CreatedBy") || m_vo.ColumnName.equals("UpdatedBy")) )
{
m_vo.lookupInfo.IsCreadedUpdatedBy = true;