9f3463aad392c4e5a32dff48aa6e4c3239155101
Steps to reproduce: - Edit - Add a snippet with columns - Save - HTML editor - Set up a border on one column of the snippet with different colors for the top/right/bottom/left sides - Edit - Click on the column => crash This is only an example, but if a colorpicker widget is linked to a SnippetOption instance's `selectStyle` method designed to handle the "border-color" property of an element, the value received can be split if the item uses different colors for its top/right/bottom/left borders. For instance, you could receive "red blue" if the item has red top and bottom borders and blue left and right borders. In that case, the colorpicker widget code would try to add the class "bg-red blue" on its preview item which would crash because of the space inside). After this commit, we simply do not show any color for this case. opw-2803311 closes odoo/odoo#103842 X-original-commit: 484230481cd7195e2c992e673a2b6e627baf505d Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com> Signed-off-by: Romain Derie (rde) <rde@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%