Monday, May 5, 2025
6 changes · master
Enhancements to existing features
Message drafts in Mail now save and restore user mentions, so people tagged in an unfinished message remain tagged when the draft is reopened. This reduces missed notifications and avoids users needing to re-add mentions after leaving a draft.
Original PR description
Before this PR, mentions where not stored in the localStorage for drafted composer. This PR adds/and restore the mentions for the composer. task-4547310
Odoo now uses standard browser cache controls when loading web client menus instead of adding a unique timestamp to each request. This keeps menu loading behavior reliable while using a cleaner, more browser-friendly approach behind the scenes.
Original PR description
Before this commit, a unique (timestamp) argument was sent to prevent the browser from caching the calls to `/web/webclient/load_menus`. This is not the correct way to prevent the browser from caching, in this commit we will use the cache options of the fetch function, see [1][2]. [1]: https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch [2]: https://developer.mozilla.org/en-US/docs/Web/API/RequestInit
This update fixes a small typo and makes developer comments in the web module more consistent. It does not change how the software works, but helps keep the code easier to read and maintain.
Original PR description
Very quick check of the file: a typo was seen, so this is fixing it and at the same time changing a bit the comments throughout the file so that they are more uniform (max 80 chars per line, conjugated verb at the start, etc), even if it was already very good.
The web enterprise interface now uses standard browser cache controls when loading menus instead of adding a unique timestamp to each request. This keeps menu loading behavior reliable while using a cleaner, more maintainable approach.
Original PR description
…ument Before this commit, a unique (timestamp) argument was sent to prevent the browser from caching the calls to `/web/webclient/load_menus`. This is not the correct way to prevent the browser from caching, in this commit we will use the cache options of the fetch function, see [1][2]. [1]: https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch [2]: https://developer.mozilla.org/en-US/docs/Web/API/RequestInit
The Web Studio test suite was adjusted to stay aligned with recent chatter behavior changes from the related community update. This helps keep quality checks reliable without changing the day-to-day user experience.
Original PR description
PR community https://github.com/odoo/odoo/pull/207759 Task-4685400
Users will now see a more helpful message if the OCR service version used by their Odoo installation is no longer supported. This replaces a generic error with clearer guidance, reducing confusion when document scanning cannot proceed.
Original PR description
When the OCR version used in this version of Odoo won't be supported anymore, the users will get a more meaningful message than "An error occurred", the default error message. task-none