From 958148c8d13d05088ffa00cd8cc96b1b5d97cfeb 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 (grafted from 9023fdf384db2961e4dea922f5194b09f879834f) --HG-- branch : 6.0 --- 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 49e6c51046..9acede54ab 100644 --- a/sao/src/screen.js +++ b/sao/src/screen.js @@ -1926,7 +1926,7 @@ promises.push(this.group.parent.root_parent.reload()); } return jQuery.when.apply(jQuery, promises).then(function() { - this.display(); + return this.display(); }.bind(this)); }, get_buttons: function() {