Commit Graph

418 Commits

Author SHA1 Message Date
Hubert Van De Walle cdc0150ddb [FIX] theme_test_custo: adapt test_website_theme_preview tour
Follow-up of f38205873e

X-original-commit: d741e3ed3a
Part-of: odoo/design-themes#1082
Related: odoo/odoo#210890
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-05-22 20:28:05 +00:00
qsm-odoo e0b3b87993 [IMP] *: adapt xpath to s_product_catalog changes
*: theme_artists, theme_bistro

Related to task-3665307

closes odoo/design-themes#1073

Related: odoo/odoo#209475
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-05-14 19:36:41 +00:00
Hubert Van De Walle fa0c0d2688 [FIX] theme_test_custo: prevent failing test_website_theme_preview tour
When running the test test_website_theme_preview, we have the following error:

`tour.steps has to be a function that returns TourStep[]`

runbot-111646
runbot-163139

closes odoo/design-themes#1069

X-original-commit: a3eb65d3ea
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-05-11 12:28:09 +00:00
qsm-odoo 6d4a180260 [IMP] theme_*: adapt xpath to s_cover snippet minor changes
task-4505899

closes odoo/design-themes#1058

Related: odoo/odoo#200313
Related: odoo/enterprise#80744
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-05-07 23:33:10 +00:00
qsm-odoo 8c1b9bc34d [FIX] test_themes: make tests consider our "s_" classes convention
The test was incorrectly flagging inner classes that follow our naming
convention (e.g. "s_floating_blocks_wrapper" for "s_floating_blocks"
snippet). This made maintaining the whitelist tedious and error prone.

The change enables proper enforcement of our conventions while
simplifying whitelist maintenance: a snippet subclass starting with "s_"
should be prefixed by the main snippet class name (e.g.
"s_super_snippet_item" might be added on an inner element of
"s_super_snippet"). The test just checks any element class is
prefixed by any class of any parent (or itself) (for "s_" classes).

Related to task-4373543

closes odoo/design-themes#1054

Related: odoo/odoo#189299
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-04-23 22:04:44 +00:00
stefanorigano (SRI) e5b61cf169 [FIX] test_themes: allow flexibility on align-self-*-* uses
This allows more flexibility on the use of `align-self-*-*` classes
combination to better handle responsiveness in some scenario.

Related to task-4373543

Part-of: odoo/design-themes#1054
Related: odoo/odoo#189299
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-04-23 22:04:44 +00:00
qsm-odoo 7ced5683fb [REF] test_themes: clean test_render_applied_templates code
Minor changes to respect python convention, and increase readability.

Related to task-4373543

Part-of: odoo/design-themes#1054
Related: odoo/odoo#189299
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-04-23 22:04:44 +00:00
qsm-odoo 019caa4905 [FIX] *: fix "s_features" snippet overrides for new page templates
*: theme_artists, theme_buzzy, theme_loftspace, theme_yes

The community "s_features" snippet for a specific new page template was
broken (missing all its classes). This commit adapts the related
themes overrides following the fix of that snippet (note that these
overrides were also broken by themselves).

Related to task-4373543

Part-of: odoo/design-themes#1054
Related: odoo/odoo#189299
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-04-23 22:04:44 +00:00
stefanorigano (SRI) b03e17be44 [FIX] theme_odoo_experts: fix "references" snippet paddings
The snippet was switched to grid mode in this theme but the padding
classes on columns were not removed.

Related to task-4373543

Part-of: odoo/design-themes#1054
Related: odoo/odoo#189299
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-04-23 22:04:44 +00:00
Brieuc-brd b2beaaffa0 [IMP] theme_anelusia, *: adapt s_quotes_carousel_compact
*: theme_artists, theme_clean, theme_enark, theme_loftspace, theme_nano,
theme_notes

This commit adapts customizations for `s_quotes_carousel_compact`.

task-4174008
Part of task-4077427

closes odoo/design-themes#993

Related: odoo/odoo#184670
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2025-04-19 10:09:41 +00:00
Mehdi Outagant (MOU) bd8ff4cb1d [FIX] theme_*: translate paragraph links as a whole.
*: artists, cobalt, enark, graphene, kea, kiddo, loftspace, monglia, nano,
notes, odoo_experts, orchid, paptic, real_estate, vehicle, yes

Steps to reproduce:

1. Enable a second language in the website (e.g., French).

2. Add a "Text" block (in edit mode) > Save the page.

3. Translate a text paragraph to french > Save.

4. In edit mode again, add a link to a word in the paragraph > Save.

5. The translation in French is lost, and sometimes the whole French
    translation is used for the text before or after the link.

This is actually a limitation in the translation implementation. If we
initially have `text_1_en text_2_en text_3_en` translated to French this
way:

terms en_US: `["text_1_en text_2_en text_3_en"]`
terms fr_BE: `["text_1_fr text_2_fr text_3_fr"]`

After adding a link: `text_1_en<a...>text_2_en</a>text_3_en`, and since
the links are not translated as a whole, we should get:

terms en_US: `["text_1_en", "text_2_en", "text_3_en"]`
terms fr_BE: `["text_1_fr text_2_fr text_3_fr"]`

Which means the current translation will be lost, and the result will
depend on the outcome of `get_close_matches()`. Which explains why when
the link is added to the first words of the paragraph, the system still
maps the rest of the paragraph to its "full old translation".

The goal of this commit is to make this behavior less aggressive by
forcing the links added in paragraphs [1] to be translated as a whole.
This way, the `get_close_matches()` will map the new content with a link
to its old translation (without a link), and then, the user can set the
link in the "the most meaningful part of the translation" in the
translate mode.

[1]: We should use the "translate as a whole" feature carefully with
links, since there are already some situations where it's causing
issues (see the fix in [2]). So we only force them inside paragraphs.

[2]: https://github.com/odoo/odoo/commit/9bd60ca93510e410a0136b8b433f596330900593

Remark: This commit also sets the `o_translate_inline` class by default
on paragraph links in website templates.

opw-3984439

closes odoo/design-themes#1055

Related: odoo/odoo#204453
Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
2025-04-14 09:28:47 +00:00
Brieuc-brd 8eaa7e913b [IMP] theme_artists, *: adapt s_tabs_images
*: theme_bistro, theme_buzzy, theme_nano, theme_notes, theme_treehouse,
theme_zap

This commit adapts customizations for `s_tabs_images`.

task-4094407
Part of task-4077427

closes odoo/design-themes#1001

Related: odoo/odoo#185642
Related: odoo/upgrade#6691
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2025-04-01 21:12:07 +00:00
Denis Rygaert 88b06392a3 [FIX] theme_anelusia, *: update xpath to removed s_nb_column_fixed
*: theme_bewise, theme_cobalt, theme_kiddo, theme_loftspace,
   theme_monglia, theme_nano, theme_notes, theme_odoo_experts,
   theme_orchid, theme_paptic, theme_yes, theme_zap

Multiple snippet template where changed to ensure that the title is not
considered as a column and allowing changing the nb of columns again.
This commit adapts all the xpath that were impacted by those changes.

task-4310468

closes odoo/design-themes#1047

Related: odoo/odoo#195409
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-03-31 23:05:39 +00:00
Brieuc-brd f1215976c0 [IMP] theme_anelusia, *: adapts background shapes
*: theme_artists, theme_aviato, theme_beauty, theme_bewise,
theme_bistro, theme_bookstore,theme_buzzy, theme_clean, theme_cobalt,
theme_enark, theme_graphene, theme_kea, theme_kiddo, theme_loftspace,
theme_monglia, theme_nano, theme_notes, theme_odoo_experts,
theme_orchid, theme_paptic, theme_real_estate, theme_treehouse,
theme_vehicle, theme_zap

This commit adapts background shapes in theme customizations where
shapes have been removed, changed or added during the refactoring of
background shapes.

task-4372655

closes odoo/design-themes#1051

Related: odoo/odoo#190682
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2025-03-29 18:44:25 +00:00
Chrysanthe (chgo) f4539c4d3c [IMP] theme_*: adapt s_numbers_framed across design themes
*: artists, avantgarde, aviato, beauty, bewise, bistro, bookstore, buzzy,
clean, cobalt, enark, graphene, kea, kiddo, loftspace, monglia, nano,
botes, odoo_experts, orchid, paptic, real_estate, treehouse, vehicle,
yes,zap.

This commit adapts the design of the `s_numbers_framed` occurrences
across design themes.

task-4094384
Part of task-4077427

closes odoo/design-themes#1000

Related: odoo/odoo#175700
Signed-off-by: Christopher du Toit (chto) <chto@odoo.com>
2025-03-05 14:20:39 +00:00
Louis Wicket (wil) 0a08e9dfcd [I18N] export source terms
closes odoo/design-themes#1050

X-original-commit: 01c0f7d894
Related: odoo/odoo#198989
Related: odoo/enterprise#80027
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2025-02-24 18:31:04 +00:00
Julien Castiaux c26bfbab17 [IMP] all: add missing author in all manifests
The author field was made required by the previous commit, this commit
add the missing field in all manifests.

The upgrade-code script `18.2-01-manifest-author.py` was used. See
related community branch (same commit title).

task-4485983

closes odoo/design-themes#1044

Related: odoo/odoo#196408
Related: odoo/enterprise#78513
Related: odoo/documentation#11956
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2025-02-24 10:35:07 +00:00
mano-odoo 10576376c6 [FIX] theme_avantgarde: s_carousel text contrast
The `o_cc3` is rendering a white color depending on the the palette.
Using `o_cc5` ensure a white text on most palettes.

task-4381722

closes odoo/design-themes#1021

Signed-off-by: Christopher du Toit (chto) <chto@odoo.com>
2025-02-20 18:06:51 +00:00
Brieuc-brd 6ea1b24e5e [IMP] theme_anelusia, *: adapt s_carousel_cards
*: theme_aviato, theme_beauty, theme_bewise, theme_bistro,
theme_bookstore, theme_buzzy, theme_clean, theme_cobalt, theme_enark,
theme_graphene, theme_kea, theme_kiddo, theme_monglia, theme_nano,
theme_notes, theme_odoo_experts, theme_orchid, theme_paptic,
theme_real_estate, theme_treehouse, theme_vehicle, theme_yes, theme_zap,
test_themes

This commit adapts customizations for `s_carousel_cards`.

task-4094405
Part of task-4077427

closes odoo/design-themes#986

Related: odoo/odoo#183519
Related: odoo/upgrade#6692
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-02-20 04:43:52 +00:00
Chrysanthe (chgo) a1e425d1b6 [IMP] theme_*: adapt s_form_aside snippet across themes
*: artists, nano, notes, vehicle

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

task-4135499
part of task-4077427

closes odoo/design-themes#1007

Related: odoo/odoo#184094
Signed-off-by: Ivan Klapka (ivkl) <ivkl@odoo.com>
2025-02-17 18:54:47 +00:00
Chrysanthe (chgo) 3cc5d6b655 [FIX] theme_*: fix s_big_number wrong implementation
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, clean, cobalt, enark, graphene, kea, kiddo, loftspace,
monglia, nano, notes, odoo_experts, orchid, paptic, real_estate,
treehouse, vehicle, yes, zap

This commit aims to fix a wrong implementation of gradients on the
`s_big_number` snippet within the context of the web editor.

Prior to this commit, the `s_big_number` snippet was using a gradient
composed of the right color, but being declared as `RGB` values.

While this is working as expected and looking like it uses the right
`--o-color-*`, it's indeed working with the specific color applied in
first place. If a user changes the color palette of the website, the
snippet will look terrible as it doesn't adapt to the new palette.

This commit fixes the issue by using the right implementation with CSS
variables.

It also reviews a wrong structure using `<div>` while it should use the
right html tag.

task-4202371

closes odoo/design-themes#930

Related: odoo/odoo#180983
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2025-02-17 14:02:25 +00:00
Chrysanthe (chgo) b93e7407e5 [IMP] theme_*: adapt s_split_intro snippet
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, cobalt, enark, kiddo, loftspace, monglia, nano, notes,
odoo_experts, orchid, real_estate, treehouse, vehicle, yes, zap.

This commit reviews the occurrences of `s_split_intro` snippet across
design themes.

task-4077616
part of task-4077427

closes odoo/design-themes#876

Related: odoo/odoo#175321
Signed-off-by: Christopher du Toit (chto) <chto@odoo.com>
2025-02-17 11:58:30 +00:00
mano-odoo bd4b876b57 [IMP] theme_*: adapt s_timeline_images to themes
theme_anelusia, theme_artists, theme_buzzy, theme_nano, theme_yes

This commit adapt the `s_timeline_images` snippet to the themes.

task-4105285
Part of task-4077427

closes odoo/design-themes#995

Related: odoo/odoo#184760
Signed-off-by: Ivan Klapka (ivkl) <ivkl@odoo.com>
2025-02-14 17:53:19 +00:00
Mohammed Shekha 15d381a90f [FIX] theme_test_custo: Update menu search to match URL changes
Issue:
With PR [1], the url field for menus has been made required, with a
default value of #. This allows parent menus and megamenus to have a
URL.
However, in the theme_test_custo module, theme menus were previously
defined with parent menus having specific URLs. Due to this change, the
default url value is now #, making it impossible to search menus by URL.
As a result, the theme_menu_hierarchies tour failed.

Fix:
- Updated the menu search mechanism to align with the new behavior.
- Ensured that the tour passes successfully with the modified search
logic.

[1]: https://github.com/odoo/odoo/pull/160950

closes odoo/design-themes#1042

Task: 3851453
Related: odoo/odoo#160950
Related: odoo/upgrade#5904
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2025-02-14 07:46:21 +00:00
Xavier Luyckx (xlu) e564c44dfc [IMP] theme_*: adapt themes with new s_company_team_card snippet
*: avantgarde, aviato, beauty, bewise, bistro,bookstore, buzzy, clean,
cobalt, kea, kiddo, monglia, nano, notes, Orchid, paptic, real_estate,
vehicle, yes, zap

This commit adapts the design of `s_company_team_card` for multiple
themes, based on the new Odoo 18 snippet redesign.

task-4149441

closes odoo/design-themes#902

Part-of: task-4077427
Related: odoo/odoo#179843
Signed-off-by: Christopher du Toit (chto) <chto@odoo.com>
2025-02-13 14:53:46 +00:00
Chrysanthe (chgo) 245ccafd24 [IMP] theme_*: review s_numbers_boxed snippet occurrences
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, clean, cobalt, enark, kea, kiddo, loftspace, monglia,
nano, notes, odoo_experts, orchid, paptic, real_estate, treehouse,
vehicle, yes, zap

This commit reviews the occurrences of the `s_numbers_boxed` snippet
within themes

task-4094382
Part of task-4077427

closes odoo/design-themes#979

Related: odoo/odoo#175701
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2025-02-13 10:21:46 +00:00
Xavier Luyckx (xlu) 5051a4a68a [IMP] theme_*: adapt themes with new s_company_team_grid snippet
*: anelusia, artists, beauty, bewise, bistro, bookstore, clean, cobalt,
kea, kiddo, monglia, nano, notes, orchid, real_estate, treehouse,
vehicle, yes

This commit adapts the design of new `s_company_team_grid` snippet for
multiple themes.

task-4150614

closes odoo/design-themes#901

Part-of: task-4077427
Related: odoo/odoo#179791
Signed-off-by: Christopher du Toit (chto) <chto@odoo.com>
2025-02-12 17:48:34 +00:00
mano-odoo b9b7ebd9e9 [IMP] theme_*: adapt s_comparisons_horizontal to themes
*: theme_anelusia, theme_artists, theme_avantgarde, theme_aviato,
theme_beauty, theme_bistro, theme_enark, theme_kea, theme_loftspace,
theme_monglia, theme_nano, theme_notes, theme_orchid, theme_treehouse,
theme_vehicle, theme_yes, theme_zap

This commit adapts the themes to the new `s_comparisons_horizontal`
snippet.

task-4105264
Part of task-4077427

closes odoo/design-themes#992

Related: odoo/odoo#184281
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2025-02-12 10:07:05 +00:00
Krzysztof Magusiak (krma) 0b82649197 [IMP] core: tools.config.is_testing flag
Flag to check whether Odoo was started in test mode.

task-4270485

closes odoo/design-themes#1009

Related: odoo/odoo#186924
Related: odoo/enterprise#73654
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
2025-01-31 12:12:07 +00:00
Xavier Luyckx (xlu) ff5c23e613 [FIX] theme_artists: s_opening_hours remove unnecessary xpath
With recent updates to the `s_opening_hours` snippet, an additional
xpath has become redundant in the context of this theme's revamp.

This commit removes the now unused xpath.

task-4207030
Part of task-4077427

closes odoo/design-themes#1004

Related: odoo/odoo#181170
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-01-31 10:54:36 +00:00
Chrysanthe (chgo) 3e1fe98a4e [IMP] theme_*: adapt s_website_form_cover snippet
*: theme_anelusia, theme_artists, theme_avantgarde, theme_aviato,
theme_beauty, theme_bewise, theme_bistro, theme_bookstore, theme_clean,
theme_cobalt, theme_enark, theme_graphene, theme_kea, theme_kiddo,
theme_monglia, theme_nano, theme_notes, theme_odoo_experts, theme_orchid
, theme_paptic, theme_real_estate, theme_treehouse, theme_vehicle,
theme_yes, theme_zap

This commit reviews the occurrences of `s_website_form_cover` across
design themes.

task-4138250

closes odoo/design-themes#1010

Part-of: task-4077427
Related: odoo/odoo#178102
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-01-31 10:54:34 +00:00
Xavier Luyckx (xlu) 99b5db0139 [IMP] theme_*: adapt themes with new s_company_team_spotlight snippet
*: artists, aviato, bistro, nano, notes

This commit adapts the design of `s_company_team_spotlight` for multiple themes,
based on the new Odoo 18 snippet redesign.

task-4147920

closes odoo/design-themes#903

Part-of: task-4077427
Related: odoo/odoo#179844
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-01-30 16:58:01 +00:00
Chrysanthe (chgo) 014a33d9f8 [IMP] test_themes: fix test for s_rating inner snippet
This commit adds a line within the `new_page_templates` test in order to
allow the snippet `s_rating` to be used with `s_rating_no_title`.

task-4306631

closes odoo/design-themes#1041

Related: odoo/odoo#186130
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-01-10 19:06:55 +00:00
Gorash 89ef56bda9 [IMP] orm/all: Make _name or _inherit mandatory
This is a request following the revert of the use of class names
(concerning the python inheritance and typing project)

closes odoo/design-themes#1040

X-original-commit: 2263661435
Related: odoo/odoo#191963
Related: odoo/enterprise#76269
Signed-off-by: Raphael Collet <rco@odoo.com>
2024-12-28 08:04:36 +00:00
Louis Wicket (wil) 653298dd0e [I18N] export source terms
closes odoo/design-themes#1039

X-original-commit: 658d039f2c
Related: odoo/odoo#191728
Related: odoo/enterprise#76168
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2024-12-26 08:59:10 +00:00
qsm-odoo 0f4e8df0e1 [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#1037

X-original-commit: a5a838e84f
Related: odoo/odoo#191567
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-12-24 08:45:12 +00:00
qsm-odoo 870d8b1a9e [IMP] test_themes: whitelist new snippet newsletter box classes
task-4306880
Part of task-4077427

closes odoo/design-themes#1036

Related: odoo/odoo#186281
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-12-22 00:31:52 +00:00
qsm-odoo f3d88b9516 [IMP] theme_*: explode masonry snippet
See community commit for details

Note: this also fixes avantgarde svg/screenshot at the same time: we
remove the s_masonry_block but add the missing carousel.

(image contribution by MANO)

closes odoo/design-themes#1020

Related: odoo/odoo#183755
Related: odoo/upgrade#6642
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: mano-odoo <mano@odoo.com>
2024-12-17 15:13:01 +00:00
William Braeckman 2b56d0cf91 [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#1029

X-original-commit: c5f4e1c414
Related: odoo/odoo#190526
Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
2024-12-12 20:14:43 +00:00
Antoine (anso) 3dc1eada63 [IMP] theme_*: adapt themes with new s_cta_mobile snippet
*: artists, nano

This commit adapts the design of new `s_cta_mobile` snippet for
multiple themes.

Part of task-4077427
task-4094393

closes odoo/design-themes#1019

Related: odoo/odoo#185635
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-12-06 13:21:25 +00:00
qsm-odoo 6a1c82e288 [FIX] theme_avantgarde: add missing snippet in svg/screenshot preview
Related to task-4246355

(image contribution by MANO)

closes odoo/design-themes#1023

X-original-commit: 39069559bf
Related: odoo/odoo#189669
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: mano-odoo <mano@odoo.com>
2024-12-06 08:43:29 +00:00
qsm-odoo 26fbde782f [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

X-original-commit: c97e39eee5
Part-of: odoo/design-themes#1023
Related: odoo/odoo#189669
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-12-06 08:43:29 +00:00
Brieuc-brd 54c7977709 [IMP] theme_artists, *: adapt background shapes
*: theme_avantgarde, theme_aviato, theme_beauty, theme_bewise,
theme_bistro, theme_bookstore, theme_buzzy, theme_clean, theme_cobalt,
theme_enark, theme_graphene, theme_kea, theme_kiddo, theme_monglia,
theme_notes, theme_odoo_experts, theme_orchid, theme_real_estate,
theme_treehouse, theme_vehicle, theme_yes, theme_zap

This commit adapts background shapes in theme customizations where
shapes have been removed or added during the introduction of
"Connections" shapes.

task-4251568

closes odoo/design-themes#996

Related: odoo/odoo#185342
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-12-05 16:26:39 +00:00
Brieuc-brd 1a5ffab8d1 [IMP] theme_anelusia, *: adapt s_website_form_overlay
*: theme_aviato, theme_beauty, theme_bewise, theme_bistro,
theme_bookstore, theme_buzzy, theme_clean, theme_cobalt, theme_enark,
theme_graphene, theme_kea, theme_kiddo, theme_monglia, theme_nano,
theme_notes, theme_odoo_experts, theme_orchid, theme_paptic,
theme_real_estate, theme_treehouse, theme_vehicle, theme_yes, theme_zap

This commit adapts customizations for `s_website_form_overlay`.

task-4138795
Part of task-4077427

closes odoo/design-themes#989

Related: odoo/odoo#183568
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-11-22 13:48:08 +00:00
Benjamin Vray 9537149afc [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#1018

X-original-commit: fe91239586
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-11-22 07:12:21 +00:00
Chrysanthe (chgo) 8366f30360 [FIX] theme_*: fix numbers snippets layout across themes
*: nano, notes, odoo_experts, treehouse, zap

This commit reviews the occurrences of the `s_numbers_*` snippets
to align them with the new layout of these snippets.

Prior to this commit, the layout of those snippet was "broken" due to
weird structure like nested rows, .. which prevents the editor to apply
a change on the whole content.

As we reworked the layout of these snippets to fix the issue, we need to
apply these changes in themes as well.

task-4223179

closes odoo/design-themes#1012

Related: odoo/odoo#185688
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-11-20 14:17:48 +00:00
Krzysztof Magusiak (krma) 3da633d789 [IMP] core: clear environment reset
`reset()` is on the transaction.

task-4201974

closes odoo/design-themes#1008

Related: odoo/odoo#186635
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2024-11-12 08:53:06 +00:00
Xavier Luyckx (xlu) f63862fb48 [IMP] theme_*: adapt images in s_striped_center_top snippet
*: avantgarde, loftspace, real_estate, zap

This commit updates the images in the `s_striped_center_top` snippet for
specific themes. The previous images were not visually good due to their
height. The new, more landscape-oriented images provide a better visual
fit, improving the overall design and aesthetics across the themes.

task-4179589
Part of task-4077427

closes odoo/design-themes#904

Related: odoo/odoo#179888
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-10-29 19:05:48 +00:00
Soukéina Bojabza 3fdecf482d [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#1003

X-original-commit: d5645edf28
Related: odoo/odoo#185715
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-10-29 17:40:09 +00:00
Serge Bayet (seba) 3adf9d6420 [FIX] *: remove auto text selection on click
*: theme_buzzy, theme_clean, theme_common, theme_graphene, theme_kiddo,
   theme_odoo_experts, theme_test_custo

See community commit for details.

task-4147162

closes odoo/design-themes#994

Related: odoo/odoo#184570
Related: odoo/enterprise#72590
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-10-26 01:47:10 +00:00