Daily updates from Odoo
Wednesday, June 19, 2024
3 changes
1 change
Resolved issues and error corrections
This fix makes Odoo's web test runner handle errors in test setup and cleanup steps correctly. Instead of freezing until a timeout, failed test preparation is now reported against the right tests, helping development teams identify issues faster and keep test runs reliable.
Original PR description
Before this PR, throwing an error in any test hook (before, after, beforeEach, etc.) would cause the error to be logged but the test would actually timeout because the runner would freeze. This was due to the runner incorrectly catching errors in hooks. This PR ensures that all these callbacks are properly catched to ensure the errors are assigned to each relevant test and do not clog up the runner's execution. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
2 changes
Resolved issues and error corrections
This fix ensures the accounting settings page can load correctly when users work in translated languages. It removes an unnecessary dependency on visible section titles, reducing the risk of setup screens breaking because labels are translated.
Original PR description
The settings view inherits from the `account` one, and locates the block tag by both `title` and `id`, but: - Once you have the `id` you don't need the `title`. - In case of translated title, it is translated before being inherited, so the arch fails finding it.  Old PR: odoo/enterprise#56686
The demo double opt-in campaign now sends newsletter confirmation messages almost immediately instead of waiting one hour. This improves the subscriber experience by reducing delays during signup confirmation.
Original PR description
This PR update the Demo Campaign Double Opt-in's Trigger Value to 0 Hour, so that subscribers of a newsletter get a close-to instant confirmation instead of an hour later. Task-3976448