Saturday, August 22, 2026
1 change · saas-19.2
Resolved issues and error corrections
This update prevents errors when finding the most recent sales order line linked to a customer in timesheet-related workflows. It keeps the lookup reliable even when the underlying search includes multiple values, helping avoid incorrect or failed task billing links.
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