IDEMPIERE-1271 Bug of read only logic for tab

This commit is contained in:
Heng Sin Low 2013-08-14 22:43:30 +08:00
parent 5861f8be72
commit dcce7558b0
1 changed files with 9 additions and 0 deletions

View File

@ -432,6 +432,15 @@ public class GridField
if (log.isLoggable(Level.FINEST)) log.finest(m_vo.ColumnName + " NO - TabRO=" + m_vo.tabReadOnly + ", FieldRO=" + m_vo.IsReadOnly);
return false;
}
//check tab context
if (checkContext && getGridTab() != null)
{
if (getGridTab().isReadOnly())
{
return false;
}
}
// Not Updateable - only editable if new updateable row
if (!m_vo.IsUpdateable && !m_inserting)