Daily updates from Odoo
Friday, November 29, 2024
5 changes
3 changes
Code cleanup and technical improvements
This update aligns WhatsApp notification naming between different parts of the system, reducing internal inconsistency. It is a small maintenance change that helps keep the codebase easier to maintain without changing business workflows.
Original PR description
Enterprise counter-part. https://github.com/odoo/odoo/pull/188878
The delivery IoT package workflow now determines available scales from the specific stock move lines being packed rather than the broader transfer. This keeps the process aligned with recent inventory changes and helps ensure the right scale options appear during packing.
Original PR description
To adjust for the change made in https://github.com/odoo/odoo/pull/171743, available scales in `choose.delivery.package` is now retrieved from the move lines not the picking. Task-4023634
Child financial reports no longer automatically run setup logic from their parent report, reducing the chance of duplicate or unexpected processing. This makes report behavior more predictable and lowers the risk of errors in localized accounting reports.
Original PR description
Child account reports would execute the _custom_options_initializer method from their root report. It's not intuitive and error prone and can lead to executing _custom_options_initializer multiple times if the child handler inherits it's root handler. Executing root _custom_options_initializer should (only) be done by inheriting the root handler. Task: 4318404
2 changes
Code cleanup and technical improvements
This change slightly reduces the default waiting time between automated tour checks, helping test flows complete faster when no custom delay is set. It is an internal performance improvement for Odoo's website and web tour testing and should not change the customer-facing experience.
Original PR description
By default, the checkdelay is 500ms when it is not stipulated in a tour. For performance reasons, we reduce this delay to 400ms. 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
This update improves and simplifies Odoo's automated test infrastructure across accounting, appointments, CRM, documents, and spreadsheets. It helps test suites run more consistently and efficiently, reducing the risk of regressions reaching users without changing day-to-day product behavior.
Original PR description
## Pull Request HOOT (PRHOOT) - part 27 Part 1: https://github.com/odoo/odoo/pull/152930 Part 2: https://github.com/odoo/odoo/pull/153018 Part 3: https://github.com/odoo/odoo/pull/153023 Part 4:…
## Pull Request HOOT (PRHOOT) - part 27 Part 1: https://github.com/odoo/odoo/pull/152930 Part 2: https://github.com/odoo/odoo/pull/153018 Part 3: https://github.com/odoo/odoo/pull/153023 Part 4: https://github.com/odoo/odoo/pull/153203 Part 5: https://github.com/odoo/odoo/pull/153425 Part 6: https://github.com/odoo/odoo/pull/153700 Part 7: https://github.com/odoo/odoo/pull/154054 Part 8: https://github.com/odoo/odoo/pull/154579 Part 9: https://github.com/odoo/odoo/pull/155073 Part 10: https://github.com/odoo/odoo/pull/155639 Part 11: https://github.com/odoo/odoo/pull/156255 / https://github.com/odoo/enterprise/pull/58135 Part 12: https://github.com/odoo/odoo/pull/156869 Part 13: https://github.com/odoo/odoo/pull/158384 / https://github.com/odoo/enterprise/pull/59019 Part 14: https://github.com/odoo/odoo/pull/158916 Part 15: https://github.com/odoo/odoo/pull/160292 / https://github.com/odoo/enterprise/pull/59971 Part 15.5: https://github.com/odoo/odoo/pull/166463 Part 16: https://github.com/odoo/odoo/pull/166311 Part 17: https://github.com/odoo/odoo/pull/168328 Part 18: https://github.com/odoo/odoo/pull/171004 / https://github.com/odoo/enterprise/pull/65657 Part 19: https://github.com/odoo/odoo/pull/171242 / https://github.com/odoo/enterprise/pull/65767 Part 20: https://github.com/odoo/odoo/pull/173332 / https://github.com/odoo/enterprise/pull/66895 Part 21: https://github.com/odoo/odoo/pull/174337 Part 22: https://github.com/odoo/odoo/pull/176777 / https://github.com/odoo/enterprise/pull/68721 Part 23: https://github.com/odoo/odoo/pull/179660 / https://github.com/odoo/enterprise/pull/69728 Part 24: https://github.com/odoo/odoo/pull/181971 Part 25: https://github.com/odoo/odoo/pull/183358 Part 26: https://github.com/odoo/odoo/pull/186403 / https://github.com/odoo/enterprise/pull/73361 Community: https://github.com/odoo/odoo/pull/187034 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. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr