Thursday, May 29, 2025
3 changes · 17.0
Resolved issues and error corrections
This fix stops Odoo from treating certain failed webpage element loads, such as images or scripts, as application errors when they are only standard browser load events. This reduces unnecessary error noise and helps teams focus on real issues without changing user-facing behavior.
Original PR description
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/error_event See also MDN's img, script and iframe docs. The error Event *doesn't* bubble. We sometimes reject a promise with the Event dispatched by the "error" handler of an HTMLElement. If the code throwing that at us doesn't wrap the event in an actual Error, there is no reason to do more than the spec: we do not handle this error bubbling to us via the Promise being rejected. This allows to silence errors coming from a failed load of an Element that was wrapped into a promise. Website uses that in image_processing for example. runbot-error-70404 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
Notification messages in the mail app are now included in search results. This makes it easier for users to find important updates and communication records that were previously harder to locate.
Original PR description
Make the notification message searchable. Task-4828780
The update prevents an unexpected system error when a sequence is configured with an invalid suffix. Instead, users receive a clear error message so administrators can correct the sequence format without disrupting sales order creation.
Original PR description
This error occurs when the user provides an invalid suffix in ir_sequence. Steps to Reproduce: - Install `sale_managment`. - Open `Sequences` from `Technical` and open `Sales.Order.` - Add Suffix as `S %(y)s %(y + 1)s 000`. - Create a new sale order and save it. `KeyError: 'y + 1'` This error occurs when the system tries to generate a sequence at [1] but receives an invalid suffix format. This commit resolves the error by raising a `user error` for an invalid sequence. Link [1] https://github.com/odoo/odoo/blob/0f452cab601350df1dd1a8322c91a9f7da736873/odoo/addons/base/models/ir_sequence.py#L236 Sentry- 6541044217 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr