e70cc2ea8697006fe3f4686b89035f5d709ff4fe
Steps to reproduce (on Chrome with browser cache enabled): - Go to website > Create a new blog post. - Switch to edit mode > Add an image to the blog cover from unsplash. - After save, switch to a secondary language > Unsplash images disappear and you need to refresh the page to get them to appear. This behaviour is a "very specific" Chrome related issue: when switching language, Chrome cannot load inline background images correctly right after the redirect... and unlike other image URLs, background images don't have the language code prefix (The `url_for()` will add the language code before the image "src" E.g. `<img src="/unsplash/...."/>` => `<img src="/fr_BE/unsplash/...."/>` when switching to `fr_BE`...). The goal of this commit is to prevent this behaviour by adapting the "background-image" URLs in the same way as image "src". opw-3412961 closes odoo/odoo#131891 X-original-commit: 5f20f50f9a9fd4bc5145d380609cdca80a8d7511 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%