diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java index 2f941aac8e..b01a7d8c75 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/AbstractADWindowPanel.java @@ -888,7 +888,16 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To } } else // Don't save - curTab.dataIgnore(); + { + int newRecord= curTab.getTableModel().getNewRow(); //VOSS COM + + if( newRecord == -1) + curTab.dataIgnore(); + else + { + return false; + } + } } else // new record, but nothing changed curTab.dataIgnore();