Commit Graph

5 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
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
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
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
Jeremy Kersten cb1e3be3f8 [ADD] theme 14.0 2021-05-10 15:45:35 +02:00