Monday, August 24, 2026
2 changes · saas-19.4
Enhancements to existing features
Mail activity and message searches now load records in smaller chunks when a limit is used. This helps views open reliably while still applying access rules, avoiding cases where simple screens could fail because too much data was loaded at once.
Original PR description
When a limit is applied in the search method, fetch the data in small batches like we do in ir.attachment. This allows to search with a limit on views while applying security access. Without this, simple views cannot be opened because the ORM searches for all records before filtering them in memory. Note that this cannot be avoided for group by queries and that if we don't set a limit, we will eventually still fetch everything in smaller batches. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#265203
Odoo restores the default grouping option in the search area for affected views. This helps users keep familiar list organization behavior and avoids disruption from the previous removal.
Original PR description
This reverts commit 7413e08c166ef3123ac7ed6623db1fb366f44e3c (#265574) task-6425644