Commit Graph

3 Commits

Author SHA1 Message Date
qsm-odoo 4f3b5b9f29 [FIX] theme_test_custo: do not inherit from we options but website ones
(Otherwise you could impact other apps like mass mailing). In fact this
should have been part of [1] as before you were *required* to inherit
from web_editor.snippet_options as it was t-called inside the website
snippet_options template.

Note: this new test theme was only recently introduced with [2].

[1]: https://github.com/odoo/design-themes/commit/0ce8547d34f08eb5a27329c66e53828e7b039ef1
[2]: https://github.com/odoo/design-themes/commit/0e2497b8e84eab8957028f4d63ff0899a9fe6ab3

closes odoo/design-themes#598

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-10-06 15:19:59 +02:00
qsm-odoo 0ce8547d34 [REF] theme_test_custo: adapt following options conflicts between apps
This is a backport of [a].

See community commit for details.

[a]: https://github.com/odoo/design-themes/commit/0fa75513c3e81e7e4d910bc7b9c075a2e6006ebc

closes odoo/design-themes#599

Related: odoo/odoo#102171
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-10-05 02:27:49 +02:00
Romain Derie 0e2497b8e8 [IMP] test_themes, theme_test_custo: add new test theme for tests
This commit introduces a new theme for tests purpose.
The goal is to be able to create records and simulate a real use case
without only testing through unit tests in python.
For instance, with this commit, we now fully test:
- menu creation
- page creation
- new header & footer template
- new image shape & background shape

This will be extended later to be able to test other stuff too, maybe
like changing the website logo (not supported yet). Also, our existing
standalone test in themes should use this theme instead of nano to not
rely on a real theme that might change.

Courtesy of NMI as this theme is partly based on his job.

closes odoo/design-themes#586

Related: odoo/odoo#99099
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-09-07 23:10:56 +02:00