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:
parent
43800e2540
commit
d5d7aa45a2
|
@ -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 SPECIAL_CASE_DEFAULT = '1';
|
||||||
private static final Character SQL_DEFAULT = '2';
|
private static final Character SQL_DEFAULT = '2';
|
||||||
|
@ -221,7 +221,7 @@ public class GridField
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Prevent loading of CreatedBy/UpdatedBy
|
// 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.ColumnName.equals("CreatedBy") || m_vo.ColumnName.equals("UpdatedBy")) )
|
||||||
{
|
{
|
||||||
m_vo.lookupInfo.IsCreadedUpdatedBy = true;
|
m_vo.lookupInfo.IsCreadedUpdatedBy = true;
|
||||||
|
|
Loading…
Reference in New Issue