IDEMPIERE-1048 Sort tab lists not updated when master record change
This commit is contained in:
parent
97333fc7e3
commit
7909d73769
|
@ -687,6 +687,8 @@ public class CompositeADTabbox extends AbstractADTabbox
|
||||||
IADTabpanel detailPanel = getSelectedDetailADTabpanel();
|
IADTabpanel detailPanel = getSelectedDetailADTabpanel();
|
||||||
if (detailPanel != null) {
|
if (detailPanel != null) {
|
||||||
detailPanel.getGridTab().dataIgnore();
|
detailPanel.getGridTab().dataIgnore();
|
||||||
|
if (detailPanel.getGridTab().isSortTab())
|
||||||
|
detailPanel.activate(true);
|
||||||
}
|
}
|
||||||
headerTab.getGridTab().dataIgnore();
|
headerTab.getGridTab().dataIgnore();
|
||||||
}
|
}
|
||||||
|
|
|
@ -532,7 +532,7 @@ public class DetailPane extends Panel implements EventListener<Event>, IdSpace {
|
||||||
Toolbar toolbar = (Toolbar) tabpanel.getFirstChild();
|
Toolbar toolbar = (Toolbar) tabpanel.getFirstChild();
|
||||||
|
|
||||||
IADTabpanel adtab = getADTabpanel(index);
|
IADTabpanel adtab = getADTabpanel(index);
|
||||||
if (adtab.getGridTab().isSortTab())
|
if (adtab!=null && adtab.getGridTab().isSortTab())
|
||||||
readOnly = true;
|
readOnly = true;
|
||||||
|
|
||||||
boolean insertRecord = !readOnly;
|
boolean insertRecord = !readOnly;
|
||||||
|
|
Loading…
Reference in New Issue