IDEMPIERE-760 Recent items not saving copied records
This commit is contained in:
parent
ea40c1a8bf
commit
ab08b3568e
|
@ -1806,7 +1806,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
IADTabpanel dirtyTabpanel = adTabbox.getDirtyADTabpanel();
|
IADTabpanel dirtyTabpanel = adTabbox.getDirtyADTabpanel();
|
||||||
final boolean newRecord = dirtyTabpanel != null ? (dirtyTabpanel.getGridTab().getRecord_ID() <= 0) : false;
|
final boolean newRecord = dirtyTabpanel != null ? (dirtyTabpanel.getGridTab().getRecord_ID() <= 0) : false;
|
||||||
if (dirtyTabpanel == null) {
|
if (dirtyTabpanel == null) {
|
||||||
onSave0(onSaveEvent, onNavigationEvent, newRecord, wasChanged, callback);
|
onSave0(onSaveEvent, onNavigationEvent, this.newRecord, wasChanged, callback);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (dirtyTabpanel instanceof ADSortTab)
|
if (dirtyTabpanel instanceof ADSortTab)
|
||||||
|
|
Loading…
Reference in New Issue