Thursday, March 3, 2022
5 changes · master
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.