IDEMPIERE-760 Recent items not saving copied records

This commit is contained in:
Carlos Ruiz 2013-03-17 16:57:42 -05:00
parent ea40c1a8bf
commit ab08b3568e
1 changed files with 1 additions and 1 deletions

View File

@ -1806,7 +1806,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
IADTabpanel dirtyTabpanel = adTabbox.getDirtyADTabpanel();
final boolean newRecord = dirtyTabpanel != null ? (dirtyTabpanel.getGridTab().getRecord_ID() <= 0) : false;
if (dirtyTabpanel == null) {
onSave0(onSaveEvent, onNavigationEvent, newRecord, wasChanged, callback);
onSave0(onSaveEvent, onNavigationEvent, this.newRecord, wasChanged, callback);
return;
}
if (dirtyTabpanel instanceof ADSortTab)