Thursday, February 22, 2024
2 changes · master
Enhancements to existing features
Users creating map views in Studio now receive a clearer message when setup cannot be completed. This helps them understand the issue faster and reduces confusion or support needs during configuration.
This update restructures how IoT devices communicate through web connections, moving print-specific behavior into the printer driver. This makes it easier to support additional connected devices in the future without redesigning the communication flow.
Original PR description
The purpose of this PR is to simplify the implementation of websockets for other devices Before the only message supported by ws was "print" and the websocket_client called _action_default() method Now the message name is 'iot_action' and websocket_client call the action() instead of _action_default, send_to_controller() is now called from the printer driver task-3756857 [odoo/odoo#154543](https://github.com/odoo/odoo/pull/154543)