Wednesday, February 4, 2026
1 change · saas-18.4
Enhancements to existing features
Product category publishing checks now use a more efficient grouped lookup instead of loading and scanning large product lists. This reduces memory usage and helps online shops with many products stay more responsive and stable.
Original PR description
Previously the function was fetching all the product template ids and looping over them for each product template. This triggered the prefetch_ids and prefetch fields for these products which would cause memory issues due to the bloat of the cache from the prefetcher. The current way is a read_group over the categories and check if category id exists or not. Backport of odoo/odoo#239499 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr