Commit Graph

461 Commits

Author SHA1 Message Date
Dylan Kiss (dyki) e50816fa82 [I18N] *: remove .tx/config
After the switch to Weblate, we now only use the `.weblate.json` file
instead of the previous `.tx/config` file.

closes odoo/design-themes#1139

X-original-commit: 74a1eb1608
Related: odoo/odoo#225467
Related: odoo/enterprise#93872
Related: odoo/documentation#14491
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
Signed-off-by: Dylan Kiss (dyki) <dyki@odoo.com>
2025-09-05 19:43:19 +00:00
Odoo Translation Bot 3c67fd6843 [I18N] *: fetch translation updates 2025-09-04 23:10:26 +00:00
Odoo Translation Bot ce3a44a7ff [I18N] *: add new language files
Languages: bg
2025-09-03 23:11:07 +00:00
Odoo Translation Bot 2cf845050d [I18N] *: fetch translation updates 2025-09-03 23:10:44 +00:00
Odoo Translation Bot 09bc566d10 [I18N] *: fetch translation updates 2025-09-02 23:11:19 +00:00
Odoo Translation Bot 2caa830d99 [I18N] *: fetch translation updates 2025-09-01 23:10:32 +00:00
Odoo Translation Bot 83bca5a0c9 [I18N] *: fetch translation updates 2025-08-29 23:10:24 +00:00
Odoo Translation Bot eaecdbb8e7 [I18N] *: fetch translation updates 2025-08-28 23:10:16 +00:00
Odoo Translation Bot 4b3ab0794c [I18N] *: fetch translation updates 2025-08-27 23:10:37 +00:00
Odoo Translation Bot 2b0af2d3a5 [I18N] *: fetch translation updates 2025-08-26 23:10:31 +00:00
Odoo Translation Bot 8c81fd69ef [I18N] *: fetch translation updates 2025-08-25 23:10:45 +00:00
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