Friday, June 20, 2025
2 changes · saas-18.1
Resolved issues and error corrections
Point of Sale now checks whether it can reach the Odoo server before treating the browser as offline. This prevents tests and local setups without external internet access from being incorrectly blocked when the server is still available.
Original PR description
Runbot tests will soon be run in dockers with no access to the outside world, so all their interfaces will be disconnected. The problem is that the browser considers itself offline when no interface is connected. However, in this case, if the Odoo server is still accessible. This method also makes it possible to run local tests when no connection is available and an Odoo server is running locally. A ping is required to verify that the connection to the server is not possible.
This fixes a situation where cancelling an install or uninstall action could put a module into the wrong status if it had already changed in another tab or during a bulk action. Users should no longer see confusing missing-dependency errors when cancelling module changes that are no longer pending.
Original PR description
Currently a missing dependency error is generated when the user clicks the `Cancel Install` button on an already installed module. This issue may occur due to the below reason: - When the user installs multiple modules at once, the user may click `Cancel Install` on laready installed module - In the duplicate tab scenario, the user module is installed from one tab, and the user clicks `Cancel Install` on another tab. Error : `Some modules are not loaded, some dependencies or manifest may be missing...` This commit will fix the above issue by writing state as 'uninstalled` when the module state is `to install`. Also, the same for `Cancel Uninstall` write the module's state as `installed` when its state is 'to remove' sentry-3928883995