From 7fa724f1eee5d88592ae9101d2b41d902952fbce Mon Sep 17 00:00:00 2001 From: Diego Ruiz Date: Fri, 24 Apr 2020 19:45:39 +0200 Subject: [PATCH] IDEMPIERE-3611 line with missing mandatory content disappears when save in detail tab --- .../org/adempiere/webui/adwindow/CompositeADTabbox.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/CompositeADTabbox.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/CompositeADTabbox.java index aee6b86eaf..d00a705e40 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/CompositeADTabbox.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/CompositeADTabbox.java @@ -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();