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)
|
if (adtab.getTabLevel() < currentLevel)
|
||||||
{
|
{
|
||||||
parents.add(i);
|
parents.add(i);
|
||||||
|
currentLevel = adtab.getTabLevel();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
parents.add(0);
|
parents.add(0);
|
||||||
|
@ -181,7 +182,6 @@ public abstract class AbstractADTab extends AbstractUIPart implements IADTab
|
||||||
GridField[] fields = adtab.getGridTab().getFields();
|
GridField[] fields = adtab.getGridTab().getFields();
|
||||||
for (GridField gf : fields)
|
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