Wednesday, July 1, 2026
2 changes · saas-19.3
Enhancements to existing features
This change speeds up how Odoo retrieves task activity information used by the /mail/data endpoint. By adding a database index, the system can find the relevant records much faster, reducing wait times and improving overall responsiveness.
Original PR description
`/mail/data` is called a lot. It spends roughly 33% of its time on the query fetching task activities in `_get_activity_groups` https://github.com/odoo/odoo/blob/a52b277a4db5f14516717738ca962e3bb3c7180f/addons/project_todo/models/res_users.py#L27 This commit adds an index to speed up the query. - before ~25ms https://explain.dalibo.com/plan/72b26edce8448b51 - after <1ms https://explain.dalibo.com/plan/c4g6851e5b4hh702 task-6327159 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#272712
This update makes Odoo’s logging easier to customize, including support for structured log formats and external logging handlers. It helps teams route, filter, and store logs in ways that better fit their operations, without changing normal logging behavior by default.
Original PR description
Stable friendly backport of #270562 Less elements where moved, cleaned, removed, ... keeping the minimal changes to make it work in stable. Forward-Port-Of: odoo/odoo#273127