odoo/upgrade#8653

Created by Website, Robin Lejeune (role)

Blocked

label
odoo-dev:master-media-translation-role
head
3b3196ccda4737fd969db2e540aa66edeaf5403a
odoo/odoo odoo/enterprise odoo/upgrade odoo/design-themes
master #229750 missing statuses missing r+ #96747 missing statuses missing r+ #8653 missing r+ #1171 missing r+

[IMP] website/saas~19.1.1.0: adapt existing carousel indicators images

Before 19.1, image gallery snippets used an image for the main slideshow and a button with a background-image (pointing to the same source) for the carousel indicators at the bottom of the snippet.

PR 229750 makes image src attributes translatable. As we do not want to translate the style attribute, in order to keep the main image of the gallery and the image of the indicator synchronized, the snippet's template was adapted to use an actual img element inside the indicator button.

An upgrade script is therefore needed to not break image galleries already dropped on the page, and to make their translations work as expected.

task-3626918

> Warning Please follow and check the relevant boxes for your PR, otherwise the review may take longer.

For a PR that adds a new upgrade script (for the Odoo's master branch or one of the RR versions):
- [x] I've added the references to the Enterprise and/or Community PRs in the commit message, even if they are already merged.
- [x] I've added an overall description of the changes made in the Community/Enterprise branches.

For all PRs:
- [x] My commit's title follows the right format.
- [x] My commit's body includes information about the changes.
- [ ] I've added odoo/upgrade as a reviewer.
- [x] I've read and understood this list.
- [x] I will ensure all the CI checks are green.

> Note More info can be found in the wiki.