IDEMPIERE-369 Master Detail layout improvements. Fixed zoom to second level detail.
This commit is contained in:
parent
14d41aaf33
commit
9d44e22ad2
|
@ -439,11 +439,20 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
|||
Object[] value = entry.getValue();
|
||||
MQuery pquery = new MQuery(pTab.getAD_Table_ID());
|
||||
pquery.addRestriction((String)value[0], "=", value[1]);
|
||||
pTab.setQuery(pquery);
|
||||
IADTabpanel tp = adTabbox.findADTabpanel(pTab);
|
||||
tp.createUI();
|
||||
if (tp.getTabLevel() == 0)
|
||||
{
|
||||
pTab.setQuery(pquery);
|
||||
tp.query();
|
||||
}
|
||||
else
|
||||
{
|
||||
tp.query();
|
||||
pTab.setQuery(pquery);
|
||||
tp.query();
|
||||
}
|
||||
}
|
||||
|
||||
MQuery targetQuery = new MQuery(gTab.getAD_Table_ID());
|
||||
targetQuery.addRestriction(gTab.getLinkColumnName(), "=", parentId);
|
||||
|
|
Loading…
Reference in New Issue