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();
|
||||
if (detailPanel != null) {
|
||||
detailPanel.getGridTab().dataIgnore();
|
||||
if (detailPanel.getGridTab().isSortTab())
|
||||
detailPanel.activate(true);
|
||||
}
|
||||
headerTab.getGridTab().dataIgnore();
|
||||
}
|
||||
|
|
|
@ -532,7 +532,7 @@ public class DetailPane extends Panel implements EventListener<Event>, IdSpace {
|
|||
Toolbar toolbar = (Toolbar) tabpanel.getFirstChild();
|
||||
|
||||
IADTabpanel adtab = getADTabpanel(index);
|
||||
if (adtab.getGridTab().isSortTab())
|
||||
if (adtab!=null && adtab.getGridTab().isSortTab())
|
||||
readOnly = true;
|
||||
|
||||
boolean insertRecord = !readOnly;
|
||||
|
|
Loading…
Reference in New Issue