Saturday, August 22, 2026
1 change · saas-19.1
Resolved issues and error corrections
This fix prevents errors when finding the latest sales order line for a customer in timesheet-related workflows. It keeps existing caching behavior while ensuring customer filters that include multiple values are processed correctly, improving reliability without changing user-facing features.
Original PR description
- Avoid converting list values in `_get_last_sol_of_customer_domain` to an invalid domain structure when computing the last sale order line of a customer. - Fix by using `str(domain)` as the cache key instead of the domain itself, while still passing the original `domain` to `search()`. This keeps the per-domain caching behavior intact and works for any domain, regardless of whether it contains list values. task-6425335 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#281897