Daily updates from Odoo
Friday, August 23, 2024
5 changes
1 change
Enhancements to existing features
This update improves Odoo's internal Hoot testing framework, making automated tests more accurate, easier to diagnose, and faster to use. It helps developers catch issues earlier and reduces the risk of unstable test results without changing business features for end users.
Original PR description
## Pull Request HOOT (PRHOOT) - part 22 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 22 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 Enterprise: https://github.com/odoo/enterprise/pull/68721 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
4 changes
Enhancements to existing features
This update removes reliance on an older database query helper across several reporting and data cleanup areas. It keeps payroll, recruitment, planning, timesheet forecasting, and data cleaning reports aligned with the main platform’s database practices, reducing maintenance risk without changing day-to-day user workflows.
Original PR description
odoo/odoo#173992
This update adds automated test coverage for reacting to WhatsApp messages. It helps ensure upcoming WhatsApp messaging improvements work reliably before they reach users.
Original PR description
Preparation for PR odoo/odoo#170553
This update adjusts website sales and rental test tours to use the latest shared testing utility structure. It is an internal quality improvement that helps keep automated checks maintainable without changing customer-facing behavior.
This update improves how translated messages are built across multiple Odoo Enterprise apps, reducing cases where parts of messages could stay untranslated or appear in an unnatural word order. This helps deliver clearer, more accurate wording for users working in languages other than English.
Original PR description
There are many places in the code where translated strings are concatenated to other strings, translated or untranslated. While it is sometimes the right thing to do, there are also a lot of problematic cases: - When concatenating untranslated strings, it obviously means they won't be translated, even though they sometimes should be - Even if they don't need to be, the order of words can vary greatly between languages, and including it makes reordering easier. - The same issue can arise when concatenating multiple translated strings, especially if they are part of one sentence. This commit fixes the problematic occurrences of concatenation. It also adds some named placeholders and uses of the `format_list` helper. Community: https://github.com/odoo/odoo/pull/171425 Task-3997249