Commit Graph

262 Commits

Author SHA1 Message Date
Xavier Morel 67053ce2bf [IMP] *: website tour utils uses non-default exports
closes odoo/design-themes#884

Related: odoo/odoo#177327
Related: odoo/enterprise#68655
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2024-08-23 08:15:12 +00:00
Chrysanthe (chgo) 3be4d83c91 [IMP] theme_*: adapt s_key_benefits within themes
*: artists, avantgarde, aviato, beauty, bewise, bistro, bookstore, buzzy,
clean, cobalt, enark, graphene, kea, kiddo, lofspace, monglia, nano,
notes, odoo_experts, orchid, paptic, real_estate, treehouse, vehicle,
yes, zap

This commit reviews the `s_key_benefits` snippet occurrences within
design themes.

task-4104927
part of task-4077427

closes odoo/design-themes#871

Related: odoo/odoo#176638
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-08-22 18:43:29 +00:00
Brieuc-brd 30e8f21e66 [IMP] theme_anelusia, *: adapt s_accordion_image
*: 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_monglia, theme_nano, theme_notes, theme_odoo_experts,
theme_orchid, theme_paptic, theme_real_estate, theme_treehouse,
theme_vehicle, theme_yes, theme_zap, theme_loftspace

This commit adapts customizations for `s_accordion_image`, added in
https://github.com/odoo/odoo/pull/176768

task-4094398
Part of task-4077427

closes odoo/design-themes#870

Related: odoo/odoo#176768
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-08-20 19:03:12 +00:00
Chrysanthe (chgo) a63e21e41a [IMP] theme_*: adapt themes tests for the new snippet category
*: artists, avantgarde, aviato, buzzy, orchid, paptic, real_estate,
treehouse, zap

This commit aims to adapt tests within each themes that uses the
`s_three_columns` snippet.

As we introduce the `Columns` category within the snippet modal, we are
moving the `s_three_columns` from the `Content` category to the `Columns`
one. This implies an adaptation of the tests where the `s_three_columns`
was defined as part of the `Content` category.

task-4119460
follow-up of task-3919405

closes odoo/design-themes#872

Related: odoo/odoo#176889
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-08-19 21:50:58 +00:00
Chrysanthe (chgo) 32298b742a [IMP] theme_*: review s_references snippet occurrences
*: theme_buzzy, theme_cobalt, theme_kea, theme_nano, theme_odoo_experts,
theme_paptic, theme_vehicle, theme_zap

The goal of this commit is to fix xpath after the `s_references` snippet
redesign, and eventually tweak some classes.

task-3668033

closes odoo/design-themes#838

Related: odoo/odoo#163837
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-16 19:31:42 +00:00
Antoine (anso) 4492c5dfa6 [IMP] theme_bookstore: improve the theme
Revamp of `theme_bookstore`.

task-4109584

closes odoo/design-themes#862

Related: odoo/odoo#176503
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-15 05:56:34 +00:00
Xavier Luyckx (xlu) 7e7ca555f3 [IMP] theme_*: update theme screenshots
Following the recent shift to a 4-column layout in the theme picker [1],
this commit focuses on updating a little bit the size and quality of
theme screenshot images. Providing a clearer and more visually appealing
presentation of the themes.

task-3648576

closes odoo/design-themes#758

Related: odoo/odoo#149989
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-14 17:06:05 +00:00
Brieuc-brd 773ef7d1fa [IMP] theme_anelusia, *: adapt s_numbers_showcase
*: theme_artists, theme_beauty, theme_buzzy, theme_kiddo, theme_nano,
theme_orchid, theme_zap, theme_bookstore

This commit adds customizations related to s_numbers_showcase, added in
PR [1]

task-4094383
Part of task-4077427

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

closes odoo/design-themes#856

Related: odoo/odoo#175746
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-14 15:45:57 +00:00
Antoine (anso) a7a3506a42 [IMP] theme_*: adapt themes with redesigned s_banner snippet
*: buzzy, cobalt, enark, kiddo, real_estate, zap

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

part-of-task-3619705
task-4114072

closes odoo/design-themes#866

Related: odoo/odoo#176595
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-14 15:45:55 +00:00
Chrysanthe (chgo) 8d1c11aa59 [IMP] theme_*: review s_cta_box occurrences
*: 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 customizes the new `s_cta_box` snippet across all the design
themes.

task-4094396
Part of task-4077427

closes odoo/design-themes#863

Related: odoo/odoo#175703
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-14 12:47:49 +00:00
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