Monday, May 5, 2025
8 changes · master
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
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
Miscellaneous changes
In this commit, we prefer to use click on element instead of press Tab because tab will directly focus the other range period input. Forward-Port-Of: odoo/enterprise#83395 Forward-Port-Of: odoo/enterprise#82937
Original PR description
In this commit, we prefer to use click on element instead of press Tab because tab will directly focus the other range period input. Forward-Port-Of: odoo/enterprise#83395 Forward-Port-Of: odoo/enterprise#82937
The compute method was removed in this commit, but is declared in the field. commit : https://github.com/odoo/enterprise/commit/70d96c44bb834ecbe89b5720ae18a93038301796#diff-2f3d348951d6293f7e805819d7053ac4ec65994bbacc829dac5dc68b00c932c> Traceback: --- `AttributeError: 'product.product' object has no attribute '_compute_pricer_display_price'` This commit removes the compute declaration from the field. sentry-6547636163 Forward-Port-Of: odoo/enterprise#83599
Original PR description
The compute method was removed in this commit, but is declared in the field. commit : https://github.com/odoo/enterprise/commit/70d96c44bb834ecbe89b5720ae18a93038301796#diff-2f3d348951d6293f7e805819d7053ac4ec65994bbacc829dac5dc68b00c932c> Traceback: --- `AttributeError: 'product.product' object has no attribute '_compute_pricer_display_price'` This commit removes the compute declaration from the field. sentry-6547636163 Forward-Port-Of: odoo/enterprise#83599
Currently, the “Unpaid” and “Late” buttons in the sale journal dashboard used the total invoice amount instead of the remaining due amount when account_3way_match was installed. Steps to reproduce: - Install account_3way_match - Create and partially pay an invoice - Go to the dashboard - The displayed amount should reflect the residual, but it shows the full amount This fix restores the expected behavior by using the same logic as the original `_get_open_sale_purchase_query` to compute
Original PR description
Currently, the “Unpaid” and “Late” buttons in the sale journal dashboard used the total invoice amount instead of the remaining due amount when account_3way_match was installed. Steps to reproduce: - Install account_3way_match - Create and partially pay an invoice - Go to the dashboard - The displayed amount should reflect the residual, but it shows the full amount This fix restores the expected behavior by using the same logic as the original `_get_open_sale_purchase_query` to compute `amount_total` and `amount_total_company`. opw-4731478 Forward-Port-Of: odoo/enterprise#83823
Forward-Port-Of: odoo/enterprise#84045 Forward-Port-Of: odoo/enterprise#84014
Original PR description
Forward-Port-Of: odoo/enterprise#84045 Forward-Port-Of: odoo/enterprise#84014
The aim of this commit is slightly changing the chatter's behavior in the bank reconciliation widget. Before this commit, the user activated/deactivated the chatter by clicking on a chatter icon available on each statement line. Although this feature is still existing to activate the chatter, we add a new button on the top corner right where the user can activate / deactivate the chatter. We also change the selected move id when you select another statement line, it's not necessary to click on
Original PR description
The aim of this commit is slightly changing the chatter's behavior in the bank reconciliation widget. Before this commit, the user activated/deactivated the chatter by clicking on a chatter icon available on each statement line. Although this feature is still existing to activate the chatter, we add a new button on the top corner right where the user can activate / deactivate the chatter. We also change the selected move id when you select another statement line, it's not necessary to click on the chatter icon to do it. This commit also introduces a cleaner way of working with several components to activate / deactivate the chatter by using a customer service. task-4750009 [FIX] account_accountant: Remove bus usage and use own service The aim of this commit is removing 2 usages of the event bus where we need to do synchronous calls. This commit will use the brand-new service developed for the bank reconciliation widget. no task id Forward-Port-Of: odoo/enterprise#84283