IDEMPIERE-31 Context problem when parent column can be in multiple tabs
This commit is contained in:
parent
4bb88c5fd0
commit
14bbf75e7e
|
@ -150,6 +150,7 @@ public abstract class AbstractADTab extends AbstractUIPart implements IADTab
|
|||
if (adtab.getTabLevel() < currentLevel)
|
||||
{
|
||||
parents.add(i);
|
||||
currentLevel = adtab.getTabLevel();
|
||||
}
|
||||
}
|
||||
parents.add(0);
|
||||
|
@ -181,8 +182,7 @@ public abstract class AbstractADTab extends AbstractUIPart implements IADTab
|
|||
GridField[] fields = adtab.getGridTab().getFields();
|
||||
for (GridField gf : fields)
|
||||
{
|
||||
if (gf.getValue() != null) // preserve value of tab above if null on current tab
|
||||
gf.updateContext();
|
||||
gf.updateContext();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue