Thursday, October 23, 2025
3 changes · saas-18.2
Enhancements to existing features
This update suppresses misleading package-version warnings that appeared in certain Ubuntu Jammy environments. It keeps logs cleaner and helps teams focus on meaningful system issues without changing business functionality.
Original PR description
Apparently on jammy the pdfminer package returns nonsensical versions (the distribution for `pdfminer.six` yields `-VERSION-`, and inside the python code the `__version__` is `__VERSION__`). When trying to look up the distribution for the (invalid as a distribution name) `ldap`, as a fallback `pkg_resources` parses every package on the sys.path before returning a lookup failure. Doing so, it encounters `pdfminer` fails to parse its version as a `Version`, warns that that is deprecated, then parses it using the more lenient `LegacyVersion` and warns that this is also deprecated. Since this is a packaging issue in just jammy and we can't really do anything about it, just sweep the issue under the rug. https://runbot.odoo.com/odoo/error/163677 Forward-Port-Of: odoo/odoo#232650
This update includes VoIP-related modules in the project's automated code quality checks. It helps maintain consistency and reduce future issues in these modules, with no direct change for end users.
Original PR description
Forward-Port-Of: odoo/odoo#232484
This update improves performance when Odoo links sales orders to projects for reinvoicing. It helps avoid slower database scans, which can make related sales and project views respond faster in larger databases.
Original PR description
This commit adds an index on `project.project. reinvoiced_sale_order_id`, because the search in `sale.order. _compute_project_ids` might not be selective enough based on `sale_order_id`, which is a related field using `sale_line_id`. Since it's related, there is only a where clause on `sale_line_id IS NOT NULL`, which might not be selective enough and leads to a Seq. Scan of the `project_project` table. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#232623