Skip to content

Commit

Permalink
[IMP] theme_*: adapt s_form_aside snippet across themes
Browse files Browse the repository at this point in the history
*: artists, nano, notes, vehicle

This commit adapt the occurrences of the `s_form_aside` snippet across
themes.

task-4135499
part of task-4077427
  • Loading branch information
chgo-odoo committed Nov 6, 2024
1 parent f63862f commit 61f15b4
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions theme_artists/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
'views/snippets/s_title_form.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_empowerment.xml',
'views/snippets/s_form_aside.xml',
'views/new_page_template.xml',
],
'images': [
Expand Down
11 changes: 11 additions & 0 deletions theme_artists/views/snippets/s_form_aside.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_form_aside" inherit_id="website.s_form_aside">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
</template>

</odoo>
1 change: 1 addition & 0 deletions theme_nano/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
'views/snippets/s_numbers.xml',
'views/snippets/s_image_text_overlap.xml',
'views/snippets/s_company_team_basic.xml',
'views/snippets/s_form_aside.xml',
'views/new_page_template.xml',
],
'images': [
Expand Down
11 changes: 11 additions & 0 deletions theme_nano/views/snippets/s_form_aside.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_form_aside" inherit_id="website.s_form_aside">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
</template>

</odoo>
1 change: 1 addition & 0 deletions theme_notes/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
'views/snippets/s_shape_image.xml',
'views/snippets/s_text_cover.xml',
'views/snippets/s_empowerment.xml',
'views/snippets/s_form_aside.xml',
'views/new_page_template.xml',
],
'images': [
Expand Down
11 changes: 11 additions & 0 deletions theme_notes/views/snippets/s_form_aside.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<template id="s_form_aside" inherit_id="website.s_form_aside">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
</template>

</odoo>
8 changes: 8 additions & 0 deletions theme_vehicle/views/customizations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -958,4 +958,12 @@
</xpath>
</template>

<!-- ======== FORM ASIDE ======== -->
<template id="s_form_aside" inherit_id="website.s_form_aside">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
</template>

</odoo>

0 comments on commit 61f15b4

Please sign in to comment.