mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] theme_*: upgrade image datasets
*: theme_anelusia, theme_artists, theme_avantgarde, theme_beauty, theme_buzzy, theme_clean, theme_kea, theme_kiddo, theme_monglia, theme_odoo_experts, theme_orchid, theme_real_estate, theme_test_custo, theme_vehicle, theme_zap When `html_builder` was introduced, some data attributes related to images have changed. Unfortunately, the attributes on static data were not adapted accordingly. Because of this, both namings might appear in this version. This commit migrates images and background images attributes to use the new attributes. Dataset changes: - copy `originalId` to `attachmentId` - rename `originalMimetype` to `formatMimetype` task-4367641 closes odoo/design-themes#1112 Related: odoo/odoo#218348 Related: odoo/enterprise#89768 Signed-off-by: Robin Lejeune (role) <role@odoo.com>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<p><a href="#" class="btn btn-primary">Learn more</a></p>
|
||||
</div>
|
||||
<div class="col-lg-6 pt16 pb16">
|
||||
<img src="/web_editor/image_shape/website.s_text_image_default_image/theme_test_custo/blob/01.svg" class="img img-fluid mx-auto" alt="" data-original-mimetype="image/webp" data-file-name="01.svg" data-shape="theme_test_custo/blob/01" data-shape-colors=";;;;"/>
|
||||
<img src="/web_editor/image_shape/website.s_text_image_default_image/theme_test_custo/blob/01.svg" class="img img-fluid mx-auto" alt="" data-format-mimetype="image/webp" data-file-name="01.svg" data-shape="theme_test_custo/blob/01" data-shape-colors=";;;;"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user