Friday, January 19, 2024
1 change · master
Code cleanup and technical improvements
This update reorganizes how several Odoo apps load messaging-related information by combining multiple server requests into one. It should make startup behavior more consistent and easier to maintain, with little direct change for everyday users.
Original PR description
\* = account_accountant, documents, voip, web_studio,
website_helpdesk_livechat
In particular, init_messaging and failures are now done in a single RPC.
Time control tests have to be adapted to take into account the extra delay that is introduced before fetching data.
Discuss action is made to render even if messaging is not initialized in order to resolve the action promise, to know when to advance time.
The new async step helper is used to guarantee proper order between RPC.
Part of task-3605717
https://github.com/odoo/odoo/pull/149860