Tuesday, April 25, 2023
4 changes · master
Code cleanup and technical improvements
The appointment-related code has been reorganized to make it easier to maintain and extend. This internal cleanup prepares the appointment setup for future resource-related improvements without changing day-to-day user behavior.
Original PR description
Move fields and methods into categories to prepare the addition of resources for appointment type to improve readibility. Prepare PR odoo/enterprise#37220 task-2453291
This change updates the spreadsheet dashboard documents area to stop relying on an outdated page-loading component that has been removed. It helps keep the dashboard document workflow compatible with the latest platform code without changing the user-facing experience.
Original PR description
This commit removes the import from "web.dom_ready" as the module is removed. This module was used to wait for the content to be loaded to manipulate the dom after that. task id: 3265979
This update continues modernizing Point of Sale and IoT-related components by reducing reliance on older web technology. The change is mainly internal, helping keep these modules easier to maintain and evolve without altering day-to-day business workflows.
Original PR description
*: account_accountant,pos_l10n_se,pos_restaurant_iot,pos_settle_due This is part of the continuous effort of refactoring pos addons towards using more modern modules and programming patterns (such as services). After this commit, point_of_sale addons are now left with the use of the legacy `web.concurrency` module because of the `MutexedDropPrevious`. It's okay to keep because it's relatively an independent module compared to other legacy web module. See https://github.com/odoo/odoo/pull/117231 for more info.
The code editor used by Studio has been moved into Odoo’s core web components so it can be reused in more areas. Studio’s XML editor and related tests were updated, and the older “ace” widget name was replaced with the clearer “code” name for consistency.
Original PR description
The CodeEditor component is needed in other places and therefore it is moved to the web addon as part of the core components. The XmlEditor and some tests had to be adapted for this change. Community PR: https://github.com/odoo/odoo/pull/117782