Commit Graph

494 Commits

Author SHA1 Message Date
Serge Bayet (seba) 5a29c52a5b [FIX] test_themes: mock RPC calls in standalone configurator tests
The standalone theme configurator test
(test_02_theme_default_generate_primary_templates) failed locally
because `configurator_apply()` attempts to perform real HTTP requests
through `_website_api_rpc()` and `_OLG_api_rpc()`.

Standalone tests run without network access by design, so these calls
must be mocked to ensure deterministic behavior.

This commit patches both RPC methods during the test execution to return
minimal, valid fake payloads.

IAP itself does not need to be tested here: its behavior and endpoints
are already covered indirectly by the configurator_flow web tour test in
test_website_modules, which exercises the full configurator flow
end-to-end with real network access.

runbot-231270

closes odoo/design-themes#1156

X-original-commit: 42b78a247d
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-09-27 06:47:26 +00:00
Odoo Translation Bot 770e69f470 [I18N] *: add new language files
Languages: et
2025-09-27 02:50:34 +00:00
Odoo Translation Bot b79e3d0b9e [I18N] *: fetch translation updates 2025-09-26 02:50:58 +00:00
Odoo Translation Bot edc3266bb9 [I18N] *: fetch translation updates 2025-09-25 02:51:01 +00:00
Odoo Translation Bot 972da79ade [I18N] *: fetch translation updates 2025-09-18 02:51:50 +00:00
Odoo Translation Bot b715b1a7c4 [I18N] *: fetch translation updates 2025-09-17 02:51:55 +00:00
Odoo Translation Bot acd7ffc0ff [I18N] *: fetch translation updates 2025-09-16 02:50:55 +00:00
Antoine (anso) 233a091b09 [FIX] theme_*: adapt snippets after secondary color fixes
*: 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 adapts multiple snippets after they were changed in the
community counterpart of this PR.

task-5072830

closes odoo/design-themes#1143

Related: odoo/odoo#226255
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-09-14 19:37:47 +00:00
Odoo Translation Bot f266c645a8 [I18N] *: fetch translation updates 2025-09-14 15:41:39 +00:00
Odoo Translation Bot a278dae899 [I18N] *: add new language files
Languages: nb, es, hu, pt_BR, sv, nl, it, sl, az, ja, pt, he, id, cs, sr@latin, ko, ru, es_419, fa, hr, fr, da, vi, th, ar, de, pl, lt, fi, ro, bg, zh_CN, tr, mn, el, my, ku, ca, zh_TW, hi, uk
2025-09-13 15:41:17 +00:00
Dylan Kiss (dyki) fec32d1b48 [I18N] *: re-export .pot files
closes odoo/design-themes#1145

Related: odoo/odoo#226599
Related: odoo/enterprise#94469
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2025-09-13 09:07:30 +00:00
Antoine (anso) 1a44024129 [FIX] theme_*: restore themes dark footers
*: anelusia, artists, avantgarde, aviato, beauty, bistro, bookstore,
   buzzy, cobalt, enark, graphene, kiddo, loftspace, monglia,
   odoo_experts, orchid, real_estate, treehouse, yes

The footer color was switched from o_cc5 to o_cc2 in commit [1].

Several themes relied on the footer being dark by default without
having to override o_cc5. Since the default footer is now light, those
themes were updated to explicitly use a dark preset.

[1]: https://github.com/odoo/odoo/commit/62cad846a5c8adf52fc0450bc3f5cfd0492d0622

task-5074919

closes odoo/design-themes#1144

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-09-11 18:44:18 +00:00
Christophe Monniez 2bd942a9cf [REL] 19.0 2025-09-11 07:02:12 +00:00
Augustin (duau) 4bd388f771 [REF] * : adapt shape mapping to html_builder
*: theme_anelusia, theme_artists, theme_avantgarde, theme_aviato,
theme_beauty, theme_bistro, theme_bookstore, theme_buzzy, theme_clean,
theme_cobalt, 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_yes, theme_zap

closes odoo/design-themes#1129

Related: odoo/odoo#222471
Related: odoo/enterprise#92087
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2025-09-09 09:00:01 +00:00
Augustin (duau) 4763f66fbc [REF] *: change reference from web_editor image_shape to html_builder
*: theme_anelusia, theme_artists, theme_avantgarde, theme_beauty,
theme_bistro, theme_buzzy, theme_clean, theme_graphene, theme_kea,
theme_kiddo, theme_monglia, theme_nano, theme_odoo_experts,
theme_orchid, theme_real_estate, theme_test_custo, theme_treehouse,
theme_vehicle, theme_zap

Part-of: odoo/design-themes#1129
Related: odoo/odoo#222471
Related: odoo/enterprise#92087
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2025-09-09 09:00:01 +00:00
Augustin (duau) 197417c65a [REF] theme_*: change web_editor image_shape route to html_editor route
*: theme_anelusia, theme_artists, theme_avantgarde, theme_beauty,
theme_bistro, theme_buzzy, theme_clean, theme_graphene, theme_kea,
theme_kiddo, theme_monglia, theme_nano, theme_odoo_experts,
theme_orchid, theme_real_estate, theme_test_custo, theme_treehouse,
theme_vehicle, theme_zap

Part-of: odoo/design-themes#1129
Related: odoo/odoo#222471
Related: odoo/enterprise#92087
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2025-09-09 09:00:00 +00:00
Augustin (duau) a71f0184b8 [REF] theme_*: change web_editor shape route to html_editor route
*: test_themes, theme_anelusia, theme_artists, 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_loftspace, theme_monglia, theme_nano,
theme_notes, theme_odoo_experts, theme_orchid, theme_paptic,
theme_real_estate, theme_treehouse, theme_vehicle, theme_yes, theme_zap

Part-of: odoo/design-themes#1129
Related: odoo/odoo#222471
Related: odoo/enterprise#92087
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2025-09-09 09:00:00 +00:00
Augustin (duau) 2ff08528c7 [REF] *: change reference from web_editor shape to html_builder
*: test_themes, theme_anelusia, theme_artists, 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_loftspace, theme_monglia, theme_nano,
theme_notes, theme_odoo_experts, theme_orchid, theme_paptic,
theme_real_estate, theme_treehouse, theme_vehicle, theme_yes, theme_zap

Part-of: odoo/design-themes#1129
Related: odoo/odoo#222471
Related: odoo/enterprise#92087
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2025-09-09 09:00:00 +00:00
mano-odoo 54bf4c2941 [IMP] theme_notes: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list`snippet in the default
snippet sequence of the theme's homepage.

task-5009694

closes odoo/design-themes#1137

Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:27 +00:00
mano-odoo 66b929963a [IMP] theme_loftspace: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list`snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:27 +00:00
mano-odoo cde25cd1d1 [IMP] theme_kiddo: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list`snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:27 +00:00
mano-odoo f3d86a153c [IMP] theme_kea: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list`snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:27 +00:00
mano-odoo d3cff708b0 [IMP] theme_graphene: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:27 +00:00
Julien (jdeh) bd874608ce [IMP] theme_vehicle: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:27 +00:00
Julien (jdeh) a67da4bf87 [IMP] theme_treehouse: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:27 +00:00
Julien (jdeh) 7f34f86768 [IMP] theme_real_estate: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:27 +00:00
Julien (jdeh) 0f8ece7277 [IMP] theme_paptic: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme’s homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:27 +00:00
Julien (jdeh) 29e623f2d7 [IMP] theme_orchid: add and customize wsale categories snipet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:27 +00:00
mano-odoo cb7c953f92 [IMP] theme_enark: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list`snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
Co-authored-by: Xavier Luyckx (xlu) <xlu@odoo.com>
2025-09-09 07:11:27 +00:00
Xavier Luyckx (xlu) afb75eef0f [IMP] theme_monglia: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:27 +00:00
Xavier Luyckx (xlu) 4c118e0bd0 [IMP] theme_nano: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:27 +00:00
Xavier Luyckx (xlu) bfb91a7af5 [IMP] theme_odoo_experts: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:27 +00:00
Xavier Luyckx (xlu) 65d26bb83b [IMP] theme_zap: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:27 +00:00
Xavier Luyckx (xlu) b11d9e70ac [IMP] theme_yes: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:27 +00:00
Antoine (anso) 73bcbfb872 [IMP] theme_cobalt: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:26 +00:00
Antoine (anso) 3fb1ae59bd [IMP] theme_clean: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:26 +00:00
Antoine (anso) 985d630547 [IMP] theme_buzzy: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:26 +00:00
Antoine (anso) 0e2862cc6a [IMP] theme_bookstore: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:26 +00:00
Antoine (anso) b0ef287c18 [IMP] theme_bistro: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:26 +00:00
Antoine (anso) 937b0bee9c [IMP] theme_bewise: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:26 +00:00
Antoine (anso) b48635ee00 [IMP] theme_beauty: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:26 +00:00
Antoine (anso) a2be955b45 [IMP] theme_aviato: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:26 +00:00
Antoine (anso) 4ff92e6ecc [IMP] theme_avantgarde: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:26 +00:00
Antoine (anso) 1c0c638a60 [IMP] theme_artists: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:26 +00:00
Antoine (anso) efa4e69746 [IMP] theme_anelusia: add and customize wsale categories snippet
This commit includes and customize the
`website_sale.s_dynamic_snippet_category_list` snippet in the default
snippet sequence of the theme's homepage.

task-5009694

Part-of: odoo/design-themes#1137
Related: odoo/odoo#225310
Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
2025-09-09 07:11:26 +00:00
Chrysanthe (chgo) 376ab972ea [IMP] theme_*: improve SEO by correcting heading tag hierarchy
* 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 adapts all the `xpath` expressions inside design themes to
target the new heading tags that were changed within the snippet files.

task-4349019

closes odoo/design-themes#1043

Related: odoo/odoo#191300
Related: odoo/enterprise#92978
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-09-08 18:27:03 +00:00
Augustin (duau) fee5fc75fe [FIX] *: fix duplicate palette crashing render in theme tab
*: theme_anelusia, theme_avantgarde, theme_bookstore, theme_buzzy,
   theme_real_estate, theme_treehouse

Since website refactor [1], a silent error would occur while rendering
the theme tab, because of the use of `t-foreach`, leading to nothing
being displayed depending of the theme.

This was caused by a duplicate key in the
`$o-selected-color-palettes-names` scss variable, added by some theme,
which would make the `t-foreach` crash in `website.ThemeColorsOption`.

Steps to reproduce:
- Create a website using any of the above themes, through the wizard
- Enter edit mode
- Click on theme tab
- Nothing is rendered

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

opw-5020952
opw-5040694

closes odoo/design-themes#1141

X-original-commit: d53ae16a85
Related: odoo/odoo#225809
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Augustin Dupin (duau) <duau@odoo.com>
2025-09-07 02:16:05 +00:00
Augustin (duau) 7fc9343344 [FIX] *: update tours to use new DOM structure
*: theme_bookstore, theme_kiddo, theme_notes, theme_odoo_experts

DOM structure was modified in website refactor [1], those tours were
still using the former one because they were silently disabled during
the refactor. See community PR for details (which re-enables them).

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

Related to opw-5020952
Related to opw-5040694

X-original-commit: 59f35e4dde
Part-of: odoo/design-themes#1141
Related: odoo/odoo#225809
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Augustin Dupin (duau) <duau@odoo.com>
2025-09-07 02:16:05 +00:00
Dylan Kiss (dyki) 53cbeade36 [I18N] *: update .weblate.json
After the switch to Weblate, we now only use the `.weblate.json` file
instead of the previous `.tx/config` file.

We update the `.weblate.json` file to reflect the current state of the
module translations and remove the `.tx/config` file.

closes odoo/design-themes#1140

X-original-commit: e50816fa82
Related: odoo/odoo#225795
Related: odoo/enterprise#94040
Related: odoo/documentation#14507
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
Signed-off-by: Dylan Kiss (dyki) <dyki@odoo.com>
2025-09-07 02:15:50 +00:00
Brieuc-brd 194053b935 [IMP] theme_artists, *: adapt s_attributes_vertical
*: theme_loftspace, theme_nano, theme_orchid

This commit adapts customizations for `s_attributes_vertical`.

task-4778437
Part of task-4252024

closes odoo/design-themes#1063

Related: odoo/odoo#208865
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-09-01 12:08:44 +00:00