IDEMPIERE-3611 line with missing mandatory content disappears when save in detail tab
This commit is contained in:
parent
09d2f9a1e3
commit
7fa724f1ee
|
@ -149,9 +149,10 @@ public class CompositeADTabbox extends AbstractADTabbox
|
||||||
final IADTabpanel tabPanel = getSelectedDetailADTabpanel();
|
final IADTabpanel tabPanel = getSelectedDetailADTabpanel();
|
||||||
if (!tabPanel.getGridTab().dataSave(true)) {
|
if (!tabPanel.getGridTab().dataSave(true)) {
|
||||||
showLastError();
|
showLastError();
|
||||||
}
|
} else {
|
||||||
tabPanel.getGridTab().dataRefreshAll(true, true);
|
tabPanel.getGridTab().dataRefreshAll(true, true);
|
||||||
tabPanel.getGridTab().refreshParentTabs();
|
tabPanel.getGridTab().refreshParentTabs();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (DetailPane.ON_DELETE_EVENT.equals(event.getName())) {
|
else if (DetailPane.ON_DELETE_EVENT.equals(event.getName())) {
|
||||||
onDelete();
|
onDelete();
|
||||||
|
|
Loading…
Reference in New Issue