If IoT Box is in access point mode and a server is configured the box try to reach the server. But in access point mode all requests are redirected to the box So now before return True in function 'get_odoo_server_url' we verify if the service 'hostapd' is inactive closes odoo/odoo#46141 X-original-commit: 365f0e384630bad16e0872d2307702fca5a4e295 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>