IDEMPIERE-4799 Fix Check Parent Column Name (#698)

This commit is contained in:
igorpojzl 2021-05-26 12:38:42 +02:00 committed by GitHub
parent 590d03ae3b
commit 17a80a0beb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1364,7 +1364,9 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
if (!isDetail()) if (!isDetail())
return true; return true;
// Same link column value // Same link column value
String value = Env.getContext(m_vo.ctx, m_vo.WindowNo, this.getParentTabNo(), getLinkColumnName()); // IDEMPIERE-4799 Fix Check Parent Column name
String columnName = Util.isEmpty(m_parentColumnName) ? getLinkColumnName() : m_parentColumnName;
String value = Env.getContext(m_vo.ctx, m_vo.WindowNo, this.getParentTabNo(), columnName);
return m_linkValue.equals(value); return m_linkValue.equals(value);
} // isCurrent } // isCurrent