Sunday, March 31, 2024
1 change · master
Code cleanup and technical improvements
This update streamlines how Odoo Enterprise manages light and dark color themes. It removes an older workaround that is no longer needed now that Studio fully supports dark mode, reducing complexity and improving maintainability without changing expected user behavior.
Original PR description
*: website_enterprise This commit removes unnecessary complexity to the color_scheme service. Most of those changes were introduced in commit (1) to improve the experience when navigating to Studio, since dark mode was not supported. After commit (2), Studio module supports dark mode fully, and the patch of the service was no longer necessary. This commit removes the need for the extra cookie 'configured_color_scheme', and simplifies the service once again. 1) https://github.com/odoo/enterprise/commit/fda6f9cc47b9f9849155032fc0c53983a561e15d 2) https://github.com/odoo/enterprise/commit/f71d2a04fdada581c2e23776883c6fda6a21b8da