Tuesday, October 15, 2024
6 changes
4 changes
Enhancements to existing features
The planning time-off module's automated tests were moved to a newer testing framework. This helps keep future maintenance more reliable without changing day-to-day user behavior.
Original PR description
Purpose of this PR: This PR aims to convert QUnit tests which rely on mail/test_utils to hoot. Part of task: 3818666
The accounting reports tests now set the country before applying country-based availability rules. This keeps the test process aligned with the latest validation requirements and helps prevent avoidable failures during development.
Original PR description
In the community PR, a constraint on the availability_condition was added, where if availability_condition is set to country, the country_id should be set. Therefore, in tests where the availability condition is set to country, the country should be set before. task-4160643
This update aligns internal Python class names with their corresponding Odoo model names across accounting-related modules. It improves code consistency and maintainability without changing day-to-day business workflows.
Original PR description
see: https://github.com/odoo/odoo/pull/178200
2 changes
Enhancements to existing features
Developers can now adjust which website content containers are monitored for third-party iframe blocking through a dedicated website method instead of changing hard-coded logic. This keeps consent protection behavior intact while making customer-specific website customizations cleaner and safer to maintain.
Original PR description
Commit [958b41c4] added support to prevent 3rd-party iframes from loading without proper consent. As some iframes are built client-side, preventing them from loading required getting their container by their class. Those classes are stored in a set. Allowing any user to update that set does not make sense, but to make it possible for developers to update it through custos, this commit retrieves it from a method on the Website model instead of hard-coding it in the middle of a function. [958b41c4]: https://github.com/odoo/odoo/commit/958b41c4acec7e1700ca4d6e0b25ee0ad2aac9f1 task-4045932
This update standardizes the names, categories, and short descriptions of service-related Odoo modules. It makes app listings clearer and more consistent for users browsing project, timesheet, helpdesk, field service, and planning features.
Original PR description
Cleaning of the name, category and summary of every module linked to services applications (project, timesheet, helpdesk, field service, planning) taskid:3524126
This update aligns the accounting app with a related platform change that prevents accidental changes or deletions of analytic entries tied to journal items. It helps preserve the integrity of accounting data while still allowing approved system processes to make necessary updates.
Original PR description
Adapt to community PR, which add a context key requirement in order to delete an analytic item related to a journal item. Community PR: odoo/odoo#182608 task-3977961