diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java index 126696ba6c..1b77f96f3b 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java @@ -150,7 +150,6 @@ public abstract class AbstractADTab extends AbstractUIPart implements IADTab if (adtab.getTabLevel() < currentLevel) { parents.add(i); - currentLevel = adtab.getTabLevel(); } } parents.add(0); @@ -182,7 +181,8 @@ public abstract class AbstractADTab extends AbstractUIPart implements IADTab GridField[] fields = adtab.getGridTab().getFields(); for (GridField gf : fields) { - gf.updateContext(); + if (gf.getValue() != null) // preserve value of tab above if null on current tab + gf.updateContext(); } } }