c6ec2c5e04982a51a272aaade429045ecde604e1
This commit fixes two bugs with the colorpicker that occur since [1]. Steps to reproduce the 3rd bug: - Go to Website edit mode. - Click on the header. - Choose "Over The content" for the "Header Position" option of the header. - Change the color of the header by picking a color in the "Background" sub option (below the "Header Position" selector). - Save and Edit. - Go with your mouse over the different colors of the colorpicker (at least 2). - Bug: an infinite loader appears on the iframe and prevents from editing the background color. Steps to reproduce the color combinations bug: - Go to Website edit mode. - Drop a Call to action snippet. - Change the background color and try to select another preset. - Bug: the color of the text and buttons is updated, but not the background color. Both of these 2 bugs happen after commit [1] because the colorpicker widget is started before the ColorPalette component is attached to the DOM (which only happens once the user opens the picker). However, the colorNames are only set after the setup() of the ColorPalette. Initializing the colorNames with possible default values is thus necessary to avoid bugs on `_computeWidgetState()`. [1]: https://github.com/odoo/odoo/commit/d7245d2abf528d093226c80e40975e63d61e8997 task-3440939 closes odoo/odoo#137306 X-original-commit: https://github.com/odoo/odoo/commit/2ccc01175080ddb549660713d6101dd936e0d304 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%