Friday, March 21, 2025
3 changes · 18.0
Enhancements to existing features
Opening the vendor bills list is now much faster when Odoo checks for possible duplicate bill references. This reduces waiting time for accounting teams, especially on large databases with many bills.
Original PR description
Description: ------------ Following commit 4e7b5e44b292dc41217e4c50048b8bb8408246f5, the list view for bills now shows a colored highlight on the bill's reference if there is a potential duplicate, and the matching on the invoice date was relaxed to include potential bills from the same year. This caused a performance regression, as the index on `invoice_date` could no longer be used since the year is now extracted from it. This patch adds a partial 'btree' index on the `ref` field specifically for bills, as it is the most discriminatory factor when identifying potential duplicates. Benchmark: ---------- On a database with 6M `account_move` records, 230k of which are `'in_invoice'` & `'in_refund'`, `_fetch_duplicate_reference`, triggered when opening the list view of bills, took: | Before | After | Speedup | |--------|-------|---------| | 19.8s | 20ms | 990x | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves Odoo's internal Hoot testing framework and related unit tests, making test results clearer and reducing cases where tests are accidentally skipped or behave inconsistently. These changes are limited to the test ecosystem, helping developers maintain quality without affecting normal business operations.
Original PR description
## Pull Request HOOT (PRHOOT) 29 This pull requests brings various improvements and fixes to Hoot and the Odoo unit test ecosystem. See the different commit messages for more details. Note: these changes are made in stable to avoid having to support multiple versions of the HOOT API. As such, these changes are intended to be strictly limited to unit tests as to not put the rest of the code base at risk. Enterprise: https://github.com/odoo/enterprise/pull/81834 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Product and combo configurator cards now show larger, clearer images and cleaner attribute details. The layout is also adjusted for smaller screens, making product selection easier for customers on mobile devices.
Original PR description
Increase image size from 128 to 256 for combo items in the configurator opw-4630831 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr