60864de16b43f755aeff4d5cc7cb12472d08cfe2
get_ip and get_mac_address respectively try to get the IP and MAC from the IoT box's active network interface. If the interface isn't fully up yet (due to waiting on a slow DHCP server response for example), both functions can end up raising a KeyError exception since neither interface has a value. This can be bad if it's uncaught and happens in something like the Manager thread, potentially killing it as a result. This can then disrupt the rest of the application. The network being gone for a bit or slow is something that can happen during everyday use, so we should be robust against it. Since the box can't do any useful work without an active network connection, this fix keeps retrying until one of the interfaces comes back up. opw-2357144 closes odoo/odoo#77052 X-original-commit: d0359858b17fb84c04c267bdf5cc1626569f5cce Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%