755ab306190be4d1bfb11d8b9fd5e7cf4cc34b3f
Commit [1] introduced an cleaning of the iframefallback on page unload, which was removing the `autoplay` attribute of the iframe `src` URL. It was done to prevent video/music to keep playing in the invisible iframe. The fix was not generic and purposely targetted the elements which we identified as problematic. Commit [2] then made that cleaning generic, catching all iframe. Doing so, it was actually catching too many iframes and led to traceback on iframe not having a set `src`. This is the case for every database having a configured reCaptcha, among other things. For reCaptcha, it's because it's adding the following iframe dynamically through their third party script: `<iframe style="display: none;"></iframe>` This commit ensures we only target iframe having an URL attribute being set to something. Step to reproduce (with reCaptcha): - Enable and configure reCaptcha - Go to /contactus - Leave the iframe page, eg click on "Contactus" menu to refresh it -> Traceback [1]: https://github.com/odoo/odoo/commit/ad78585cd514f5ff16647572d34937c18a112529 [2]: https://github.com/odoo/odoo/commit/6be8af36726d750065972e122e8f4a0aa0f56a17 opw-3343450 closes odoo/odoo#123621 X-original-commit: 463d4ee0c8000f948463772b7c96c8d111bcbc8e 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%