Monday, May 5, 2025
4 changes
Enhancements to existing features
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
Returns are now only created after checking their deadline against the company's account opening date and a one-year planning window. This helps avoid creating irrelevant or premature returns, keeping reporting obligations cleaner and more focused.
Original PR description
Now, before generating a return, we compute the deadline of that return. If the return is before the account opening date, we do not generate it. We also only keep return with a deadline within a year from now. In continuation of https://github.com/odoo/enterprise/pull/81569
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