diff --git a/addons/hw_posbox_homepage/controllers/main.py b/addons/hw_posbox_homepage/controllers/main.py index 0a940f3861f..d60a7201211 100644 --- a/addons/hw_posbox_homepage/controllers/main.py +++ b/addons/hw_posbox_homepage/controllers/main.py @@ -93,14 +93,7 @@ class IoTboxHomepage(web.Home): wifi = Path.home() / 'wifi_network.txt' remote_server = Path.home() / 'odoo-remote-server.conf' if (wifi.exists() == False or remote_server.exists() == False) and helpers.access_point(): - return configure_wizard_template.render({ - 'title': 'Configure IoT Box', - 'breadcrumb': 'Configure IoT Box', - 'loading_message': 'Configuring your IoT Box', - 'ssid': helpers.get_wifi_essid(), - 'server': helpers.get_odoo_server_url(), - 'hostname': subprocess.check_output('hostname').decode('utf-8'), - }) + return "" else: return homepage_template.render(self.get_homepage_data())