Commit Graph

25 Commits

Author SHA1 Message Date
Romain Derie fea847977d [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#610

Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2022-10-28 12:17:44 +02:00
Benjamin Vray f2f117e9b6 [FIX] website_animate: fix animation in mega menu
Backport of [1].

Before this commit, the animations were never launched in a mega menu.

Indeed the animations are launched when the element to be animated
appears in the viewport according to the scroll. But in the case of a
mega menu we just want the animation to start when the mega menu is
opened. For that we don't need all the code that checks the scroll, etc.
The animation starts by itself when the element inside the mega menu is
made visible in CSS.

This commit also removes the "Each time it becomes visible" option for
an element animated in a mega menu because in this case this option does
not make sense.

[1]: https://github.com/odoo/odoo/commit/bae04041a528e1a1fe97387ca5b75943c1d0fe97

opw-2764895

closes odoo/design-themes#561

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-08-04 17:43:00 +02:00
Romain Derie 0e324061d1 [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#562

Related: odoo/odoo#91012
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-06-07 19:13:27 +02:00
Odoo Translation Bot 8972a46df8 [I18N] Update translation terms from Transifex 2022-03-27 01:30:49 +01:00
Odoo Translation Bot f3083af507 [I18N] Update translation terms from Transifex 2022-03-13 01:30:53 +01:00
Odoo Translation Bot 00332064b5 [I18N] Update translation terms from Transifex 2022-03-06 01:30:53 +01:00
Odoo Translation Bot efd19c1a02 [I18N] Update translation terms from Transifex 2022-02-06 01:30:51 +01:00
Odoo Translation Bot 61f7d6f18a [I18N] Update translation terms from Transifex 2022-01-23 01:30:51 +01:00
Odoo Translation Bot 667c4eaeea [I18N] Update translation terms from Transifex 2022-01-16 01:30:54 +01:00
Odoo Translation Bot 26a4dad4d2 [I18N] Update translation terms from Transifex 2021-12-26 01:30:49 +01:00
Odoo Translation Bot 4c3989068d [I18N] Update translation terms from Transifex 2021-12-19 01:30:53 +01:00
Martin Trigaux 263ae6dd13 [I18N] *: export 14.0 source terms
closes odoo/design-themes#540

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-12-13 07:34:15 +00:00
qsm-odoo 0ed42f903c [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#532

Related: odoo/odoo#80936
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2021-12-08 13:05:57 +00:00
Benjamin Vray d90399677b [FIX] theme_bistro, theme_monglia: prevent scroll button editing
Before this commit, it was possible to edit the scroll button of the
cover snippet in Bistro and Monglia themes.

task-2656662

closes odoo/design-themes#518

Related: odoo/odoo#78532
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-10-18 12:36:48 +00:00
Benjamin Vray 17d4df53f9 [FIX] website_animate: fix save animated snippet
Before this commit, when dropping custom snippet (or saved snippet)
containing an animation in the page, the animated element of the
snippet remained hidden.

task-2664876

closes odoo/design-themes#516

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-10-15 12:32:22 +00:00
Benjamin Vray 83d805315c [FIX] website_animate: fix each time it becomes visible option
Before this commit, the option "each time it becomes visible" did not
work in edit mode.

task-2630112

closes odoo/design-themes#490

X-original-commit: 87233c988b
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-08-23 13:38:05 +00:00
qsm-odoo 4f8139719e [FIX] theme_bistro, theme_zap: remove misleading 'hambuger' variable
Those two themes were defining a 'hambuger-type' variable to
'off-canvas', probably a typo of 'hamburger-type'... but the themes
do not even activate the views related to 'off-canvas', so this had
simply no effect and did not create any bug.

closes odoo/design-themes#486

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-08-18 08:51:59 +00:00
Benjamin Vray 7c2962779b [FIX] website_animate: fix drag n drop an animated snippet
Before this commit, when drag n drop a snippet to move it in a website
page, the snippet was invisible after the drop.

task-2215118

closes odoo/design-themes#468

X-original-commit: d8e547ceab
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-08-02 13:04:17 +00:00
Benjamin Vray 22e83be4f3 [IMP] website_animate: hide horizontal scrollbar during animation
Before this commit, when animated elements with a css translate
overflowed the #wrapwrap (before and during animations), a horizontal
scrollbar was visible on the #wrapwrap until the end of the animation.

After this commit, the horizontal scrollbar is no longer visible at
any time during the animations.

task-2215118

closes odoo/design-themes#270

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-30 15:23:21 +00:00
qsm-odoo 4ad56978a6 [FIX] theme_kiddo: fix typo in default font name
Because of a typo, the theme used "sans-serif" as font, thus with a
random look according to OS and browser.

opw-2559735

closes odoo/design-themes#268

Related: odoo/odoo#74294
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-28 16:29:41 +00:00
Benjamin Vray d3a05c4ef5 [FIX] website_animate: fix start of animations
Before this commit, the calculation of the top position of the
animated elements did not take into account the fact that the
scrollable element is no longer the body. And therefore the animations
never started.

task-2215118

closes odoo/design-themes#54

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-27 08:01:34 +00:00
Benjamin Vray 695389adcd [FIX] website_animate: fix "rotate in down" animations
The animations "Rotate In-Down-Left" and "Rotate In-Down-Right" were
not done correctly because we were trying to get the position of the
element (by not taking CSS transforms into calculations) via the
matrix of the css transform and it does not work if there is a
transform-origin on the element.

task-2215118

closes odoo/design-themes#50

X-original-commit: ad7389630c
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-26 13:17:54 +00:00
Xavier-Do 62446858f8 [FIX] *: add explicit license to all manifest
The license is missing in most enterprise manifest so
the decision was taken to make it explicit in all cases.
When not defined, a warning will be triggered starting from
14.0 when falling back on the default LGPL-3.

closes odoo/design-themes#43

Related: odoo/enterprise#19850
Related: odoo/odoo#74231
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
2021-07-26 11:32:23 +00:00
qsm-odoo 20c31ada10 [FIX] theme_*: use correct contact header SCSS variable
The contact header scss variable value was written with an uppercase
unlike other header scss variables. Unfortunately, fixing that typo is
not stable-friendly (as people already using the template now saved
that typo in their DB). Instead, we use that typo as default value for
the related themes.

Related to task-2368576

closes odoo/design-themes#28

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-07-06 09:31:39 +00:00
Jeremy Kersten cb1e3be3f8 [ADD] theme 14.0 2021-05-10 15:45:35 +02:00