01f03b1e1927e66d3deddfa6164f2e930183be55
The messaging service starts synchronously and exposes a promise isReady that is resolved when the call to init_messaging is done. This is good as this call thus doesn't slow down the services startup and thus the webclient mount. Unfortunately, the ChatWindowContainer, which is a main component, i.e. a child of the WebClient, waits for that promise in its onWillStart. As a consequence, the webclient can't be mounted until the rpc returns, which can take a while (in odoo.com, this rpc lasts ~500ms). The chat windows being "peripherical components", there's no reason to block the whole application for them. Instead, the webclient can be mounted, and when they are ready, the chat windows can be rendered. This is what this commit does. Back-port of https://github.com/odoo/odoo/pull/139750/ closes odoo/odoo#140056 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%