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
This commit adds a test that makes sure templates can be rendered on
all themes and that they neither contain duplicate classes nor
contradicting ones.
Covered templates:
- snippet blocks
- configurator snippet customizations
- new page template snippet customizations
task-3562147
closesodoo/design-themes#744
X-original-commit: 758e2ab819
Related: odoo/odoo#141074
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Given that the duplicate and conflicting classes resolved by the
previous commit did still exist at the time new page templates were
introduced in [1], they could not be avoided for new page templates
snippets.
This commit removes those from the new page templates snippets now that
they have been removed from the base snippets.
[1]: https://github.com/odoo/design-themes/commit/80cbee66f6bb4d897dd7e577f1109c75f6f6ad74
task-3562147
X-original-commit: 9984745d3d
Part-of: odoo/design-themes#744
This commit rephrases one of the quotes block's sentences to use the
word "academic" instead of "diplomatic".
closesodoo/design-themes#743
X-original-commit: 5534cda1bc
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Since [1] when background shapes were extracted to configurator-specific
templates, some xpath were broken.
By separating the definition of the shape from the definition of the
base snippet theme customization, changes between `container`,
`container-fluid` and `o_container_small` are already applied before
taking the shape definition into account.
This commit fixes the templates which have this issue.
[1]: https://github.com/odoo/design-themes/commit/d206c119720d557c11320ebb3d7339890b8f9efa
task-3555325
closesodoo/design-themes#732
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
In [1] all shapes were moved from the base snippet to the specific
configurator snippet. This was a bit overkill.
This commit reverts this partially so that only shapes that connect
with each other are specific to the configurator, but "intra-block"
shapes are restored onto the base snippet.
The "New page from template" snippets are adapted accordingly in order
to produce the same output as before this commit.
Restored shapes are: (label (image))
- Origins: 12 (18)
- Blob: 11 (11)
- Airy: 03 (03_001), 04 (04_001), 07 (07), 10 (10), 11 (11), 14 (14)
- Zigs: 01 (01_001), 02 (02_001)
- Wavy: 04 (10), 15 (11)
- Blocks: 02 (01_001)
- Rainy: 03 (06), 05 (10), 09 (08_001), 10 (09_001)
- Floats: all
[1]: https://github.com/odoo/design-themes/commit/d206c119720d557c11320ebb3d7339890b8f9efa
task-3555325
closesodoo/design-themes#726
Related: odoo/odoo#138748
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Themes translation in Odoo 16 have been lost, they were not exported on
Transifex anymore (bug).
We just added back the repository on it, and our internal translators
are working on those translations.
They found some typos and bad wording which are fixed here.
Technically, note that we need the themes fully translated for the
chatGPT integration coming in website configurator.
Indeed, if a theme is not (almost fully) translated, it won't be using
chatGPT for text replacement.
This is because if we ask chatGPT to do text replacement and translation
at the same time, it just provides bad results.
See https://github.com/odoo/odoo/pull/137703closesodoo/design-themes#725
X-original-commit: 7cdb6d2ab7
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit customizes all New Page template designs for every single
theme.
The changes are organized as follow:
When the used blocks are not the default ones:
- the new sequence of block is listed in the `new_page_templates`
manifest entry.
- the blocks are updated in the `new_page_template_sections_..._...`
XML templates accordingly.
After the potential block sequence updates, the `new_page_template.xml`
then first contains the general customization of blocks (those that
apply across all new page templates) then the customization for each
category of page.
Customizations for a specific page are directly below category-wide
customizations of the given block when both exist.
task-3381714
closesodoo/design-themes#692
Related: odoo/odoo#126719
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Co-authored-by: Benoit Socias <bso@odoo.com>
Co-authored-by: Arthur Detroux (ard) <ard@odoo.com>
This commit extracts the pre-defined section shapes from blocks into
templates that are dedicated to being used by the configurator.
For blocks that are not used in configurator pages, the configurator
templates have not been created.
task-3381714
Part-of: odoo/design-themes#692
This commit permits to have responsive font sizes on all the Odoo
frontend. It is based on the Bootstrap mixin `font-size` which
calculates the font size based on the viewport width.
task-1958098
closesodoo/design-themes#673
Related: odoo/enterprise#44578
Related: odoo/odoo#129469
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Since the redesign of the original banner snippet, the customizations
made in theme_zap have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_yes have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_vehicle have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_treehouse have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_real_estate have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_paptic have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_orchid have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_odoo_experts have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_notes have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_nano have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_monglia have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_loftspace have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_kiddo have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_kea have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_graphene have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_enark have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_cobalt have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_clean have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_buzzy have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_bookstore have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_bistro have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_bewise have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_beauty have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687
Since the redesign of the original banner snippet, the customizations
made in theme_aviato have had to be adapted.
task-3097005
Part-of: odoo/design-themes#687