Thursday, June 18, 2026
2 changes · saas-19.1
Enhancements to existing features
This update enhances navigation between customer invoices and sold assets. Now, invoices linked to a sold asset are directly accessible from the asset's chatter, and vice versa. This streamlines workflows and provides easier access to related financial information.
Original PR description
This commit improves the navigation from a sold asset to the customer invoice and vice versa. A reference link of the sold asset is added to the chatter of each invoice used in sale. Also, all invoices used in sale are added as reference link to the asset's chatter. task-4413649 Forward-Port-Of: odoo/enterprise#118665
This update optimizes a key process in Odoo's accounting system, specifically when validating journal entries. By caching a frequently used calculation, the system now responds more quickly, especially when handling multiple journal entries or complex transactions. This results in a smoother and more efficient user experience.
Original PR description
The method `get_relevant_plans` is called in `_validate_distribution`, which is often called in loops, for instance when validating the analytic distribution of multiple journal entries or of journal entries with multiple lines. That method is doing a lot of work by filtering all the plans and all the applicabilities every time, which can be avoided since the `kwargs` are likely to often be the same ones. Forward-Port-Of: odoo/odoo#269155