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

@ -433,6 +433,15 @@ public class GridField
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)
{