Daily updates from Odoo
Saturday, October 12, 2019
2 changes
Resolved issues and error corrections
The IoT display driver now checks whether the server successfully returned a display URL before trying to use it. This prevents error messages from being treated as web addresses, reducing failed or confusing display loading behavior.
Original PR description
[FIX] iot: DisplayDriver load_url error We didn't check the status of the response of the server when getting the url of the display. If the status was different from 200, we tried to use the error response as URL. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#38512
This update prevents an error in the IoT module when a device has no IP address recorded. It helps keep IoT device records stable even when optional network information is unavailable.
Original PR description
[FIX] iot: avoid cache miss if no ip Since the ip field is not required, the _compute_ip_url will crash because it will try to add a boolean and a string Forward-Port-Of: odoo/enterprise#6050