Commit Graph

389 Commits

Author SHA1 Message Date
Odoo Translation Bot f9f00d2e58 [I18N] Update translation terms from Transifex 2025-01-05 03:06:13 +01:00
Odoo Translation Bot 0516d3ff86 [I18N] Update translation terms from Transifex 2024-12-29 03:05:32 +01:00
qsm-odoo a5a838e84f [FIX] test_themes: restore the website switcher
The forward-port of [1] made no adaptation to the code, and it now
simply crashes when trying to use the website switcher when test_themes
is installed.

This also fixes a linter error introduced by that same [1] commit.

[1]: https://github.com/odoo/design-themes/commit/c3af5d9796929025c9503ab639afc8c60a262b3f

closes odoo/design-themes#1035

X-original-commit: c0d9b76f86
Related: odoo/odoo#191245
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-12-23 19:19:19 +00:00
Odoo Translation Bot 2c276d0ec1 [I18N] Update translation terms from Transifex 2024-12-22 03:08:51 +01:00
Odoo Translation Bot 947084fe3c [I18N] Update translation terms from Transifex 2024-12-15 03:08:47 +01:00
William Braeckman 196a618316 [FIX] test_themes: allow proper patch website_swit
..cher

Defines dataset directly on website elements such that it can be
overridden by other modules if necessary.
This was done due to the override in the `test_themes` module completely
overriding all attributes of the website_switcher's dropdown items.

Runbot Error 106501

closes odoo/design-themes#1028

X-original-commit: c5f4e1c414
Related: odoo/odoo#190492
Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
2024-12-12 15:14:07 +00:00
Odoo Translation Bot 3057d46619 [I18N] Update translation terms from Transifex 2024-12-08 03:04:57 +01:00
qsm-odoo 39069559bf [FIX] theme_avantgarde: add missing snippet in svg/screenshot preview
Related to task-4246355

(image contribution by MANO)

closes odoo/design-themes#1022

Related: odoo/odoo#189638
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: mano-odoo <mano@odoo.com>
2024-12-04 19:14:57 +00:00
qsm-odoo c97e39eee5 [FIX] theme_avantgarde: fix masonry block
The customization of that block was removing the parent container by
mistake, making the editor crash.

Related to task-4246355

Part-of: odoo/design-themes#1022
Related: odoo/odoo#189638
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-12-04 19:14:57 +00:00
Odoo Translation Bot 429edc67ce [I18N] Update translation terms from Transifex 2024-12-01 03:05:40 +01:00
Odoo Translation Bot 8251e8f27a [I18N] Update translation terms from Transifex 2024-11-25 15:57:41 +01:00
Benjamin Vray 5ce9cc6f2d [FIX] theme_*: fix breadcrumb color
*: anelusia, anelusia, enark, kiddo, loftspace, notes

- Install Website e-commerce.
- Select the "Kea" theme for your website.
- Go to the "/shop" page.
- Click on "Desks" category to go to the "/shop/category/desks-1" page.
- Click on edit to enter edit mode.
- Click on the "theme" tab.
- Change the website background color to "black".
- Bug: The breadcrumb has an ugly white background instead of no
background color, as in the "default" theme. Also, the "active"
breadcrumb item is hidden due to white text on a white background.

This commit removes the white background from the breadcrumb for all
themes that use it. This ensures the same appearance as other themes.

opw-4232082

closes odoo/design-themes#1017

X-original-commit: fe91239586
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-11-22 07:47:20 +00:00
Odoo Online 9788696a10 [I18N] Update translation terms from Transifex 2024-11-17 03:04:44 +01:00
Odoo Online 6991f06724 [I18N] Update translation terms from Transifex 2024-11-10 03:04:08 +01:00
Odoo Online 3d3d6d826d [I18N] Update translation terms from Transifex 2024-11-03 03:04:10 +01:00
Soukéina Bojabza d5645edf28 [FIX] theme_cobalt, theme_treehouse: add some missing image classes
In some theme customizations, some replaced images do not have the usual
image classes `img img-fluid mx-auto` anymore. The `img-fluid` one is
needed for grid images in mobile view, as they are overflowing without
it.

This commit adds these missing classes on the identified problematic
images.

closes odoo/design-themes#999

X-original-commit: c5adf9a903
Related: odoo/odoo#185408
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-10-29 13:56:43 +00:00
Odoo Translation Bot 7309c8569d [I18N] Update translation terms from Transifex 2024-10-27 03:03:34 +01:00
Odoo Translation Bot 938a6dcdbb [I18N] Update translation terms from Transifex 2024-10-20 03:03:32 +02:00
mega 6336bbddf6 [FIX] theme_odoo_experts: remove unused configurator snippets
Currently, an error occurs while importing an 'Experts' theme template.

Steps to produce:

- Install the 'website' module.
- Build one website, try to switch its theme to the 'Experts' theme.

ValueError:
External ID not found in the system: website.configurator_s_picture

When switching a website theme to the 'Experts' theme, an error occurs
during importing their XML definition because their parent template does
not exist. To resolve this issue we can remove this template.

Indeed, that configurator snippet override was not needed anymore since
the 'Experts' theme was not using that specific snippet for their
configurator pages anymore. The error went unnoticed because on runbot
all themes are installed, and at least one of them was using that
specific snippet in a configurator page. This will be improved.

See [1] with the same kind of issue.

[1]: https://github.com/odoo/design-themes/commit/aed6d0585be5c646e1c3cade419c706dc154efaf

Sentry-5962594281

closes odoo/design-themes#985

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-10-15 11:43:35 +00:00
Odoo Translation Bot 0717fc146d [I18N] Update translation terms from Transifex 2024-10-13 03:09:51 +02:00
Benjamin Vray 5795112cd6 [FIX] test_themes: fix test_01_theme_upgrade_post_copy
Since the revamp of the "Nano" theme with this commit [1], the
"option_footer_scrolltop" template is no longer enabled for this theme.
This causes the "test_01_theme_upgrade_post_copy" test to fail, as it
relies on this template being enabled.

[1]: https://github.com/odoo/design-themes/commit/47568ec66fac4714c53553d021b3f1d7bd252dea

closes odoo/design-themes#982

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-10-09 09:09:04 +00:00
Louis Wicket (wil) 94894e1a51 [I18N] export source terms
closes odoo/design-themes#980

Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2024-10-07 15:14:05 +00:00
Odoo Translation Bot 79ef9d3e2b [I18N] Update translation terms from Transifex 2024-10-06 03:02:41 +02:00
Soukéina Bojabza 4c3d843615 [FIX] test_themes, theme_*: fix not working theme tours
*: loftspace, real_estate

In commit [1], the test for the "Loftspace" and "Real Estate" themes has
been disabled, as their tour was not working.

This commit fixes the tours and reenables the test for these themes. The
issue was coming from the fact that they were trying to drop more
snippets than there really are, which made an acces to the array at an
inexisting index.

[1]: https://github.com/odoo/design-themes/commit/04f90cd883826bb8e4cbf8975aff6c14bf3c64db

closes odoo/design-themes#976

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-10-01 16:51:55 +00:00
Antoine (anso) f6012ce86e [FIX] theme_bookstore: fix multiple issues in the theme
This commit fixes multiples issues in the theme:

- Wording
- Shapes that should appear only in the configurator
- Useless xpaths
- Font bug in Firefox (-> texts have been outlined in the svg)

task-4221731

closes odoo/design-themes#972

Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-10-01 14:11:22 +00:00
Brieuc-brd 40ac649c88 [FIX] theme_anelusia, *: adapt mismatched theme images
*: 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 odoo/design-themes#958

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 22:10:00 +00:00
Mehdi Outagant (MOU) a4e9722bbb [FIX] theme_bewise: fix theme SVG content centering
task-4178020

closes odoo/design-themes#973

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 22:09:59 +00:00
Benoit Socias cf227cd139 [IMP] test_themes, theme_*: ensure that grid options are properly set
This commit adds a test that highlights mismatches in grid-related
options (classes, grid-area style...).

It also fixes the remaining issues in themes about it.

task-4213996

closes odoo/design-themes#969

Related: odoo/odoo#182029
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 05:37:10 +00:00
qsm-odoo 04f90cd883 [FIX] test_themes, theme_*: fix errors in theme tours
Also disable the two theme tours that currently do not pass (for some
reason, they are not even starting at all). To fix later.

Part-of: odoo/design-themes#969
Related: odoo/odoo#182029
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 05:37:10 +00:00
Xavier Luyckx (xlu) c1538a91df [IMP] theme_monglia: revamp the theme
task-4178080
Part of task-4177975

Part-of: odoo/design-themes#969
Related: odoo/odoo#182029
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 05:37:10 +00:00
Chrysanthe (chgo) 238f347935 [IMP] theme_odoo_experts: revamp the theme
task-4178086
part of task-4177975

Part-of: odoo/design-themes#969
Related: odoo/odoo#182029
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 05:37:10 +00:00
Chrysanthe (chgo) 35ba43166a [FIX] theme_yes: fix s_call_to_action minor issues
This commit fixes three minors issues about the `s_call_to_action` snippet.

1) The `background-image` is missing the classes to set it to cover,
leading to a weird positioning of the image ;

2) The `background-image` was not the right one ;

3) The `s_call_to_action` snippet was missing from the theme screenshot.

task-4217986
follow-up of task-4178092

Part-of: odoo/design-themes#969
Related: odoo/odoo#182029
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 05:37:09 +00:00
Chrysanthe (chgo) f841da4def [FIX] theme_loftspace, theme_nano: align themes preview
This commit fixes an issue about these two themes previews not being
similar to the other ones.

Prior to this commit, some difference were existing between themes
screenshot. With the revamp of the themes, these differences were
fixed. But an other issue was introduced within the screenshots of the
themes I worked on. Other modules were installed, making the header
filled with more `nav-link`. Sometimes the editor button was even visible.

This commit replaces these screenshots with new ones, aligned on the
other themes.

task-4218255

Part-of: odoo/design-themes#969
Related: odoo/odoo#182029
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 05:37:09 +00:00
stefanorigano (SRI) de490359d6 [IMP] theme_orchid: revamp the theme
task-4178087
part of task-4177975

Part-of: odoo/design-themes#969
Related: odoo/odoo#182029
Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 05:37:09 +00:00
Antoine (anso) 563bce5b46 [IMP] theme_bookstore: revamp the theme
task-4178030

Part-of: odoo/design-themes#969
Related: odoo/odoo#182029
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 05:37:09 +00:00
stefanorigano (SRI) f06ffd5c26 [IMP] theme_bewise: revamp the theme
task-4178020
part of task-4177975

Part-of: odoo/design-themes#969
Related: odoo/odoo#182029
Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 05:37:09 +00:00
Xavier Luyckx (xlu) dff50a4a87 [IMP] theme_aviato: revamp the theme
task-4178017
Part of task-4177975

Part-of: odoo/design-themes#969
Related: odoo/odoo#182029
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 05:37:09 +00:00
Brieuc-brd 1adb62a7f9 [IMP] theme_cobalt: revamp the theme
task-4178067
Part of task-4177978

Part-of: odoo/design-themes#969
Related: odoo/odoo#182029
Signed-off-by: Louis (loco) <loco@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 05:37:09 +00:00
mano-odoo 14993a5a1e [IMP] theme_artists: revamp the theme
Revamp the themes, add new images and adapt the existing snippets to fit
the new design.

task-4178014
Part of task-4177975

Part-of: odoo/design-themes#969
Related: odoo/odoo#182029
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 05:37:09 +00:00
Benjamin Vray dddd841c9b [FIX] theme_*: rename the dragNDrop function to insertSnippet
This commit replaces the "dragNDrop" function used in theme tours with
"insertSnippet" because the function name has changed. Now, users no
longer need to drag and drop categories onto the page from the snippet
menu. Instead, they now need to click on them.

task-4072655

closes odoo/design-themes#916

Related: odoo/odoo#180471
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-30 02:25:33 +00:00
Odoo Translation Bot 14569cf5ab [I18N] Update translation terms from Transifex 2024-09-29 03:05:14 +02:00
Chrysanthe (chgo) 47568ec66f [IMP] theme_nano: revamp the theme
This commit revamps the design of the `theme_nano`.

task-4178081
part of task-4177975

closes odoo/design-themes#935

Related: odoo/odoo#181369
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-09-28 16:52:38 +00:00
Chrysanthe (chgo) 9763584495 [IMP] theme_yes: review theme design
task-4178092
part of task-4177975

closes odoo/design-themes#937

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-09-28 16:52:37 +00:00
Mehdi Outagant (MOU) ab8f6a8fce [IMP] theme_*: use minimal format for highlighted text content
*: buzzy, clean, notes

A highlighted text has the following structure:

```
<span class="o_text_highlight o_text_highlight_[highlightId]"
    style="--text-highlight-width: ...; --text-highlight-color: ...;">
    <span class="o_text_highlight_item">
        text content (line 1) ...
        <svg.../>
    </span>
    [<br/>]
    <span class="o_text_highlight_item">
        text content (line 2) ...
        <svg.../>
    </span>
    ...
</span>
```

Which is saved in a minimal format that allows the JS code to rebuild
the SVGs when it's needed:

```
<span class="o_text_highlight o_text_highlight_[highlightId]"
    style="--text-highlight-width: ...; --text-highlight-color: ...;">
    text content ...
</span>
```

The goal of this commit is to use the simplified format for theme
customizations and adapt the code from the "Snippets Preview" and the
"New Page Templates Preview" to be able to build the highlights using
this format when provided in XML.

task-4215788

closes odoo/design-themes#956

Related: odoo/odoo#181884
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-28 16:52:33 +00:00
Antoine (anso) 971b323f58 [IMP] theme_paptic: theme improvement
Revamp of `theme_paptic`

task-4178088

closes odoo/design-themes#934

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-09-28 05:24:51 +00:00
Chrysanthe (chgo) fa220d0170 [IMP] theme_loftspace: revamp the theme
This commit revamp the design of the `theme_loftspace`.

task-4178079
part of task-4177975

closes odoo/design-themes#910

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-09-28 01:52:51 +00:00
Benoit Socias 483ea55070 [FIX] theme_clean: remove undefined configurator page template
Since [1] `s_cover` was removed from the configurator pages defined in
the manifest, however the `configurator_s_cover` template was still
defined. This leads to errors because it then inherits an non-existing
template.

This commit removes that template definition.

[1]: https://github.com/odoo/design-themes/commit/c31b3c7c8327b4d8c3924de4bfca9ca2db26148b#diff-f8f7a09e94b435b03c4d87735e873c98c519f4dc83f3b83feb99c34ea2208d6dL58

task-4178066

closes odoo/design-themes#943

Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-09-27 17:00:15 +00:00
Antoine (anso) 2d06f47f79 [IMP] theme_avantgarde: theme improvement
Revamp of `theme_avantgarde`

task-4178015

closes odoo/design-themes#912

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-09-27 14:22:10 +00:00
Soukéina Bojabza d8e52e96b5 [FIX] theme_*: adapt s_carousel_intro without display: flex
*: bewise, loftspace, monglia, notes, vehicle

In the community PR, the `s_carousel_intro` snippet has been modified in
order to not be in `display: flex` anymore.

This commit adapts this snippet customizations to these changes. More
precisely, it adapts the vertical padding and the grid areas to the text
content, in order to avoid having an overflow.

It also fixes the "Monglia" customization by removing the background
color of the slides, in order to make the added shape visible.

Related to task-4077628

closes odoo/design-themes#915

Related: odoo/odoo#180515
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-27 10:57:57 +00:00
Soukéina Bojabza 127a07fdc5 [FIX] theme_*: adapt s_card_offset without display: flex
*: anelusia, avantgarde, beauty, bistro, bookstore, enark, kiddo,
loftspace, monglia, nano, notes, odoo_experts, paptic, real_estate,
treehouse, yes, zap

In the community PR, the `s_card_offset` snippet has been modified in
order to not be in `display: flex` anymore. The visual was then kept as
close as possible to how it was before by using the grid padding.

This commit adapts this snippet customizations to these changes. More
precisely, it adapts the vertical padding to the text content, in order
to center it a bit while avoiding having an overflow.

Related to task-4105038

Part-of: odoo/design-themes#915
Related: odoo/odoo#180515
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-27 10:57:57 +00:00