Commit Graph

450 Commits

Author SHA1 Message Date
abd-msyukyu-odoo ff3b83713f [IMP] website, html_builder: move image and background options
As mass_mailing will soon use the `html_builder` instead of the legacy editor,
some useful options currently exclusive to `website` can be moved to be globally
available.

task-4247642

closes odoo/design-themes#1131

Related: odoo/odoo#222345
Signed-off-by: Francois Georis (fge) <fge@odoo.com>
Co-authored-by: Damien Abeloos <abd@odoo.com>
Co-authored-by: Thomas Josse <thjo@odoo.com>
2025-08-25 15:48:06 +00:00
Odoo Translation Bot d11a932f32 [I18N] *: fetch translation updates 2025-08-22 23:10:14 +00:00
Odoo Translation Bot 91f4625e4c [I18N] *: fetch translation updates 2025-08-21 23:10:26 +00:00
Odoo Translation Bot fb051a3ce8 [I18N] *: fetch translation updates 2025-08-20 23:10:59 +00:00
Odoo Translation Bot 8aaf2f18be [I18N] *: add new language files
Languages: my
2025-08-16 23:11:06 +00:00
Odoo Translation Bot bb72cca598 [I18N] *: fetch translation updates 2025-08-15 23:14:17 +00:00
Odoo Translation Bot 5661edbe1a [I18N] *: fetch translation updates 2025-08-13 23:11:08 +00:00
Odoo Translation Bot 9a8273f1e4 [I18N] *: fetch translation updates 2025-08-11 12:35:03 +00:00
Odoo Translation Bot 9f2ea7274e [I18N] *: add new language files
Languages: hr, ku, sr@latin, pt, ro, el, mn, fa, hu, he, uk
2025-08-07 08:52:46 +00:00
Odoo Translation Bot ec6badf8a8 [I18N] *: fetch translation updates
Co-authored-by: Jessica Tuulia Sade Jäkärä (jtsj) <jtsj@odoo.com>
Co-authored-by: Larissa Manderfeld (lman) <lman@odoo.com>
Co-authored-by: Odoo Translation Bot <c3p@odoo.com>
Co-authored-by: Rasareeyar Lappiam (rlap) <rlap@odoo.com>
2025-08-07 08:46:09 +00:00
Odoo Translation Bot d77cfe51d6 [I18N] *: fetch saas-18.4 translations 2025-08-03 22:04:42 +00:00
Dylan Kiss (dyki) ef36c532b1 [I18N] *: add config file for Weblate
We are switching our translations platform from Transifex to Weblate.
Hence, we are using a new config file to sync our translations between
GitHub and Weblate.

The `.tx/config` file will be deleted in a later commit when the
Transifex sync is shut down.

closes odoo/design-themes#1122

Related: odoo/odoo#220637
Related: odoo/enterprise#91051
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2025-07-29 14:39:31 +00:00
Odoo Translation Bot 4e0285980d [I18N] *: fetch saas-18.4 translations 2025-07-28 18:15:42 +00:00
Odoo Translation Bot 876902b582 [I18N] *: fetch saas-18.4 translations 2025-07-25 18:13:59 +00:00
Odoo Translation Bot d9c2ba6353 [I18N] *: fetch saas-18.4 translations 2025-07-22 18:28:42 +00:00
Odoo Translation Bot b6bff056cd [I18N] *: fetch saas-18.4 translations 2025-07-19 17:18:11 +00:00
Odoo Translation Bot c170b67cc3 [I18N] *: fetch saas-18.4 translations 2025-07-16 18:12:36 +00:00
Odoo Translation Bot 0d80994fd8 [I18N] *: fetch saas-18.4 translations 2025-07-13 17:20:16 +00:00
Odoo Translation Bot 4887f29403 [I18N] *: fetch saas-18.4 translations 2025-07-10 18:13:40 +00:00
Odoo Translation Bot a194e69c0a [I18N] *: fetch saas-18.4 translations 2025-07-07 10:04:26 +00:00
Louis Wicket (wil) 1cc6bcda5d [I18N] export source terms
closes odoo/design-themes#1107

Related: odoo/odoo#216865
Related: odoo/enterprise#89126
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2025-07-04 16:01:19 +00:00
Thomas Josse (THJO) 823975f973 [IMP] theme_test_custo: update js import
This commit updates the js import for ImageShapeOptionPlugin as it was moved
from website to html_builder in: odoo/odoo#215136.

task-4247642

closes odoo/design-themes#1108

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2025-07-03 15:36:23 +00:00
Hubert Van De Walle 1a000aaf89 [FIX] theme_test_custo: correct tour trigger to look for svg images
Since [1], the test "test_01_menu_hierarchies" fails.

Note that the check is not as strong as before as we cannot check the
source of the image.

Since [2], the btn-primary is now btn-secondary
---

[1]: https://github.com/odoo/odoo/commit/3cc5ff6e96493f2b068090f880987def3787895e
[2]: https://github.com/odoo/odoo/commit/eca4d1b1d4ea58959793b0a2cbfa443308759372

runbot-226641

closes odoo/design-themes#1106

Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2025-06-25 16:56:54 +00:00
Christophe Monniez a0204e647d [REL] saas-18.4 2025-06-24 11:05:33 +00:00
Robin Lejeune (role) 030218b557 [FIX] test_themes: use new website switcher systray
Commit [e96ce8ed] deleted the old website systray items, which have been
moved and slightly rewritten with the [refactor into html_builder]. In
the process, patches made in test_themes were overlooked.
This commit makes sure to patch the right component and template.

[e96ce8ed]: https://github.com/odoo/odoo/commit/e96ce8edb020b55bc6ccd7fa579f31ee80d600f7
[refactor into html_builder]: https://github.com/odoo/odoo/commit/9fe45e2b7ddb

runbot-226545

closes odoo/design-themes#1101

Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2025-06-13 16:53:06 +00:00
Krzysztof Magusiak (krma) a0bff7ba5b [MOV] website: MockRequest to tests.common
closes odoo/design-themes#1095

Related: odoo/odoo#212405
Related: odoo/enterprise#86717
Related: odoo/upgrade#7775
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2025-06-10 13:08:17 +00:00
Brieuc-brd 83ca4251c8 [IMP] theme_artists, *: adapt s_attributes_horizontal
*: theme_loftspace, theme_nano, theme_orchid

This commit adapts customizations for `s_attributes_horizontal`.

task-4775848
Part of task-4252024

closes odoo/design-themes#1061

Related: odoo/odoo#208764
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-06-05 21:58:42 +00:00
Louis (loco) bcb3f3718a [FIX] theme_test_custo: rename wrong template
[1] adapted the code to work with the new website builder (introduced by
[2]). The problem is that since [3], some templates have been renamed
and `html_builder.FooterTemplateOption` became
`website.FooterTemplateOption`. The commit changes the occurrence of
`html_builder.FooterTemplateOption` into `website.FooterTemplateOption`
in `design-themes`.

[1]: https://github.com/odoo/design-themes/commit/0ce1455aac7d95154b92daa98fb8ffbf27d12f1a
[2]: https://github.com/odoo/odoo/commit/9fe45e2b7ddbbfd0445ffe25a859e67a316d02b2
[3]: https://github.com/odoo/odoo/commit/f32212f6a4e1c9915791a5d4d63a57bbcb40ac61

runbot-226494

closes odoo/design-themes#1097

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-06-05 19:33:55 +00:00
Louis (loco) 0ce1455aac [FIX] theme_test_custo: adapt design themes to the new website builder
Since [this commit], the website builder has been rewritten. Due to it,
`we-` options are deprecated. This commit adapts all the `xpath` to old
options into the new way of doing. This commit also adapts the
`theme_menu_hierarchies` tour for it to work with the new builder.

[this commit]: https://github.com/odoo/odoo/commit/9fe45e2b7ddbbfd0445ffe25a859e67a316d02b2

Related to task-4367641
runbot-223813
runbot-223815

closes odoo/design-themes#1087

Related: odoo/odoo#211725
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-06-04 14:49:05 +00:00
Nicolas Lempereur 927b4c86c5 [FIX] theme_cobalt,theme_paptic: enable blog Inter bolder
Scenario:
- install theme_cobalt or theme_paptic
- go to a website blog post
- put a word in bold

Result: the bold is not shown bolder than the text

Issue: Inter font in theme_cobalt and theme_paptic loads weights 400,
600 and 800. The blog post normal font weight is 300 since 2019 (in
odoo/odoo@bb0cdec459) and so both normal
font-weight and bold inside it are shown with weight 400 which make bold
not differentiated.

Fix: add 300 weight to Inter font.

Note: in 18.0, Inter font already has weight 300 in theme_odoo_experts,
theme_enark, theme_vehicle, theme_bookstore, theme_nano, theme_clean and
website but it is still missing for cobalt and paptic themes.

opw-4818737

closes odoo/design-themes#1094

X-original-commit: 55ddb9fea8
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2025-06-02 10:58:46 +00:00
assk-odoo 2e43e42596 [FIX] theme_test_custo: remove the console error in test_assets mode
The "Test" key is unnecessary in the tour registry, as it has already been
removed from the Tour Schema (see PR[1]). Also, refactor the tour
definitions to follow the updated step structure.

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

task-4702436

closes odoo/design-themes#1086

X-original-commit: 0295bf1567
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2025-05-23 00:51:16 +00:00
qsm-odoo c0d3a66313 [FIX] theme_test_custo: fix nightly theme preview tour
The theme preview feature before selection was disabled in [1]. This
commit disables the related tour steps that were testing it a nightly
tour... that was red since then.

[1]: https://github.com/odoo/odoo/commit/7cb71e9479df0ee9af0b7ad39302857666726177

Related to task-3454790

closes odoo/design-themes#1082

X-original-commit: b4dfb01abe
Related: odoo/odoo#210890
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-05-22 20:28:05 +00:00
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