IDEMPIERE-5531 : Auto save confirmation at onPrint (#1643)

- implement the same for Report and Button process
This commit is contained in:
Carlos Ruiz 2023-01-17 18:59:43 +01:00 committed by GitHub
parent 95a69390d5
commit e90cd93c15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -3055,7 +3055,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
}
}
};
onSave(false, false, callback);
onSave(false, true, callback);
}
private void onReport0() {
@ -3304,7 +3304,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
if (adTabbox.needSave(true, false))
{
onSave(false, false, new Callback<Boolean>() {
onSave(false, true, new Callback<Boolean>() {
@Override
public void onCallback(Boolean result) {
if (result) {