Commit Graph

252 Commits

Author SHA1 Message Date
Xavier Luyckx (xlu) f2b03ac7bf [IMP] theme_*: adapt themes with new s_unveil snippet
*: anelusia, avantgarde, aviato, beauty, bewise, bookstore, ernark,
graphene, kea, kiddo, loftspace, monglia, nano, notes, odoo experts,
orchid, paptic, real_estate, treehouse, vehicle, yes, zap

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

task-4104471

closes odoo/design-themes#860

Part-of: task-4077427
Related: odoo/odoo#176167
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-14 09:24:56 +00:00
Brieuc-brd a17285da5b [IMP] test_themes: s_accordion adaptations
task-3759048
Part of task-3619705

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

closes odoo/design-themes#820

Related: odoo/odoo#172577
Related: odoo/upgrade#6309
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-13 14:22:43 +00:00
stefanorigano (SRI) 57cf8bb724 [IMP] theme_bookstore, *: adapt to new s_masonry_block design
*: theme_notes, theme_real_estate, theme_yes, theme_zap, theme_vehicle

Along with xPath adaptations, this commit also replaces a pixelated
image in the 'theme_yes'.

task-3665303
part of task-3619705

closes odoo/design-themes#839

Related: odoo/odoo#173870
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-07 10:00:54 +00:00
Brieuc-brd c75a090759 [IMP] theme_buzzy: adapt s_timeline
This commit adapts the s_timeline customizations since this snippet has
been redesigned in PR [1].

task-3657763
Part of task-3619705

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

closes odoo/design-themes#845

Related: odoo/odoo#172720
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-05 15:34:06 +00:00
Chrysanthe (chgo) a04a721284 [REM] remove obsolete template
This commit removes a useless template from the enark theme.

Prior to this commit, the old `numbers` snippet was only displaying
KPI without any title + lead, meaning that we had more room to display
numbers.

This space allowed us to display a KPI with its label side-by-side, which
is not more possible with the new snippet.

To improve consistency, we remove that template and go for the default one.

closes odoo/design-themes#822

Related: odoo/odoo#163583
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-08-01 11:09:47 +00:00
Chrysanthe (chgo) aa5ce391ae [IMP] review numbers snippets occurrences across design themes
This commit reviews the occurrences of the numbers snippets across
the website themes, especially broken selector.

The goal of this commit is to fix potential broken xpath as wel as
fine-tune the design if needed.

task-3924624

Part-of: odoo/design-themes#822
Related: odoo/odoo#163583
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-08-01 11:09:47 +00:00
Brieuc-brd 0211b2367d [IMP] theme_anelusia, *: s_product_catalog adaptations
*: theme_artists, theme_avantgarde, theme_beauty, theme_bewise,
theme_bistro, theme_bookstore, theme_buzzy, theme_clean, theme_kiddo,
theme_loftspace, theme_notes, theme_odoo_experts, theme_orchid,
theme_paptic

This commit adapts the s_product_catalog customizations since this
snippet has been redesigned in PR [1].

task-3665307
Part of task-3619705

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

closes odoo/design-themes#833

Related: odoo/odoo#173507
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-07-31 14:19:51 +00:00
Antoine (anso) 24fb7e0ed1 [IMP] theme_*: adapt themes with new s_process_steps design
*: (artists, buzzy, graphene)

This commit removes the customization of icon colors, as we are not
using them in the Odoo 18 redesign.

It also adapts the background of numbers to increase contrasts.

It also removes a title customization in the graphene theme as it was
not changing anything from the default snippet.

task-3672430

closes odoo/design-themes#840

Related: odoo/odoo#174166
Signed-off-by: Colin Louis (loco) <loco@odoo.com>
2024-07-31 07:49:49 +00:00
Antoine (anso) 676e43f93c [IMP] theme_*: adapt themes with new s_company_team design
*: (anelusia, beauty, bewise, graphene, notes, yes)

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

task-3657640

closes odoo/design-themes#844

Related: odoo/odoo#172719
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-07-31 07:49:47 +00:00
Chrysanthe (chgo) 143585714a [IMP] theme_*: adapt s_call_to_action snippet design
This commit applies some changes to the CTA snippet
occurrences existing in design themes.

*: anelusia, artists, avantgarde, beauty, bewise, bookstore, buzzy,
clean, enark, graphene, kiddo, loftspace, monglia, notes, odoo_experts,
orchid, paptic, treehouse, vehicle, yes, zap.

task-3670312

closes odoo/design-themes#823

Related: odoo/odoo#172728
Related: odoo/enterprise#66578
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-07-30 15:32:15 +00:00
stefanorigano (SRI) a5b4acdbdf [IMP] theme_*: s_comparison redesign adaptations
*: theme_anelusia, theme_artists, theme_beauty, theme_bewise,
   theme_bookstore, theme_buzzy, theme_clean, theme_graphene,
   theme_loftspace, theme_odoo_experts, theme_paptic, theme_treehouse

task-3665304
part of task-3619705

closes odoo/design-themes#842

Related: odoo/odoo#174299
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-29 18:55:06 +00:00
Antoine (anso) 816ce83846 [IMP] theme_*: adapt themes with new s_image_wall design
*: (artists, bookstore, cobalt, enark, graphene, monglia, real_estate,
vehicle, yes, zap)

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

task-3654301

closes odoo/design-themes#843

Related: odoo/odoo#163839
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-07-29 18:54:55 +00:00
stefanorigano (SRI) 1304512350 [IMP] test_themes, theme_common: adapt s_progress_bar
task-4070098
part of task-3619705

closes odoo/design-themes#841

Related: odoo/odoo#174286
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-29 12:50:49 +00:00
Brieuc-brd 52bfa2ec09 [IMP] theme_paptic: s_showcase adaptations
This commit removes the `s_showcase` customization since this snippets
has been redesigned in PR[1].

task-3657637
Part of task-3619705

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

closes odoo/design-themes#829

Related: odoo/odoo#172771
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-29 10:32:02 +00:00
Brieuc-brd 7b5b320e1d [IMP] theme_anelusia, *: adapt s_color_blocks_2 customizations
*: theme_artists, theme_beauty, theme_bewise, theme_buzzy, theme_clean,
theme_cobalt, theme_kea, theme_loftspace, theme_notes,
theme_odoo_experts, theme_paptic, theme_treehouse, theme_zap

This commit adapts the s_color_blocks_2 customizations since this
snippet has been redesigned in PR [1].

task-3665302
Part of task-3619705

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

closes odoo/design-themes#834

Related: odoo/odoo#173461
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-07-26 17:36:10 +00:00
Chrysanthe (chgo) a945545ba8 [IMP] theme_*: review s_banner templates
This commit aims to review all the occurrences of the `s_banner`
snippet across the themes in order to fix broken selectors, the `s_hr` in
our case, as it does not exist anymore in the snippet.

task-3665300

closes odoo/design-themes#827

Related: odoo/odoo#172725
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-26 17:36:07 +00:00
Chrysanthe (chgo) 245385c5df [IMP] theme_*: review s_text_cover templates
This commit aims to review all the occurrences of the `s_text_cover`
snippet across the themes in order to fix broken selectors.

task-3665300

Part-of: odoo/design-themes#827
Related: odoo/odoo#172725
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-26 17:36:07 +00:00
Chrysanthe (chgo) d3d4d7b900 [IMP] theme_*: review s_cover templates
This commit aims to review all the occurrences of the `s_cover`
snippet across the themes in order to fix broken selectors.

task-3665300

Part-of: odoo/design-themes#827
Related: odoo/odoo#172725
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-26 17:36:07 +00:00
Chrysanthe (chgo) c3bee92507 [IMP] theme_*: adapt s_image_text templates
This commit aims to review all the occurrences of the `s_image_text`
snippet across the themes in order to fix broken selectors.

task-3665301

closes odoo/design-themes#830

Related: odoo/odoo#173311
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-07-26 09:53:51 +00:00
Chrysanthe (chgo) 24b689a882 [IMP] theme_*: adapt s_text_image templates
This commit aims to review all the occurrences of the `s_text_image`
snippet across the themes in order to fix broken selectors.

task-3665301

Part-of: odoo/design-themes#830
Related: odoo/odoo#173311
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-07-26 09:53:50 +00:00
Chrysanthe (chgo) 0a64c011f5 [IMP] theme_*: review s_features_grid snippet
This commit reviews the occurrences of the features_grid snippet across
design themes.

*: theme_artists, theme_bewise, theme_bookstore, theme_buzzy,
theme_loftspace, theme_notes, theme_odoo_experts, theme_paptic,
theme_vehicle

task-3619705

closes odoo/design-themes#825

Related: odoo/odoo#172974
Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
2024-07-25 14:40:58 +00:00
Brieuc-brd dece1563a1 [IMP] test_themes, theme_buzzy: s_form adaptations
This commit adapts the s_form customizations since this snippet has been
redesigned in PR [1].

task-4048101
Part of task-3619705

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

closes odoo/design-themes#832

Related: odoo/odoo#172763
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-07-25 08:06:09 +00:00
Chrysanthe (chgo) 8ff74b77c6 [IMP] theme_*: review s_picture snippet occurrences
The goal of this commit is to fix xpath after the `s_picture` snippet
redesign, and eventually tweak some classes.

task-4047748

closes odoo/design-themes#824

Related: odoo/odoo#172740
Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
2024-07-24 10:26:52 +00:00
Chrysanthe (chgo) e3fc061cb9 [REM] website: remove obsolete s_features templates across themes
The goal of this commit is to remove some obsolete templates of the
`s_features` snippet across design themes, due to changes in the
redesign that invalidate the need of modifying these specific elements.

task-3657631

closes odoo/design-themes#826

Related: odoo/odoo#163577
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-24 10:26:47 +00:00
Chrysanthe (chgo) 88c8ec0d83 [IMP] website: review s_features snippet templates
The goal of this commit is to review the occurrences of the
default `s_features` snippet across design themes.

task-3657631

Part-of: odoo/design-themes#826
Related: odoo/odoo#163577
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-24 10:26:47 +00:00
Benjamin Vray 2b3b8b49b4 [IMP] test_themes, theme_* : Adapts tours for new dragNDrop system
Following the change in the way of dragging and dropping a snippet onto
the page (by selecting it from a dialog displaying the actual previews
of snippets). The themes tours have been adapted to this change in this
commit.

task-3919405

closes odoo/design-themes#817

Related: odoo/odoo#166967
Related: odoo/enterprise#66150
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-07-23 16:22:48 +00:00
Brieuc-brd f1b15e063f [IMP] theme_artists,* : s_quotes_carousel adaptations
This commit removes the `s_quotes_carousel` customization since this
snippets has been redesigned in PR[1].

task-3658347

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

closes odoo/design-themes#828

Related: odoo/odoo#172723
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-23 10:18:56 +00:00
Brieuc-brd 903b6a149a [IMP] theme_buzzy: s_blockquote adaptations
This commit removes the `s_blockquote` customization since this snippets
has been redesigned in PR[1].

task-3658347

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

Part-of: odoo/design-themes#828
Related: odoo/odoo#172723
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-23 10:18:56 +00:00
Louis Wicket (wil) b128f145b8 [I18N] export source terms
closes odoo/design-themes#835

X-original-commit: ee2b1f0c6e
Related: odoo/odoo#173549
Related: odoo/enterprise#66844
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2024-07-22 10:12:52 +00:00
Pierre Pulinckx (PIPU) 96c4cb68ad [REF] theme_*: remove extra_trigger
In order to simplify the tours API, it was decided to remove the
extra_trigger key from the steps.
To check that an element is in the DOM, simply create a step with
a trigger.

task~3974087

closes odoo/design-themes#816

Related: odoo/odoo#171309
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-07-02 09:46:48 +00:00
Soukéina Bojabza 3cd215853a [FIX] theme_enark: set a real boolean value to btn-outline-primary
For each theme, there are files redefining the different website SCSS
variables, in order for the color palettes, fonts, buttons,... to have
the styles defined by them. These redefinitions are also used by the
"Theme Options", to show the current values in the different widgets.

In order for the primary buttons to be "outlined", the "Enark" theme set
the `btn-primary-outline` variable to `'true'`. However, this value
should be a boolean instead of a string. Indeed, since the option does
not recognize the string value, the "Buttons Primary Style" widget
therefore shows a "/" instead of "Outline", which is not correct.

This commit fixes this by setting a boolean value.

opw-3957157

closes odoo/design-themes#814

X-original-commit: 14ff983da2
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-06-21 08:45:38 +00:00
Pierre Pulinckx (PIPU) b4c5bea2ea [REF] web_tour: prepare to change the default action in tour_compiler
Currently, in tour_compiler, to check that an element is actually
present in the DOM in a step, there are 2 possibilities.
- `isCheck: true` => Checks that the element is in the DOM.
The latter can be disabled.
- `run() {}` => Checks that the element is in the DOM (because this
is what is done by default). However, if the element is disabled,
the step will be aborted.

In the codebase, we can see a lot of `run() {} //it's a check` and
`isCheck:true`. However, the behavior is not exactly the same.
What's more, there are 2 ways to do "the same thing".
In order to clarify the turns API, it was decided to no longer put an
action (step.run) by default. (Previously, the default action was
the "click" action).
From then on, it is no longer necessary to stipulate
`step.isCheck: true` nor `run() {}`.
The corollary is that now, you must explicitly write `run: click`, if
you want the click action to be triggered on the target.

This commit sets the stage for making this change.

closes odoo/design-themes#801

Related: odoo/odoo#167743
Related: odoo/enterprise#63711
Signed-off-by: Julien Mougenot (jum) <jum@odoo.com>
2024-06-05 11:10:18 +00:00
Louis Wicket (wil) e93b18725a [I18N] configure Transifex project for 17.3
closes odoo/design-themes#803

X-original-commit: 2bab74e170
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2024-06-05 09:34:31 +00:00
qsm-odoo 4b360985b6 [IMP] *: simplify s_hr snippet xml and css
See community commit for details.

closes odoo/design-themes#799

Related: odoo/odoo#162828
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-04-23 16:24:47 +00:00
Benjamin Vray 80aa5ad40e [FIX] test_themes: fix test new page templates
The following commit [1] added a test to verify that there are no
duplicate classes in the elements of predefined page templates.

This test worked fine until it failed when we attempted to merge a
commit in which a template is rendered with empty spaces in the class
attribute of an element. The test considered the empty spaces as classes
and therefore assumed that two identical classes existed.

This commit excludes empty spaces when retrieving classes in this test.

[1]: https://github.com/odoo/design-themes/commit/758e2ab819df37c56103b1e82f1e6358b3dba00c

task-3662985

closes odoo/design-themes#792

X-original-commit: 05cfe05280
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-03-20 09:35:08 +00:00
qsm-odoo 8ab0d1cd8d [FIX] theme_*: make s_picture image responsive by default
Some themes were making the s_picture image responsive on their own. It
is now done generically, so the theme extensions must be removed to be
able to merge.

task-3266862

closes odoo/design-themes#787

X-original-commit: 08cb536b02
Related: odoo/odoo#157813
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-03-19 14:13:49 +00:00
Guillaume-gdi 9ca60388f1 [REM] theme_*: remove useless scss variable overrides
This commit removes the overrides of scss variables that are set to the
default value and duplicated overrides.

task-2463604

closes odoo/design-themes#768

Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
2024-03-15 15:59:06 +00:00
Pierre Pulinckx (PIPU) 45061e7cc4 [REF] *: use iframe hoot pseudo selector in tour triggers
In this commit, we change rest of triggers in tours where an iframe is
selected (suite of #156653).
To do this, we use the :iframe HOOT pseudo-selector.
With this changes, we can now remove the getNodesFromSelector
function in odoo/addons/web_tour/static/src/tour_service/tour_utils.js
Note that in this previous function, a ([is-ready]="true") check was
made for iframe elements but was only necessary for few of them (7).
So, a stepUtils.waitIframeIsReady() has been added to check this state.

closes odoo/design-themes#783

Related: odoo/odoo#157217
Related: odoo/enterprise#58474
Signed-off-by: Julien Mougenot (jum) <jum@odoo.com>
2024-03-12 23:29:57 +00:00
Soukéina Bojabza 833a667000 [FIX] theme_test_custo: consider the top_menu navbar class in tests
In PR [1], the duplicated navbars ids `o_main_nav` and `top_menu` are
replaced by classes, to avoid having the same ids multiple times in the
DOM. Note that for stability, the ids are kept for the desktop view
navbar.

This commit adapts the tests so they now consider the classes and not
the ids.

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

task-3609531

closes odoo/design-themes#780

X-original-commit: 103e544835
Related: odoo/odoo#156013
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-03-06 11:37:50 +00:00
Arthur Detroux (ard) 100bcbd810 [FIX] test_themes: fix test_01_theme_upgrade_post_copy
Commit [1] introduced a new test that uninstalls theme_buzzy. This leads
to the whole module being uninstalled because this module has all themes
as dependencies.

To fix this, we just run the test as the last test, ensuring the module
is still installed for other tests.

Ideally, tests would be independent from one another, but for now, the
order matters.

[1]: https://github.com/odoo/design-themes/commit/4cdd1db20c021ebd369b46c739591def9732eec5

closes odoo/design-themes#782

X-original-commit: 45e9374699
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-03-05 08:42:04 +00:00
qsm-odoo f528aa8948 [FIX] theme_kea: add missing images
Commit [1] introduced new images for the theme, alongside their related
ir.attachment definition. Later, a refactoring of the theme was made at
commit [2]. During that refactoring, multiple mistakes were made. Three
image files were removed: s_image_text.jpg, s_text_image.jpg and
s_banner.jpg. Out of these 3, only one related ir.attachment was
adapted to not use the removed image anymore: s_banner. Thus this left
two dead ir.attachment pointing to images that do not exist anymore.
Note that the banner image was actually restored later at [3]. Until
there... just dead code, although it could potentially be used and crash
by custo (this is why this targets the same version as [2]). Indeed, [2]
also patched the use of those two removed images in their related
snippet by changing the related image sources directly (using a special
route of the web_editor which generates SVG).

However, in [4], we started using one of those two images (via its xmlid
/ key) in another snippet: the new image snippet. This thus break the
kea theme when using that new snippet because the ir.attachment that is
used for that image still referenced an image that was removed by [2].

[1]: https://github.com/odoo/design-themes-old/commit/66bf0fc439f8549b00cbdf2eaa2b9517b6ac9876
[2]: https://github.com/odoo/design-themes/commit/004e38398a98ba61e587bf12b8bfc5e396baa434
[3]: https://github.com/odoo/design-themes/commit/5b8e14b83dba05e23d2a20418484b56b5f3b05cc
[4]: https://github.com/odoo/odoo/commit/507b80a12574ce19bcb925d88868fb377b1c4b06

opw-3689096

closes odoo/design-themes#777

X-original-commit: 5778e692f9
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-02-23 22:46:01 +00:00
Serge Bayet (seba) ace1b39d46 [IMP] *: adapt themes due to changes made in s_picture snippet
*: theme_bistro, theme_odoo_experts, theme_vehicle, theme_avantgarde,
theme_aviato, theme_bookstore, theme_enark, theme_graphene, theme_kea

This commit adapts the themes to accommodate layout changes in the
s_picture snippet.

See also : https://github.com/odoo/odoo/pull/145413
task-3626753

closes odoo/design-themes#753

Related: odoo/odoo#145413
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-02-19 19:27:13 +00:00
Serge Bayet (seba) 6427cae199 [FIX] theme_vehicle: fix the vehicle s_picture theme layout
This commit addresses the issue with the customization of the s_picture
snippet within the theme_vehicle. Previously, this snippet enforced a
column height, which cannot be modified using the editor. Themes should
not impose customizations that users are unable to adjust using the
editor.

See also : odoo/odoo#145413
task-3626753

Part-of: odoo/design-themes#753
2024-02-19 19:27:13 +00:00
Bruno Boi (boi) e50cc5032b [FIX] test_themes: adapt switcher tooltip format
This adapts the WebsiteSwitcherSystray's DropdownItem
tooltips dataset to the changed API brought in
the community repository.

closes odoo/design-themes#765

Task: 3266145
Related: odoo/enterprise#48452
Related: odoo/odoo#137691
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2024-02-07 09:49:24 +00:00
Romain Derie 1d47f8ad57 [IMP] test_themes: add test for fix about primary template generation
See previous commit.

closes odoo/design-themes#761

X-original-commit: 14c3bbb9ff
Related: odoo/odoo#151375
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2024-02-03 06:07:04 +00:00
Benoit Socias 9c0707ceac [FIX] theme_*: call _generate_primary_templates before importing data
To make sure the required primary templates have been generated from
the theme's manifest when inherited views are imported/updated, this
commit triggers their generation from a first imported XML file.

This has been added to all themes for consistency, even the ones that
do not require it currently.

Related to https://github.com/odoo/odoo/pull/148443

task-3670496

X-original-commit: 22abe61eaf
Part-of: odoo/design-themes#761
2024-02-03 06:07:04 +00:00
Benoit Socias 51c310c785 [IMP] test_themes: test that theme_default templates are generated
This commit adds a test that verifies if the theme_default's
configurator templates are generated whenever the website module is
either installed or updated.

Related to https://github.com/odoo/odoo/pull/151501.

task-3670496

closes odoo/design-themes#763

X-original-commit: b8aae07df4
Related: odoo/odoo#151682
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-01-30 10:54:18 +00:00
Benoit Socias aed6d0585b [FIX] theme_*: remove unused configurator snippets
When shapes were extracted to configurator snippets in [1], some
configurator-specific snippets were created that do not appear on pages
of the specific theme.
Because in [2] the call to `_generate_primary_snippet_templates` is done
on a full list of themes instead of only the installed ones, the problem
was not noticed: if any theme defines a block, it's website-side
configurator-specific template is generated.
This is not the case during an upgrade: the templates are generated only
for the installed themes. Because of this some "useless" configurator
templates trigger an error when importing their XML definition because
their parent template does not exist.

This commit fixes this by removing those templates.

[1]: https://github.com/odoo/design-themes/commit/d206c119720d557c11320ebb3d7339890b8f9efa
[2]: https://github.com/odoo/odoo/commit/928eeca714a161f6bc03343e4dc8af9b050b9841#diff-f49a1e9eda23df9f1d48121ba376a5fabafe70ea18b29d4eab23d737e5d4eeb6R446

closes odoo/design-themes#752

X-original-commit: 7b27828755
Related: odoo/odoo#144666
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2023-12-07 20:45:45 +00:00
Arthur Detroux (ard) 9592392158 [FIX] theme_aviator, theme_odoo_experts: Update homepage tours
Since [1], some blocks in theme_aviato and theme_odoo_experts no longer
have shapes by default, so add a step to toggle a shape.

[1]: https://github.com/odoo/design-themes/commit/d206c119720d557c11320ebb3d7339890b8f9efa

opw-3595512

closes odoo/design-themes#746

X-original-commit: bea0f57ca4
Related: odoo/odoo#142362
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2023-11-27 13:31:03 +00:00
Hubert Van de Walle (huvw) 3b94657c59 [FIX] theme_*: Update homepage tours
Steps to reproduce
==================

Run the `test_02_homepage_tour_every_theme` tour.

Cause of the issue
==================

There is an homepage tour for every theme. Since the owl conversion of
web_tour, none of the custom theme tour were run and for every website,
the default homepage tour was used instead.

Some updates to those themes caused the tours to fail, but since they
weren't run, no one noticed.

The issue has been fixed in community:
https://github.com/odoo/odoo/pull/142350

Solution
========

Since 1aa6700c98,
some h1 tags were replaced by h2.

Since 68c68740bf,
The banner has been replaced by a text cover.

opw-3595512

X-original-commit: 2e263a4f6b
Part-of: odoo/design-themes#746
2023-11-27 13:31:03 +00:00