25fe8cfbae906c00123622e79272ce2f0724b143
card children
__Current behavior before commit:__ If `child` is not an `Element` (like a Text or a Comment node), the call to `querySelectorAll` at the following line will crash. __Description of the fix:__ End the current loop iteration if `child` is not an `Element` to avoid calling `querySelectorAll` on it. __Steps to reproduce the issue on runbot:__ In 15.0: - Open Email Marketing > Mailings > Create > Second template - Drag and drop a `Comparisons` block - Display source code - Write some text under the `<div class="card ...">` - Save --> Traceback In 16.0+: - Open Email Marketing > Mailings > New > `Start From Scratch` - Drag and drop an `Event` block - Replace one of the image (a comment node will be added [here][1]) - Save --> Traceback opw-3682469 opw-3689181 [1]: https://github.com/odoo/odoo/blob/df1b43a6de5ad15a8fee3713de7d8ec926c61f12/addons/web_editor/static/src/js/backend/convert_inline.js#L715 closes odoo/odoo#150752 X-original-commit: 3d1c95d9d143df35320e97abf898f673f4bb1a68 Signed-off-by: Antoine Guenet (age) <age@odoo.com> Signed-off-by: Julien Launois (jula) <jula@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%