From e09d6c6beb101defd93bd9e7259d4a74e1aeb10d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 21 Apr 2024 15:24:26 +0200 Subject: [PATCH] Wait for display to finish when reloading record --- sao/src/screen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sao/src/screen.js b/sao/src/screen.js index 3e7ecf36e6..954a60dcd4 100644 --- a/sao/src/screen.js +++ b/sao/src/screen.js @@ -1927,7 +1927,7 @@ promises.push(this.group.parent.root_parent.reload()); } return jQuery.when.apply(jQuery, promises).then(() => { - this.display(); + return this.display(); }); }, get_buttons: function() {