Wednesday, January 17, 2024
3 changes · master
Code cleanup and technical improvements
This change streamlines how several Odoo apps request data by routing them through a shared entry point. It supports more efficient batching of requests and updates related tests to validate the new request details.
Original PR description
* = account_accountant, test_discuss_full_enterprise, voip, web_studio The goal is to centralize the entry for all data, allowing to batch all requests together. Tests are adapted to check for params, as the route name itself becomes insufficient. Part of task-3605717 https://github.com/odoo/odoo/pull/149712
The update streamlines how several apps access information about the current user by using session data earlier in the loading process. This is an internal cleanup that helps reduce startup dependencies and supports smoother future improvements without changing day-to-day workflows.
Original PR description
* = approvals, voip, website_helpdesk_livechat This will ease the transition to removing await dependency on init_messaging, as the biggest remaining reason was to know the current user. Part of task-3605717 https://github.com/odoo/odoo/pull/149561
This update removes an outdated email-forcing setting from several Odoo views and wizards, aligning Enterprise behavior with the related Community change. Users should see the same workflows continue to work, with cleaner and more consistent handling of email actions behind the scenes.
Original PR description
This commit is a follow up of its community part : https://github.com/odoo/odoo/pull/143311 task - 3538000 https://www.odoo.com/web#id=3538000&menu_id=4720&cids=1&action=333&active_id=4105&model=project.task&view_type=form