Daily updates from Odoo
Friday, June 6, 2025
8 changes · master
Enhancements to existing features
Updates were made to WhatsApp-related security tests to keep them aligned with recent platform changes. This helps maintain reliable quality checks without changing the user-facing WhatsApp experience.
Original PR description
PR community: https://github.com/odoo/odoo/pull/212074 task-4675777
Knowledge article rows now only show the expand caret when an article has child pages. This reduces visual clutter and helps users understand which articles can be expanded.
Original PR description
Hide the caret icon when the article has no children. task-4830534
The manufacturing work order tests were adjusted after shared test data was reorganized. This keeps the test coverage aligned with recent community changes without affecting day-to-day user workflows.
Original PR description
Some data was removed from the commons and moved to the two specific test classes using those.
The bank statement OFX import feature now loads its parsing tools only when they are actually needed. This can slightly improve system startup time while keeping the import process unchanged for users.
Original PR description
Parsing is often not needed during startup and only used during the related business processes. Therefore, we load it lazily. ofxparser depends on bs4 and both of them can take 100ms to import. odoo/odoo#212408
This update strengthens internal mail performance tests so they better reflect real-world messaging scenarios, including followers, push notifications, and tracking details. It also prevents test runs from making external notification requests and fixes a small issue in mention detection, helping maintain messaging quality with lower release risk.
Original PR description
Improve post performance tests so that
* it effectively includes followers (having a subtype_id);
* it sends push notifications (creating devices and using 'comment'
message type);
* it includes tracking values;
Add mock for push notifications, to avoid VERBOTEN external requests.
Update counters accordingly.
Prepares Task-4845982Appointment website snippets now take configured country availability into account when showing appointment options. This helps visitors see more relevant appointment choices while preserving the existing setup behavior for online appointment configuration.
Original PR description
Take into account the country domain for the appointment snippet. This is not applied to the option of s_appointment_online as it could prevent user to configure the website correctly. task-4461289
Internal test-only helper tools were moved into the testing area to reduce the chance they are used incorrectly in production code. This keeps business features unchanged while improving code organization and long-term reliability across affected test suites.
Original PR description
The `DotDict` class can produce unexpected behaviour if used incorrectly. This commit moves this class so that it is only used in tests. The `MockRequest` context manager uses the `DotDict`. As we cannot import objects from the test framework and `MockRequest` is only used in tests, it makes sense to move it to `odoo.addons.web.tests.utils`. task-4822364
The test setup was simplified so that post-installation tests run by default, removing the need to mark them individually. This reduces maintenance work and helps keep quality checks consistent across Odoo's enterprise accounting modules.
Original PR description
https://github.com/odoo/odoo/pull/143757 https://github.com/odoo/design-themes/pull/764 https://github.com/odoo/documentation/pull/6670