From f30d8934cb2c79267cceeee5995c08605cf77958 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 : 7.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 70232adf88..fc941a4101 100644 --- a/sao/src/screen.js +++ b/sao/src/screen.js @@ -1919,7 +1919,7 @@ promises.push(this.group.parent.root_parent.reload()); } return jQuery.when.apply(jQuery, promises).then(() => { - this.display(); + return this.display(); }); }, get_buttons: function() {