Wednesday, May 4, 2022
3 changes
Enhancements to existing features
This update changes how Enterprise styling settings build on the Community version, making custom visual overrides easier and more consistent across releases. It also removes duplicate styling values and prepares the interface foundation for future theme capabilities such as dark mode.
Original PR description
Following the assumption that enterprise variables were "definitive", prior to this PR 'primary_variables.scss' and 'bootstrap_overridden.scss' files were injected "on top" of their community counterparts. This PR inverts the order and makes use of SCSS '!default' directive to handle the inheriting process. The aim is to ease variables overrides across versions and to achieve that in a more consistent way. These changes will also pave the way for dynamic variables changes, see dark-mode. This PR also removes variables in favor of the values defined in community. community: https://github.com/odoo/odoo/pull/87521 task-2810274
The Sign app was updated to better organize its internal screen logic around reusable view models. This should make future changes easier and safer to maintain, with little direct impact on day-to-day users.
Original PR description
This commit introduces models that define records being 1:1 map with components, as a step to move further to having essentially all business code in models. Having code in models is desirable to have very maintainable code, thanks to robust and declarative code with an ORM-like architecture. Task-2831082 community: https://github.com/odoo/odoo/pull/90427
The Approvals app was adjusted to use a newer internal approach for background operations. This helps keep the module aligned with current platform standards and reduces maintenance risk without changing the user-facing approval workflow.
Original PR description
Task-2837854