Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

15.0 #660

Closed
wants to merge 85 commits into from
Closed

15.0 #660

wants to merge 85 commits into from

Conversation

MarioAbad
Copy link

No description provided.

d-fence and others added 30 commits September 7, 2021 17:00
This commit updates the theme to improve the design with shapes, new
pictures and new custom snippets.

task-2602618

closes odoo#467

Signed-off-by: Quentin Smetz (qsm) <[email protected]>
This commit updates the theme to improve the design
with background shapes, new pictures and new custom snippets.

task-2591476

Part-of: odoo#36
task-2591476

closes odoo#36

Signed-off-by: Quentin Smetz (qsm) <[email protected]>
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2573284

Part-of: odoo#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2580170

Part-of: odoo#500
Theme Avantgarde's design has been completely revamped, focusing on
sectors such as the creativity industries, design, architecture, art or
museums, by adding the following improvements:

- Theme layout has changed to 'full'.
- Theme default palette has been changed to 'avantgarde-3'.
- Fonts have been reviewed, using 'Syne' by default and also adding
'Libre Baskerville' and 'Atkinson Hyperlegible' to the theme's font
list.
- Header and footer default values have been reviewed and changed to
'hamburger' (right-aligned) and 'descriptive'.
- Buttons' default design has been revamped, using now outline buttons
by default and removing the previous 'ripple' effect.
- Links are set to default, never using 'underline' decoration.
- Theme's tour has been reviewed and changed, using the following block
configuration: 's_cover' > 's_picture' > 's_three_columns' >
's_text_image' > 's_call_to_action'.
- Theme's snippets used in the tour have been revamped, by using
animated shapes ('s_cover', 's_text_image'), image shapes ('s_picture',
's_text_image'), and a new column design ('s_three_columns').
- Theme's tour snippets have also been optimised to be used in smaller
viewports.
- Theme's screenshot has been updated.

task-2573286

Part-of: odoo#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2573296

Part-of: odoo#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2545200

Part-of: odoo#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2557935

Part-of: odoo#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2597387

Part-of: odoo#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2614510

Part-of: odoo#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2601581

Part-of: odoo#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2612003

Part-of: odoo#500
Theme Kiddo's design has been revamped by adding the following
improvements:

- Theme palette has been changed, using less contrasted colours.
- Fonts have been reviewed, replacing 'Bubblegum Sans' with 'Varela
Round'.
- Header and footer default values have been reviewed and changed to
'default' and 'descriptive'.
- Buttons' default design has been revamped, using now outline buttons
by default.
- Theme's tour has been reviewed and changed, using 's_picture' as a
third block.
- Theme's screenshot and description have been updated.
- Theme's tour snippet design has been revamped, by using animated
shapes ('s_banner', 's_picture'), new shapes ('s_image_text',
's_call_to_action'), a bg video + img placeholder ('s_banner'), a
illustration with dynamic colours ('s_image_text'), a new copywriting
('s_picture'), better text block design ('s_banner'), better design in
smaller viewports ('s_banner', 's_product_list') and a brand new
snippet design ('s_product_list').
- In order to add a better integration with the Website Configurator,
's_cover' design has also been improved.

Additionally, duplicated commented text lines in
'bootstrap_overridden.scss' have been removed.

task-2573229

Part-of: odoo#500
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2557927

Part-of: odoo#500
bvr-odoo and others added 27 commits October 19, 2021 12:39
Before this commit, it was possible to edit the scroll button of the
cover snippet in Yes theme.

task-2656662

closes odoo#520

X-original-commit: d903996
Related: odoo/odoo#78562
Signed-off-by: Quentin Smetz (qsm) <[email protected]>
*: theme_kea, theme_orchid, theme_nano

The theme customization of the cover snippet was not perfect for those
themes. In particular for the Kea theme where the text was not forced to
white anymore (leaving the default black) and the background filter was
pratically removed, leaving the snippet's text properly contrast with
light brackgrounds but be barely visible with dark backgrounds.

Unfortunately, the Kea theme is the most used currently, alongside the
"Software company" industry... which uses a dark background for the
cover image.

closes odoo#526

Signed-off-by: Romain Derie (rde) <[email protected]>
This commit removes the modified size for large (lg) buttons. They were
far too big. It also slightly changes the medium buttons accordingly.
This is not supposed to change anymore in stable versions but in this
case the big buttons were causing issues in eCommerce pages.

closes odoo#499

Signed-off-by: Quentin Smetz (qsm) <[email protected]>
This is a backport of [1] which at the same time finally enables the
test to be able to test all theme tours. Notice that the tours should
be improved so that each step properly checks that the previous step
actually had an effect (as those tours are normally made to display to
the user and were not designed for testing). However, this is already
really useful as only checking if *entering* edit mode in each theme
does not crash is already covering most issues that can be created when
designing a theme at the moment.

[1]: odoo@52fef46

closes odoo#533

X-original-commit: 0ed42f9
Signed-off-by: Romain Derie (rde) <[email protected]>
Signed-off-by: Quentin Smetz (qsm) <[email protected]>
In Safari (14+) the CSS workaround to make block "readable" over any bg
is broken. By replacing the current CSS workaround by an appropriate
SVG filter in each themes svg, the problem will be fixed.
This commit will add the svg filter.

task-2667028

closes odoo#522

Related: odoo/odoo#78617
Signed-off-by: Quentin Smetz (qsm) <[email protected]>
closes odoo#541

Signed-off-by: Martin Trigaux (mat) <[email protected]>
Before this commit:

- The assets were not enabled or disabled when installing themes because
we searched for assets with the "key" field instead of the "name" field.

- The "Ripple Effect" was not correctly installed on several themes.
Because the variable and the assets were not both activated. Even if the
variable is not used, it is still necessary for the proper functioning
of the option (e.g. _computeWidgetState).

task-2686370

closes odoo#539

Related: odoo/odoo#79783
Signed-off-by: Quentin Smetz (qsm) <[email protected]>
See [1], `enable_view()` is now in charge of disabling the already possibly
existing template header (and/or footer).
Disabling `website.template_header_default` was not enough, any of the other
template could have been selected by the user before updating the theme.

Note that when installing a theme the first time on a website, the error won't
occur as `_reset_default_config()` will be called through `_theme_remove()`.

[1]: odoo/odoo#81181

Fixes odoo/upgrade#3048
task-2593407
opw-2680866
opw-2685951
opw-2685124
opw-2679040

closes odoo#536

Related: odoo/odoo#81181
Signed-off-by: Romain Derie (rde) <[email protected]>
This commit fixes the "Contact" header and the "default" header that
were not displaying correctly (in related themes) in the web editor
panel as expected.

task-2713578

closes odoo#544

Signed-off-by: Quentin Smetz (qsm) <[email protected]>
Now, `_post_copy()` is only called when the module is installed for the
first time on a website, not when the module is updated.

See counterpart commit in community for more details.

opw-2824045

closes odoo#566

X-original-commit: 0e32406
Related: odoo/odoo#93013
Signed-off-by: Quentin Smetz (qsm) <[email protected]>
Signed-off-by: Romain Derie (rde) <[email protected]>
This commit fixes the previously hardcoded color customisations in theme
Avantgarde's snippets, by using proper color variables, which allow the
snippet customisations to change dynamically.

While theoretically unstable (changing views), this was judged safe
enough for 15.0 (it would require someone to xpath a theme.ir.ui.view in
this specific theme, targeting an inline style to break; and it does not
change the current websites at all (just new dropped snippets)).

closes odoo#509

Signed-off-by: Quentin Smetz (qsm) <[email protected]>
Ripple option is now an ir.asset, not an ir.ui.view anymore, see [1].

[1]: odoo/odoo@9f56357

closes odoo#581

Signed-off-by: Romain Derie (rde) <[email protected]>
Since it was introduced with [1], the bookstore `Price` snippet couldn't
be clicked on.
Indeed, a typo/wrong format inserted inside a `data-oe-shape-data` xpath
was making it crash due to invalid JSON format.

[1]: odoo@1f632d8

task-3002630

closes odoo#605

Signed-off-by: Romain Derie (rde) <[email protected]>
Since [1], the themes installed in the `_post_init` hook of test_themes
would not go through the `_post_copy()` anymore.
It is not a big deal as this module purpose is to ease our tests and
quickly being able to navigate through themes when we need to, but still
this is something that need to be fixed as otherwise the themes would
not really reflect how they look like.

Typically, go to the Odoo Experts theme, which is supposed to have the
"Contact" header template, it will not have that header layout.

[1]: odoo/odoo@b8a24ef

closes odoo#611

X-original-commit: fea8479
Signed-off-by: Romain Derie (rde) <[email protected]>
Commit [1] refreshed the design of the KEA theme but unfortunately
introduced the wrong path to a shape on the s_picture snippet.

This used to cause a traceback but [2] fixed it. However, it is still
worth correcting the path so that shapes automatically chain under the
s_picture snippet of that theme.

To do so, a simple check is added when the option computes the next
shape, and looks for the broken path, if it finds it, it corrects it.

Steps to reproduce:
- Use the KEA theme
- Drop the "Picture" snippet
- Drop the text snippet under it
- Enable the background shape option for the text snippet
- The first shape is selected instead of the next one in the series.

To fix properly in master of course.

[1]: odoo@88b81d4
[2]: odoo/odoo@e985f8e

opw-3082292

closes odoo#619

Related: odoo/odoo#107224
Signed-off-by: Quentin Smetz (qsm) <[email protected]>
In [1], in master, the `content` class is removed from the elements
with the `row` class in the Carousel snippet. This commit does the same
for the extension of Carousel in the "Clean" theme, to be consistent
with these changes.

[1]: odoo/odoo#102696

task-3011192

closes odoo#624

X-original-commit: 3091c1d
Related: odoo/odoo#108560
Signed-off-by: Vray Benjamin (bvr) <[email protected]>
Introduced with [1], same description for Caterers and Venues block.

[1]: odoo@299d504

task-2994239

closes odoo#640

Signed-off-by: Romain Derie (rde) <[email protected]>
@robodoo
Copy link
Collaborator

robodoo commented May 27, 2023

@rdeodoo
Copy link
Contributor

rdeodoo commented May 29, 2023

#659 (review)

@rdeodoo rdeodoo closed this May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.