Skip to content

Commit

Permalink
[FIX] theme_anelusia, *: adapt mismatched theme images
Browse files Browse the repository at this point in the history
*: theme_bistro, theme_buzzy, theme_clean, theme_kea, theme_kiddo,
theme_notes, theme_real_estate, theme_vehicle, theme_avantgarde

Prior to this change, some themes were still using default images for
certain snippets.
These images didn't correspond to the subject of the chosen theme.

This commit replaces these images with more relevant ones.

task-4215915

closes #958

Signed-off-by: Quentin Smetz (qsm) <[email protected]>
  • Loading branch information
Brieuc-brd committed Sep 30, 2024
1 parent a4e9722 commit 40ac649
Show file tree
Hide file tree
Showing 16 changed files with 251 additions and 13 deletions.
15 changes: 15 additions & 0 deletions theme_anelusia/views/images_library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -412,5 +412,20 @@
<field name="name">website.s_image_punchy_default_image</field>
<field name="url">/theme_anelusia/static/src/img/snippets/s_carousel_3.jpg</field>
</record>
<record id="s_sidegrid_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_3</field>
<field name="name">website.s_sidegrid_default_image_3</field>
<field name="url">/theme_anelusia/static/src/img/snippets/s_parallax.jpg</field>
</record>
<record id="s_framed_intro_default_image" model="theme.ir.attachment">
<field name="key">website.s_framed_intro_default_image</field>
<field name="name">website.s_framed_intro_default_image</field>
<field name="url">/theme_anelusia/static/src/img/snippets/s_image_text.jpg</field>
</record>
<record id="s_showcase_default_image" model="theme.ir.attachment">
<field name="key">website.s_showcase_default_image</field>
<field name="name">website.s_showcase_default_image</field>
<field name="url">/theme_anelusia/static/src/img/snippets/s_images_mosaic_default_image_1.jpg</field>
</record>

</odoo>
5 changes: 5 additions & 0 deletions theme_avantgarde/views/images_library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -472,5 +472,10 @@ Check in images.scss, primary_variables.scss, main.scss and theme_common's mixin
<field name="name">website.s_text_cover_default_image</field>
<field name="url">/theme_avantgarde/static/src/img/pictures/bg_image_30.jpg</field>
</record>
<record id="s_showcase_default_image" model="theme.ir.attachment">
<field name="key">website.s_showcase_default_image</field>
<field name="name">website.s_showcase_default_image</field>
<field name="url">/theme_avantgarde/static/src/img/pictures/bg_image_07.jpg</field>
</record>

</odoo>
7 changes: 7 additions & 0 deletions theme_bistro/views/images_library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -584,4 +584,11 @@
<field name="url">/theme_bistro/static/src/img/content/s_key_images_04.jpg</field>
</record>

<!-- Side Grid -->
<record id="s_sidegrid_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_3</field>
<field name="name">website.s_sidegrid_default_image_3</field>
<field name="url">/theme_bistro/static/src/img/backgrounds/17.jpg</field>
</record>

</odoo>
Binary file not shown.
Binary file not shown.
76 changes: 74 additions & 2 deletions theme_buzzy/views/images_library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,12 @@
<record id="s_intro_pill_default_image" model="theme.ir.attachment">
<field name="key">website.s_intro_pill_default_image</field>
<field name="name">website.s_intro_pill_default_image</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_intro_pill_default_image.jpg</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_empowerment_default_image.jpg</field>
</record>
<record id="s_intro_pill_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_intro_pill_default_image_2</field>
<field name="name">website.s_intro_pill_default_image_2</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_intro_pill_default_image_2.jpg</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_images_mosaic_default_image_5.jpg</field>
</record>
<!-- Wavy Grid -->
<record id="s_wavy_grid_default_image_1" model="theme.ir.attachment">
Expand Down Expand Up @@ -236,5 +236,77 @@
<field name="name">website.s_showcase_default_image</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_showcase.jpg</field>
</record>
<!-- Striped Top -->
<record id="s_striped_top_default_image" model="theme.ir.attachment">
<field name="key">website.s_striped_top_default_image</field>
<field name="name">website.s_striped_top_default_image</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_masonry_block_default_image_1.jpg</field>
</record>
<!-- Side Grid -->
<record id="s_sidegrid_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_1</field>
<field name="name">website.s_sidegrid_default_image_1</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_kickoff_default_image.jpg</field>
</record>
<record id="s_sidegrid_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_2</field>
<field name="name">website.s_sidegrid_default_image_2</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_empowerment_default_image.jpg</field>
</record>
<record id="s_sidegrid_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_3</field>
<field name="name">website.s_sidegrid_default_image_3</field>
<field name="url">/theme_buzzy/static/src/img/photos/library_image_02.jpg</field>
</record>
<record id="s_sidegrid_default_image_4" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_4</field>
<field name="name">website.s_sidegrid_default_image_4</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_images_mosaic_default_image_2.jpg</field>
</record>
<!-- Framed Intro -->
<record id="s_framed_intro_default_image" model="theme.ir.attachment">
<field name="key">website.s_framed_intro_default_image</field>
<field name="name">website.s_framed_intro_default_image</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_images_mosaic_default_image_5.jpg</field>
</record>
<!-- Three Columns -->
<record id="s_three_columns_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_three_columns_default_image_1</field>
<field name="name">website.s_three_columns_default_image_1</field>
<field name="url">/theme_buzzy/static/src/img/photos/library_image_10.jpg</field>
</record>
<record id="s_three_columns_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_three_columns_default_image_3</field>
<field name="name">website.s_three_columns_default_image_3</field>
<field name="url">/theme_buzzy/static/src/img/photos/library_image_14.jpg</field>
</record>
<!-- Shape Image -->
<record id="s_shape_image_default_image" model="theme.ir.attachment">
<field name="key">website.s_shape_image_default_image</field>
<field name="name">website.s_shape_image_default_image</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_parallax_default_image.jpg</field>
</record>
<!-- Key Images -->
<record id="s_key_images_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_key_images_default_image_1</field>
<field name="name">website.s_key_images_default_image_1</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_images_mosaic_default_image_1.jpg</field>
</record>
<record id="s_key_images_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_key_images_default_image_2</field>
<field name="name">website.s_key_images_default_image_2</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_images_mosaic_default_image_2.jpg</field>
</record>
<record id="s_key_images_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_key_images_default_image_3</field>
<field name="name">website.s_key_images_default_image_3</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_images_mosaic_default_image_3.jpg</field>
</record>
<record id="s_key_images_default_image_4" model="theme.ir.attachment">
<field name="key">website.s_key_images_default_image_4</field>
<field name="name">website.s_key_images_default_image_4</field>
<field name="url">/theme_buzzy/static/src/img/photos/s_images_mosaic_default_image_4.jpg</field>
</record>


</odoo>
4 changes: 0 additions & 4 deletions theme_buzzy/views/snippets/s_striped_top.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
<xpath expr="//h1" position="attributes">
<attribute name="class" add="h2-fs" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_text_image_default_image</attribute>
</xpath>
</template>

</odoo>
35 changes: 35 additions & 0 deletions theme_clean/views/image_content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -342,5 +342,40 @@
<field name="name">website.s_empowerment_default_image</field>
<field name="url">/theme_clean/static/src/img/content/s_empowerment_default_image.jpg</field>
</record>
<record id="s_showcase_default_image" model="theme.ir.attachment">
<field name="key">website.s_showcase_default_image</field>
<field name="name">website.s_showcase_default_image</field>
<field name="url">/theme_clean/static/src/img/content/s_images_mosaic_default_image_1.jpg</field>
</record>
<record id="s_sidegrid_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_1</field>
<field name="name">website.s_sidegrid_default_image_1</field>
<field name="url">/theme_clean/static/src/img/backgrounds/bg_snippet_05.jpg</field>
</record>
<record id="s_sidegrid_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_2</field>
<field name="name">website.s_sidegrid_default_image_2</field>
<field name="url">/theme_clean/static/src/img/backgrounds/bg_snippet_12.jpg</field>
</record>
<record id="s_sidegrid_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_3</field>
<field name="name">website.s_sidegrid_default_image_3</field>
<field name="url">/theme_clean/static/src/img/backgrounds/bg_snippet_11.jpg</field>
</record>
<record id="s_sidegrid_default_image_4" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_4</field>
<field name="name">website.s_sidegrid_default_image_4</field>
<field name="url">/theme_clean/static/src/img/backgrounds/bg_snippet_09.jpg</field>
</record>
<record id="s_framed_intro_default_image" model="theme.ir.attachment">
<field name="key">website.s_framed_intro_default_image</field>
<field name="name">website.s_framed_intro_default_image</field>
<field name="url">/theme_clean/static/src/img/content/s_empowerment_default_image.jpg</field>
</record>
<record id="s_shape_image_default_image" model="theme.ir.attachment">
<field name="key">website.s_shape_image_default_image</field>
<field name="name">website.s_shape_image_default_image</field>
<field name="url">/theme_clean/static/src/img/content/library_image_10.jpg</field>
</record>

</odoo>
50 changes: 50 additions & 0 deletions theme_kea/views/images_content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,11 @@ Check in primary_variables.scss, theme.scss and theme_common's mixins.scss -->
<field name="name">website.s_quotes_carousel_demo_image_1</field>
<field name="url">/theme_kea/static/src/img/snippets/s_quotes_carousel_1.jpg</field>
</record>
<record id="s_quotes_carousel_demo_image_0" model="theme.ir.attachment">
<field name="key">website.s_quotes_carousel_demo_image_0</field>
<field name="name">website.s_quotes_carousel_demo_image_0</field>
<field name="url">/theme_kea/static/src/img/snippets/s_color_blocks_1.jpg</field>
</record>
<record id="s_quotes_carousel_demo_image_2" model="theme.ir.attachment">
<field name="key">website.s_quotes_carousel_demo_image_2</field>
<field name="name">website.s_quotes_carousel_demo_image_2</field>
Expand Down Expand Up @@ -426,5 +431,50 @@ Check in primary_variables.scss, theme.scss and theme_common's mixins.scss -->
<field name="name">website.s_empowerment_default_image</field>
<field name="url">/theme_kea/static/src/img/snippets/s_empowerment_default_image.jpg</field>
</record>
<record id="s_sidegrid_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_1</field>
<field name="name">website.s_sidegrid_default_image_1</field>
<field name="url">/theme_kea/static/src/img/snippets/s_picture.jpg</field>
</record>
<record id="s_sidegrid_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_2</field>
<field name="name">website.s_sidegrid_default_image_2</field>
<field name="url">/theme_kea/static/src/img/snippets/s_color_blocks_1.jpg</field>
</record>
<record id="s_sidegrid_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_3</field>
<field name="name">website.s_sidegrid_default_image_3</field>
<field name="url">/theme_kea/static/src/img/snippets/s_kickoff_default_image.jpg</field>
</record>
<record id="s_sidegrid_default_image_4" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_4</field>
<field name="name">website.s_sidegrid_default_image_4</field>
<field name="url">/theme_kea/static/src/img/snippets/s_banner_2.jpg</field>
</record>
<record id="s_striped_top_default_image" model="theme.ir.attachment">
<field name="key">website.s_striped_top_default_image</field>
<field name="name">website.s_striped_top_default_image</field>
<field name="url">/theme_kea/static/src/img/snippets/s_popup.jpg</field>
</record>
<record id="s_framed_intro_default_image" model="theme.ir.attachment">
<field name="key">website.s_framed_intro_default_image</field>
<field name="name">website.s_framed_intro_default_image</field>
<field name="url">/theme_kea/static/src/img/snippets/s_banner_2.jpg</field>
</record>
<record id="s_showcase_default_image" model="theme.ir.attachment">
<field name="key">website.s_showcase_default_image</field>
<field name="name">website.s_showcase_default_image</field>
<field name="url">/theme_kea/static/src/img/snippets/s_banner_2.jpg</field>
</record>
<record id="s_image_punchy_default_image" model="theme.ir.attachment">
<field name="key">website.s_image_punchy_default_image</field>
<field name="name">website.s_image_punchy_default_image</field>
<field name="url">/theme_kea/static/src/img/snippets/s_color_blocks_1.jpg</field>
</record>
<record id="s_image_frame_default_image" model="theme.ir.attachment">
<field name="key">website.s_image_frame_default_image</field>
<field name="name">website.s_image_frame_default_image</field>
<field name="url">/theme_kea/static/src/img/snippets/s_image_wall_02.jpg</field>
</record>

</odoo>
10 changes: 10 additions & 0 deletions theme_kiddo/views/images_library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -404,5 +404,15 @@
<field name="name">website.s_showcase_default_image</field>
<field name="url">/theme_kiddo/static/src/img/snippets/s_images_mosaic_default_image_2.jpg</field>
</record>
<record id="s_sidegrid_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_3</field>
<field name="name">website.s_sidegrid_default_image_3</field>
<field name="url">/theme_kiddo/static/src/img/content/content_img_36.jpg</field>
</record>
<record id="s_sidegrid_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_2</field>
<field name="name">website.s_sidegrid_default_image_2</field>
<field name="url">/theme_kiddo/static/src/img/snippets/s_three_columns_default_image_2.jpg</field>
</record>

</odoo>
3 changes: 0 additions & 3 deletions theme_kiddo/views/snippets/s_sidegrid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.library_image_13</attribute>
</xpath>
<xpath expr="(//img)[2]" position="attributes">
<attribute name="src">/web/image/website.library_image_11</attribute>
</xpath>
<xpath expr="(//img)[3]" position="attributes">
<attribute name="src">/web/image/website.s_banner_default_image</attribute>
</xpath>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions theme_notes/views/images_library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -412,5 +412,25 @@
<field name="name">website.s_empowerment_default_image</field>
<field name="url">/theme_notes/static/src/img/content/s_empowerment_default_image.jpg</field>
</record>
<record id="s_showcase_default_image" model="theme.ir.attachment">
<field name="key">website.s_showcase_default_image</field>
<field name="name">website.s_showcase_default_image</field>
<field name="url">/theme_notes/static/src/img/content/content_img_25.jpg</field>
</record>
<record id="s_sidegrid_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_3</field>
<field name="name">website.s_sidegrid_default_image_3</field>
<field name="url">/theme_notes/static/src/img/content/content_img_22.jpg</field>
</record>
<record id="s_cta_box_default_image" model="theme.ir.attachment">
<field name="key">website.s_cta_box_default_image</field>
<field name="name">website.s_cta_box_default_image</field>
<field name="url">/theme_notes/static/src/img/content/content_img_27.jpg</field>
</record>
<record id="s_image_punchy_default_image" model="theme.ir.attachment">
<field name="key">website.s_image_punchy_default_image</field>
<field name="name">website.s_image_punchy_default_image</field>
<field name="url">/theme_notes/static/src/img/content/s_image_punchy_default_image.jpg</field>
</record>

</odoo>
4 changes: 0 additions & 4 deletions theme_notes/views/snippets/s_cta_box.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
<xpath expr="//p" position="replace" mode="inner">
Experience a memorable concert with local artists<br/><br/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/theme_nano/static/src/img/theme/19.jpg</attribute>
</xpath>
<!-- Button -->
<xpath expr="//a[hasclass('btn')]" position="replace" mode="inner">
View the agenda
Expand Down
10 changes: 10 additions & 0 deletions theme_real_estate/views/images.xml
Original file line number Diff line number Diff line change
Expand Up @@ -371,5 +371,15 @@ Check in theme_monglia's primary_variables.scss, theme.scss and theme_common's m
<field name="name">website.s_empowerment_default_image</field>
<field name="url">/theme_real_estate/static/src/img/snippets/s_empowerment_default_image.jpg</field>
</record>
<record id="s_showcase_default_image" model="theme.ir.attachment">
<field name="key">website.s_showcase_default_image</field>
<field name="name">website.s_showcase_default_image</field>
<field name="url">/theme_real_estate/static/src/img/snippets/s_image_text.jpg</field>
</record>
<record id="s_image_frame_default_image" model="theme.ir.attachment">
<field name="key">website.s_image_frame_default_image</field>
<field name="name">website.s_image_frame_default_image</field>
<field name="url">/theme_real_estate/static/src/img/snippets/library_image_07.jpg</field>
</record>

</odoo>
25 changes: 25 additions & 0 deletions theme_vehicle/views/images.xml
Original file line number Diff line number Diff line change
Expand Up @@ -380,5 +380,30 @@ Check in theme_monglia's primary_variables.scss, theme.scss and theme_common's m
<field name="name">website.s_empowerment_default_image</field>
<field name="url">/theme_vehicle/static/src/img/snippets/s_empowerment_default_image.jpg</field>
</record>
<record id="s_showcase_default_image" model="theme.ir.attachment">
<field name="key">website.s_showcase_default_image</field>
<field name="name">website.s_showcase_default_image</field>
<field name="url">/theme_vehicle/static/src/img/snippets/s_masonry_block.jpg</field>
</record>
<record id="s_sidegrid_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_1</field>
<field name="name">website.s_sidegrid_default_image_1</field>
<field name="url">/theme_vehicle/static/src/img/snippets/s_newsletter.jpg</field>
</record>
<record id="s_sidegrid_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_2</field>
<field name="name">website.s_sidegrid_default_image_2</field>
<field name="url">/theme_vehicle/static/src/img/snippets/s_images_wall_2.jpg</field>
</record>
<record id="s_sidegrid_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_3</field>
<field name="name">website.s_sidegrid_default_image_3</field>
<field name="url">/theme_vehicle/static/src/img/snippets/s_picture.jpg</field>
</record>
<record id="s_sidegrid_default_image_4" model="theme.ir.attachment">
<field name="key">website.s_sidegrid_default_image_4</field>
<field name="name">website.s_sidegrid_default_image_4</field>
<field name="url">/theme_vehicle/static/src/img/snippets/s_banner_2.jpg</field>
</record>

</odoo>

0 comments on commit 40ac649

Please sign in to comment.