[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
This commit is contained in:
@@ -271,7 +271,7 @@
|
||||
unloaded: unloaded ? unloaded.map((mod) => mod.name) : [],
|
||||
cycle,
|
||||
};
|
||||
didLogInfoResolve();
|
||||
didLogInfoResolve(true);
|
||||
};
|
||||
odoo.processJobs = function (jobs, services) {
|
||||
var job;
|
||||
|
||||
Reference in New Issue
Block a user