88194dd94182ad1bbdcb9aa8f855f30f6369d148
Before this commit, the `<iframe/>` element of the `s_map` snippet would be removed from the field value if the field was sanitized. The map would then not be displayed, obviously. The way that `s_map` snippet work is simple: 1. The snippet is defined with a hidden `<iframe/>` element 2. The snippet options are stored as data attributes on the `<section/>` element. 3. When those options are changed, the iframe `src` is updated and it is shown if needed. The fix is simple, as we already have all the data attributes available, we just need to recreate that iframe when the snippet is started without one. It most likely means it got deleted through the sanitization during the save. opw-2844010 closes odoo/odoo#91866 X-original-commit: c2e9bd0e60014b6a42931cf300e0f89f8cf7c225 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%