diff --git a/org.adempiere.base/src/org/compiere/model/GridField.java b/org.adempiere.base/src/org/compiere/model/GridField.java index 635aec55e3..9813702c9c 100644 --- a/org.adempiere.base/src/org/compiere/model/GridField.java +++ b/org.adempiere.base/src/org/compiere/model/GridField.java @@ -1988,15 +1988,14 @@ public class GridField { if (m_gridTab == null) return false; - // this functionality must preserve the value of the parent tab JUST when is an included tab - // not included tabs can have Processed fields and is valid to add records in details on these cases - // like the Payment Schedule tab on Invoice (Customer) window - if (!m_gridTab.isIncluded()) - return false; GridTab parentTab = m_gridTab.getParentTab(); - if (parentTab == null) - return false; - return parentTab.getField(columnName) != null; + while (parentTab != null) + { + if (parentTab.getField(columnName) != null) + return true; + parentTab = parentTab.getParentTab(); + } + return false; } /**