a17b386254ff2d590e12adaa7d34da563b8a153d
Before [this other commit], it was possible to add a wrong video on a page of its website. If the user did this and saved the page, it was no longer possible for him to enter edit mode. To solve this, two improvements have been made: 1. We now prevent the user from putting a wrong video on his page when he goes through the media dialog (see [this other commit]). 2. Since there are probably websites that have a bad video (it was possible before [this other commit]), this commit allows users to edit the pages that have these wrong videos. Steps to reproduce before [this other commit]: - Edit a page. - Via the media dialog add a video with the following URL: 'google.com'. - Save the page. => It is no longer possible to enter edit mode. Note that part 1 was merged from 14.0 but part 2 was merged from 16.0 because the media dialog adds `iframe` without `src` attribute since [the refactor of the media dialog] and we cannot edit a page containing this code `<div class="media_iframe_video"><iframe/></div>` since the merge of the frontend into the backend. [this other commit]: https://github.com/odoo/odoo/commit/fbab1bffa033638553750d49fcde89a9a2fc5e6c [the refactor of the media dialog]: https://github.com/odoo/odoo/commit/7fd0698cf765a79959566b51e33cb76bff83d344 opw-3167707 closes odoo/odoo#116128 X-original-commit: 242d6f2e1dc35c3d22314a4c92c2420f69eb9970 Signed-off-by: Romain Derie (rde) <rde@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com> Signed-off-by: Guillaume-gdi <gdi@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%