From 7962484c81187ee3b16c7ea43682ca615a45d9ee Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Tue, 12 Oct 2021 12:21:56 +0000 Subject: [PATCH] [FIX] web: make loading promise boolean-returning, The new handler changes the behavior of `wait_ready`: before it would wait for the `ready_code` to be `true` *or a settled promise*. Now it waits for `wait_ready` to resolve to true, whether it's a promise or not. Part-of: odoo/odoo#77735 --- addons/web/static/src/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/boot.js b/addons/web/static/src/boot.js index 603811253f4..25d1c72acbb 100644 --- a/addons/web/static/src/boot.js +++ b/addons/web/static/src/boot.js @@ -271,7 +271,7 @@ unloaded: unloaded ? unloaded.map((mod) => mod.name) : [], cycle, }; - didLogInfoResolve(); + didLogInfoResolve(true); }; odoo.processJobs = function (jobs, services) { var job;