IDEMPIERE-4172 onFind forces to refresh the record when another user modified it
This commit is contained in:
parent
ea70caa08a
commit
3e3f8ac4e9
|
@ -2017,15 +2017,19 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
|
|
||||||
clearTitleRelatedContext();
|
clearTitleRelatedContext();
|
||||||
|
|
||||||
onSave(false, false, new Callback<Boolean>() {
|
// The record was not changed locally
|
||||||
|
if (adTabbox.getDirtyADTabpanel() == null) {
|
||||||
@Override
|
doOnFind();
|
||||||
public void onCallback(Boolean result) {
|
} else {
|
||||||
if (result) {
|
onSave(false, false, new Callback<Boolean>() {
|
||||||
doOnFind();
|
@Override
|
||||||
}
|
public void onCallback(Boolean result) {
|
||||||
}
|
if (result) {
|
||||||
});
|
doOnFind();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void doOnFind() {
|
private void doOnFind() {
|
||||||
|
|
Loading…
Reference in New Issue