Thursday, July 22, 2021
3 changes · master
Resolved issues and error corrections
Kanban boards now behave correctly when filters are active, including when cards are moved between columns or search criteria change. This prevents misleading column progress bars and refreshes emptied filtered columns, giving users a more accurate view of their work.
Original PR description
Task 2454209 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
Report download errors are now shown in a helpful dialog instead of displaying a technical traceback. This lets users follow a redirect to fix missing company information, such as Belgian VAT details, and retry the export with less disruption.
Original PR description
Try to download a report file but knowing that the controller will raise an Exception in the case of l10n_be: Tax Report Remove the VAT number on the Belgian Company and export the report as xml Before this commit, the error was not well handled, i.e. a traceback was shown After this commit, a Redirect dialog is shown, giving the possibility to the user to go on the company's list view and change some company's fields. 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
This fix restores the progress message shown while users upload media in the web editor. Users can once again see upload status clearly, reducing confusion during image or file uploads.
Original PR description
In odoo/odoo#72675 the new services were made available in the frontend, and calls to the legacy notification services were redirected to the new notification service. However, some of the behaviour of the legacy notification service was not replicated in the new one, like the ability to pass an HTML element to use inside the notification. While html content can be passed, it is cloned, meaning that the DOM of the element cannot be manipulated by the caller, which is what was being done to show progress during media upload. Although the upload progress toast looks like a notification, it's hardly a standard notification and adds a lot of behaviour, because manipulating DOM directly when it is managed by owl cannot be done safely, it has been decided to simply make it its own widget separate from the notification service, which can manipulate its own DOM freely. task-2607393