IDEMPIERE-1753 Allow field createBy updateBy load data / thanks to Armen Rizal (armenrz)
This commit is contained in:
parent
44e85e6999
commit
6a74532d1b
|
@ -180,13 +180,6 @@ public class GridField
|
|||
log.log(Level.SEVERE, "(" + m_vo.ColumnName + ") - No LookupInfo");
|
||||
return;
|
||||
}
|
||||
// Prevent loading of CreatedBy/UpdatedBy
|
||||
if (m_vo.displayType == DisplayType.Table
|
||||
&& (m_vo.ColumnName.equals("CreatedBy") || m_vo.ColumnName.equals("UpdatedBy")) )
|
||||
{
|
||||
m_vo.lookupInfo.IsCreadedUpdatedBy = true;
|
||||
m_vo.lookupInfo.DisplayType = DisplayType.Search;
|
||||
}
|
||||
//
|
||||
loadLookupNoValidate();
|
||||
}
|
||||
|
@ -220,6 +213,14 @@ public class GridField
|
|||
if (m_vo.lookupInfo == null) {
|
||||
return;
|
||||
}
|
||||
// Prevent loading of CreatedBy/UpdatedBy
|
||||
if (m_vo.displayType == DisplayType.Table
|
||||
&& (m_vo.ColumnName.equals("CreatedBy") || m_vo.ColumnName.equals("UpdatedBy")) )
|
||||
{
|
||||
m_vo.lookupInfo.IsCreadedUpdatedBy = true;
|
||||
m_vo.lookupInfo.DisplayType = DisplayType.Search;
|
||||
m_vo.displayType = DisplayType.Search;
|
||||
}
|
||||
m_vo.lookupInfo.IsKey = isKey();
|
||||
loadLookupFromFactory();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue