Commit Graph

499 Commits

Author SHA1 Message Date
Dylan Kiss (dyki) c81888d7bd [I18N] theme_*: update po files to match pot file
closes odoo/design-themes#1163

Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2025-10-01 17:08:36 +00:00
Gorash c0d05fff10 [IMP] website: Introduce high-level cache for website pages
ormcache invalidation in test_02_homepage_tour_every_theme test.

The configurator_apply method and various methods used for theme added
on `ir.module.module` from website write directely on `ir.model.data`
and update attachments, views, xmlids. They are missing invalidations
of template ormcache and others.

Adding a high-level cache revealed the problem, but this issue
already exists, it impacts all template caches such as `website.page`
and `ir.qweb`.

see odoo/odoo#224487
see odoo/odoo#88276

closes odoo/design-themes#1151

Related: odoo/odoo#226627
Related: odoo/enterprise#94487
Signed-off-by: Christophe Matthieu (chm) <chm@odoo.com>
2025-10-01 13:05:13 +00:00
Serge Bayet (seba) 501f57e840 [FIX] test_themes: run configurator standalone test under mocked request
Commit [1] copies configurator pages during the flow. When the
standalone test leaves website_id in the context, that copy now tries
to create generic views with a website-scoped environment and hits the
ir.ui.view guard. Running the configurator inside MockRequest mimics the
real HTTP context (request-driven website, no forced id on the ORM), so
the copy succeeds and the test passes again.

[1]: https://github.com/odoo/odoo/commit/4231c9e545fdebdad034a4418f2a11e6691bac61

runbot-232963

closes odoo/design-themes#1159

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-09-30 14:43:08 +00:00
Odoo Translation Bot 4c44e1841d [I18N] *: fetch translation updates 2025-09-30 02:50:37 +00:00
Odoo Translation Bot 822992cf97 [I18N] *: fetch translation updates 2025-09-29 02:50:09 +00:00
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