Wednesday, July 27, 2022
7 changes · master
Resolved issues and error corrections
This fix ensures notification listeners are properly added and removed in delivery IoT, spreadsheet collaboration, and VoIP features. It helps prevent missed cleanup or duplicate handling of live updates, improving reliability during ongoing use.
Original PR description
*: delivery_iot, spreadsheet_edition, voip. The callback registered by the bus service method onNotification was not the same unregistered by offNotification. Since those methods were superfluous, they have been remvoed in favor of (add/remove)EventListener.
The IoT longpolling service was adjusted so it no longer responds to browser tab coordination events it does not need. This prevents unnecessary errors when users work with Odoo IoT features across multiple browser tabs.
Original PR description
THe iot_longpolling service is extending the bus service while it does not make any use of it. Before the introducton of the multi tab service, the crosstab bus was calling stopPolling during the heartbeat. Now that the logic for multiple tab has been moved, the crosstab bus subscribes to the 'no_longer_main_tab' event. Before the multi tab, the stopPolling method was never called from the crosstab bus since the startPolling method was never called either. Now that the crosstab bus subscribes to those events in its init method, the stopPolling method of the iot longpolling service can be called by the crosstab bus, without the required argument (iot_ip). This leads to errors. In order to solve this issue, let's remove the unneccessary extension of the bus service.
Progress bars in list views now display with the correct width. This makes table-based progress information easier to read and keeps the interface visually consistent.
Original PR description
This commit fixes the style of the progressbar field widget displayed in a list (table). Since the field is contained in a div, its width was not correctly applied.
This fix ensures the field service guided tour continues correctly when it reaches the signing step. It also places a worksheet-related tour adjustment in the correct module, helping keep future updates and testing more reliable.
Original PR description
This commit fixes https://github.com/odoo/enterprise/pull/29767 as it hadn't been tested after rebase, which obviously changed the tour behavior. This commit also moves the `worksheet` tour override added in https://github.com/odoo/enterprise/pull/29767 to the right module.
The section title for linking a spreadsheet chart to an Odoo menu now uses consistent capitalization. This is a small wording fix that improves polish and consistency in the user interface.
This fixes styling for extra-large form views so layouts such as forms with side chatter display as intended again. The change makes the layout rules more reliable after the web client update, reducing visual glitches for users.
Original PR description
When the form view was converted to the new web client, some classes were no longer applied on the same DOM elements, this caused some css rules to be broken. This commit unnests the o_xxl_form_view rule so that it always applies when appropriate and is less brittle.
The manufacturing work order tablet screen styling was updated to keep working correctly after recent view technology changes. This helps preserve the intended layout and readability for users without changing business workflows.
Original PR description
Following OWL Views migration, `o_legacy_*_view` where introduced to differentiate legacy views from migrated ones. In the mean time, this commit adapts the SCSS selector accordingly. Community: https://github.com/odoo/odoo/pull/96626