Commit Graph

116 Commits

Author SHA1 Message Date
Martin Trigaux 0fa60a6dd7 [I18N] migrate to new transifex api 2023-02-24 13:15:20 +01:00
Soukéina Bojabza 6232ec4af4 [FIX] theme_clean: remove the content class from the Carousel rows
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]: https://github.com/odoo/odoo/pull/102696

task-3011192

closes odoo/design-themes#624

X-original-commit: 3091c1dee2
Related: odoo/odoo#108560
Signed-off-by: Vray Benjamin (bvr) <bvr@odoo.com>
2022-12-23 17:51:17 +01:00
Arthur Detroux (ard) f3bd5ab20b [FIX] theme_kea: fix the data of shape on s_picture in KEA theme
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]: https://github.com/odoo/design-themes/commit/88b81d41dadbfaad5d0b36ba2f1c595e309438ba
[2]: https://github.com/odoo/odoo/commit/e985f8ef7a358c5aae9245267e18e65ea8383400

opw-3082292

closes odoo/design-themes#619

Related: odoo/odoo#107224
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-12-21 11:33:30 +01:00
Romain Derie 600f3b6c91 [FIX] test_themes: call post_copy again on test_themes' themes
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]: https://github.com/odoo/odoo/commit/b8a24efa71daea1f96465b780f4f0e384ce74703

closes odoo/design-themes#611

X-original-commit: fea847977d
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2022-10-28 15:12:39 +02:00
can-odoo d9bb32b273 [FIX] theme_bookstore: correct shape data JSON value
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]: https://github.com/odoo/design-themes/commit/1f632d8dd79ceba6e152bedcb6de21cd9ada14c0

task-3002630

closes odoo/design-themes#605

Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2022-10-17 13:55:51 +02:00
Romain Derie 96e713a14f [FIX] test_themes: fix theme_upgrade standalone test
Ripple option is now an ir.asset, not an ir.ui.view anymore, see [1].

[1]: https://github.com/odoo/odoo/commit/9f56357cc1f4a7b8606ef4d5fd431fc396bdf1e8

closes odoo/design-themes#581

Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2022-08-30 13:55:08 +02:00
Carlos Valverde 65baa9bb4a [FIX] theme_avantgarde: fix color variable in some snippets
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/design-themes#509

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-06-30 18:03:17 +02:00
Romain Derie cf5300f707 [IMP] test_themes: add a test for the _post_copy() community fix
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/design-themes#566

X-original-commit: 0e324061d1
Related: odoo/odoo#93013
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2022-06-08 12:34:27 +02:00
xlu-odoo f403f252bc [FIX] theme_*: use correct header SCSS variable
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/design-themes#544

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-04-04 19:13:44 +02:00
Odoo Translation Bot 16bff64259 [I18N] Update translation terms from Transifex 2022-03-13 00:30:57 +01:00
Odoo Translation Bot 34f01f544c [I18N] Update translation terms from Transifex 2022-02-13 00:30:56 +01:00
Odoo Translation Bot af87401f2a [I18N] Update translation terms from Transifex 2022-01-30 00:30:49 +01:00
Odoo Translation Bot 13ece4bca5 [I18N] Update translation terms from Transifex 2022-01-23 00:30:52 +01:00
Odoo Translation Bot 25b46ea86b [I18N] Update translation terms from Transifex 2022-01-16 00:30:53 +01:00
Odoo Translation Bot 7b7a3176ea [I18N] Update translation terms from Transifex 2022-01-09 00:30:54 +01:00
Romain Derie 9a289ea574 [FIX] theme_*: enable footer/header template correctly
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]: https://github.com/odoo/odoo/pull/81181

Fixes https://github.com/odoo/upgrade/pull/3048
task-2593407
opw-2680866
opw-2685951
opw-2685124
opw-2679040

closes odoo/design-themes#536

Related: odoo/odoo#81181
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2021-12-27 23:45:26 +00:00
Odoo Translation Bot b362a2ca38 [I18N] Update translation terms from Transifex 2021-12-26 00:30:45 +01:00
Benjamin Vray 77b2b97f3d [FIX] theme_*: fix the activation and deactivation of assets
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/design-themes#539

Related: odoo/odoo#79783
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-12-22 17:06:47 +00:00
Odoo Translation Bot bef7e13b00 [I18N] Update translation terms from Transifex 2021-12-19 00:30:48 +01:00
Martin Trigaux 7d05d98ab3 [I18N] *: export source terms
closes odoo/design-themes#541

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-12-13 09:27:46 +00:00
xlu-odoo 545cf002ea [FIX] theme_*: fix svg previews readability on safari
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/design-themes#522

Related: odoo/odoo#78617
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-12-09 21:12:50 +00:00
qsm-odoo 208f6134a6 [FIX] test_themes: add a test which goes over all theme tours
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]: https://github.com/odoo/design-themes/commit/52fef46388ec880af78c5a5f3e6152c4510548f4

closes odoo/design-themes#533

X-original-commit: 0ed42f903c
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-12-08 17:26:18 +00:00
xlu-odoo 65aefeb3e9 [FIX] theme_vehicle: fix btn-lg size
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/design-themes#499

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-11-09 16:46:50 +00:00
qsm-odoo 1b4b65ff81 [FIX] *: increase text contrast for cover snippet
*: 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/design-themes#526

Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2021-11-05 14:25:11 +00:00
Benjamin Vray 9e62a84326 [FIX] theme_yes: prevent scroll button editing
Before this commit, it was possible to edit the scroll button of the
cover snippet in Yes theme.

task-2656662

closes odoo/design-themes#520

X-original-commit: d90399677b
Related: odoo/odoo#78562
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-10-19 12:39:08 +00:00
Christophe Monniez 924d1521d6 [REL] 15.0 2021-10-05 10:46:13 +02:00
qsm-odoo 2ed70c99c9 [FIX] theme_nano: remove breaking container padding removals
Removing the container padding in some cases may be fine but cannot
be done because would create horizontal scrollbars in full-width mode
or simply on mobile devices.

To further improve with task-2241779

closes odoo/design-themes#511

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-10-05 06:09:53 +00:00
stefanorigano (SRI) 0539787e23 [REF] theme_*: inject theme's preferred palette into ui
This commit injects for each theme a "preferred" palette into the
website's UI palette list ("Theme" tab).
It also removes '$o-palette-priority-prefix' overrides, letting website
handling the palettes order.

task-2656337

closes odoo/design-themes#504

Related: odoo/odoo#77236
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-10-04 21:10:35 +00:00
Sébastien Mottet (oms) 285d413a44 [FIX] theme_*: move snippet lists from iap to design-theme repo
Previously the configurator retrieved the snippet lists
needed to build the website pages from IAP. These lists
have been put in the theme manifests and can be accessed
from it.

Odoo PR: odoo/odoo#77243
IAP PR: odoo/iap-apps#411

closes odoo/design-themes#505

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-09-30 14:33:18 +00:00
qsm-odoo f244035809 [FIX] *: remove yiq threshold overrides
Many themes were overriding the yiq threshold, thus having an impact
on which of the dark or light text is used over a particuler background
by default. This is a tricky value to change and only made some sense
when the Odoo themes were defining their own color palettes. Now that
all palettes can be used in all themes, it makes no sense to change the
yiq threshold as it induces inconsistent behavior for a same palette
used in different themes. Besides, leaving the value by default is most
of the time what you want and when it is not entirely correct, the user
has full control over the color combination text colors anyway.

task-2655730

closes odoo/design-themes#506

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-09-27 15:31:08 +00:00
Design f2453983a7 [FIX] theme_*: move svg preview from iap to design-themes repo
closes odoo/design-themes#502

Related: odoo/odoo#77139
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-09-24 17:11:58 +00:00
Brieuc-brd b48fe33a0b [ADD] theme_buzzy: add new theme buzzy
task-2582420

closes odoo/design-themes#500

Related: odoo/odoo#77118
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-09-24 04:52:34 +00:00
xlu-odoo 18d1f0a532 [ADD] theme_aviato: add new theme aviato
task-2589967

Part-of: odoo/design-themes#500
2021-09-24 04:52:34 +00:00
Cocographique 041922b9ee [REF] theme_zap: remove outdated theme description
task-2545207

Part-of: odoo/design-themes#500
2021-09-24 04:52:33 +00:00
Cocographique bbdfbba0d5 [IMP] theme_zap: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2545207

Part-of: odoo/design-themes#500
2021-09-24 04:52:33 +00:00
Cocographique 3384ab2031 [REF] theme_yes: remove outdated theme description
task-2555035

Part-of: odoo/design-themes#500
2021-09-24 04:52:33 +00:00
Elisabeth Dickinson 2a2da47270 [IMP] theme_yes: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2555035

Part-of: odoo/design-themes#500
2021-09-24 04:52:33 +00:00
qsm-odoo de26d7f6a0 [REF] theme_vehicle: normalize XML indentation
Part-of: odoo/design-themes#500
2021-09-24 04:52:32 +00:00
Cocographique 33d50fdea5 [REF] theme_treehouse: remove outdated theme description
task-2542281

Part-of: odoo/design-themes#500
2021-09-24 04:52:32 +00:00
Cocographique e18a0ff128 [IMP] theme_treehouse: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2542281

Part-of: odoo/design-themes#500
2021-09-24 04:52:32 +00:00
xlu-odoo 4946a528fd [REF] theme_real_estate: remove outdated theme description
task-2551125

Part-of: odoo/design-themes#500
2021-09-24 04:52:32 +00:00
xlu-odoo 42638dcf22 [IMP] theme_real_estate: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2551125

Part-of: odoo/design-themes#500
2021-09-24 04:52:31 +00:00
qsm-odoo bef2fc761f [REF] theme_paptic: normalize XML indentation
Part-of: odoo/design-themes#500
2021-09-24 04:52:31 +00:00
Brieuc-brd bb032e7011 [REF] theme_orchid: remove outdated theme description
task-2619127

Part-of: odoo/design-themes#500
2021-09-24 04:52:31 +00:00
Brieuc-brd 40e8281717 [IMP] theme_orchid: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2619127

Part-of: odoo/design-themes#500
2021-09-24 04:52:31 +00:00
Brieuc-brd 025c8a3cd3 [REF] theme_odoo_experts: remove outdated theme description
task-2585389

Part-of: odoo/design-themes#500
2021-09-24 04:52:31 +00:00
Brieuc-brd b2ab9eadd5 [IMP] theme_odoo_experts: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2585389

Part-of: odoo/design-themes#500
2021-09-24 04:52:30 +00:00
Brieuc-brd 3ba172b8bd [REF] theme_notes: remove outdated theme description
task-2590454

Part-of: odoo/design-themes#500
2021-09-24 04:52:30 +00:00
Brieuc-brd 352692754c [IMP] theme_notes: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2590454

Part-of: odoo/design-themes#500
2021-09-24 04:52:30 +00:00
Cocographique 5ed3aa0044 [REF] theme_nano: remove outdated theme description
task-2590182

Part-of: odoo/design-themes#500
2021-09-24 04:52:30 +00:00