IDEMPIERE-3611 line with missing mandatory content disappears when save in detail tab

This commit is contained in:
Diego Ruiz 2020-04-24 19:45:39 +02:00 committed by Carlos Ruiz
parent 09d2f9a1e3
commit 7fa724f1ee
1 changed files with 4 additions and 3 deletions

View File

@ -149,9 +149,10 @@ public class CompositeADTabbox extends AbstractADTabbox
final IADTabpanel tabPanel = getSelectedDetailADTabpanel();
if (!tabPanel.getGridTab().dataSave(true)) {
showLastError();
}
tabPanel.getGridTab().dataRefreshAll(true, true);
tabPanel.getGridTab().refreshParentTabs();
} else {
tabPanel.getGridTab().dataRefreshAll(true, true);
tabPanel.getGridTab().refreshParentTabs();
}
}
else if (DetailPane.ON_DELETE_EVENT.equals(event.getName())) {
onDelete();