Daily updates from Odoo
Thursday, March 3, 2022
13 changes · master
Resolved issues and error corrections
This update fixes unstable automated tests in the project planning area so they produce consistent results. It helps maintain confidence in future changes by reducing random test failures that can slow down development and releases.
Original PR description
Prior to this commit: - Tests were failing in an indeterministic way due to queryCounters and calls to has_group() which seemed to be called 2 more times than usual in certain circumstances. After this commit: - The combined use of warmup decorator and invalidate_cache will ensure that the queryCounter is only made on relevant queries. - This commit also add missing messages in some asserts.
Code cleanup and technical improvements
Odoo Enterprise notifications were visually updated to better match the version 16 design refresh, including sharper toast styling and adjusted shadows. Related automated tests were updated so barcode and Studio workflows continue to validate correctly with the new notification appearance.
Original PR description
This commit will add a border-radius of 0 to the toast of the notification component instead of a rounded border-radius for community and changes somes values for the tests. This commit is part of v16 overall restyle and cleaning ; and in this case, the notification component that has a new look and its SCSS cleaned up. Related to: https://github.com/odoo/odoo/pull/82524 task#2719037
Several business-facing views were aligned with a broader layout update in Odoo. This keeps dashboards, cohort reports, maps, documents spreadsheets, and website sales reporting consistent and easier to maintain without introducing major functional changes.
This update removes an obsolete internal parameter from the Sale Coupon TaxCloud area. It has no expected impact on day-to-day use, but helps keep the code simpler and easier to maintain.
Original PR description
This parameter was introduced in this commit fe41fb2 and is no longer used.
Several enterprise views, including dashboards, maps, cohorts, and spreadsheet-related tests, were updated to use Odoo's newer interface foundation. This is an internal modernization that helps keep these business tools maintainable and aligned with the main Odoo platform without changing day-to-day functionality.
Original PR description
This commit is the enterprise counter-part of odoo/odoo#85631
This update modernizes internal web, mobile, dashboard, and studio test code by removing temporary reliance on older component behavior. It helps keep the platform aligned with the current frontend framework and reduces future maintenance risk, with little direct impact on end users.
Original PR description
*: web_mobile, web_studio This commit adapts the code of tests to remove the use of the LegacyComponent, which was used temporarily since owl 2 no longer supports comp.el on Components.
Miscellaneous changes
Forward-Port-Of: odoo/enterprise#24900 Forward-Port-Of: odoo/enterprise#24825
Original PR description
Forward-Port-Of: odoo/enterprise#24900 Forward-Port-Of: odoo/enterprise#24825
A previous PR (see odoo/enterprise#9339) added a filtering on the accepted files when uploading a custom HomeMenu background with Studio. This commit restores that behavior by letting the user selects image files only. task-2766273 Forward-Port-Of: odoo/enterprise#24594
Original PR description
A previous PR (see odoo/enterprise#9339) added a filtering on the accepted files when uploading a custom HomeMenu background with Studio. This commit restores that behavior by letting the user selects image files only. task-2766273 Forward-Port-Of: odoo/enterprise#24594
A calendar event id was set in the appointment type action which made the related tree view of events always open the same calendar event record. Introduced by commit 9f98add Task-2781359 Forward-Port-Of: odoo/enterprise#24841
Original PR description
A calendar event id was set in the appointment type action which made the related tree view of events always open the same calendar event record. Introduced by commit 9f98add Task-2781359 Forward-Port-Of: odoo/enterprise#24841
A previous PR (see odoo/enterprise#9339) added a filtering on the accepted files when uploading a custom app icon in Studio. This commit goes further by restricting to PNG files only as the rest of the codebase for app icons only properly handles this image format (see "data:image/png;base64..." in the IconCreator upload handler). As an example, when trying to upload a JPEG file, the icon won't be displayed properly. task-2766273 Forward-Port-Of: odoo/enterprise#24916 Forward-Port-
Original PR description
A previous PR (see odoo/enterprise#9339) added a filtering on the accepted files when uploading a custom app icon in Studio. This commit goes further by restricting to PNG files only as the rest of the codebase for app icons only properly handles this image format (see "data:image/png;base64..." in the IconCreator upload handler). As an example, when trying to upload a JPEG file, the icon won't be displayed properly. task-2766273 Forward-Port-Of: odoo/enterprise#24916 Forward-Port-Of: odoo/enterprise#24584
Task: 2736446 Currently: - When all statement lines are automatically reconciled, users see a blank screen Should be: - Users should see a notification about the automatic reconciliation Forward-Port-Of: odoo/enterprise#23946
Original PR description
Task: 2736446 Currently: - When all statement lines are automatically reconciled, users see a blank screen Should be: - Users should see a notification about the automatic reconciliation Forward-Port-Of: odoo/enterprise#23946
Forward-Port-Of: odoo/enterprise#24741 Forward-Port-Of: odoo/enterprise#24730
Original PR description
Forward-Port-Of: odoo/enterprise#24741 Forward-Port-Of: odoo/enterprise#24730
Forward-Port-Of: odoo/enterprise#24888 Forward-Port-Of: odoo/enterprise#24827
Original PR description
Forward-Port-Of: odoo/enterprise#24888 Forward-Port-Of: odoo/enterprise#24827