Daily updates from Odoo
Thursday, February 22, 2024
4 changes
2 changes
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)
2 changes
Enhancements to existing features
This update adds a new manifest key called 'maintenance_loc' that allows modules to store their actual lines of code count. This is particularly important for data modules where automatic code counting tools are inaccurate. By hardcoding this value in the module manifest, the system can now provide accurate code metrics for reporting and maintenance purposes.
Original PR description
For data modules, cloc is not accurate based on the path. It is therefore needed to compute it on a database where this module was imported. This new key allows us to save the value in the manifest so that the number of lines of code will be hardcoded into the modules. This is only used for industries for now.
This update reorganizes the menu options in the Point of Sale interface by moving 'Close session' and 'Backend' options to the bottom of the menu list. This improves the user experience by placing less frequently used administrative actions at the end, making the most common operations more accessible at the top of the menu.
Original PR description
-Move menu options to have 'Close session' and 'Backend' at the bottom of the list task id: 3759943 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr