IDEMPIERE-1168 Master-detail issue with context variables (problem paying multiple invoices)
This commit is contained in:
parent
d3cdc491f7
commit
d22b9652e8
|
@ -1988,15 +1988,14 @@ public class GridField
|
||||||
{
|
{
|
||||||
if (m_gridTab == null)
|
if (m_gridTab == null)
|
||||||
return false;
|
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();
|
GridTab parentTab = m_gridTab.getParentTab();
|
||||||
if (parentTab == null)
|
while (parentTab != null)
|
||||||
return false;
|
{
|
||||||
return parentTab.getField(columnName) != null;
|
if (parentTab.getField(columnName) != null)
|
||||||
|
return true;
|
||||||
|
parentTab = parentTab.getParentTab();
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue