Thursday, January 2, 2025
2 changes · 18.0
Enhancements to existing features
This update improves performance in the Expenses app by making expense lines easier for the system to find by their related expense sheet. Users may notice faster loading or processing in areas that read, submit, or recalculate expense sheet information, especially as data volume grows.
Original PR description
## Why
- Inverse of the One2many `expense_line_ids`, the ORM will search on it to resolve the read on the field
- Used as a traversable dependency of a few compute methods (`@api. depends('sheet_id.xxx')`), index will be hit when ORM resolves the computation of dependencies to know what compute method to call when the dependency changed.
- Frequently used as the traversal field of related fields, index will be hit when reading on the field in SQL in `_traverse_related_sql`.
- Using Full index, as there aren't many `NULL`/`False` entries, as it's moslty pending expense lines that are pending for reporting. So a search on the NULL criteria (done in `get_expenses_to_submit`) will hit the index.
## Reference
task-3977983
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update changes the security support documentation to show that Odoo 15.0 is no longer actively supported. It helps customers and partners plan upgrades and understand which versions remain covered for security maintenance.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr