Serge Bayet (seba) 23c7f7c1da [FIX] test_themes: run configurator standalone test under mocked request
Commit [1] copies configurator pages during the flow. When the
standalone test leaves website_id in the context, that copy now tries
to create generic views with a website-scoped environment and hits the
ir.ui.view guard. Running the configurator inside MockRequest mimics the
real HTTP context (request-driven website, no forced id on the ORM), so
the copy succeeds and the test passes again.

[1]: https://github.com/odoo/odoo/commit/4231c9e545fdebdad034a4418f2a11e6691bac61

runbot-232963

closes odoo/design-themes#1160

X-original-commit: 501f57e840
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-09-30 17:13:11 +00:00
2021-05-10 15:45:35 +02:00
2025-09-07 02:15:50 +00:00
S
Description
No description provided
872 MiB
Languages
SCSS 43.3%
JavaScript 35.9%
Python 11%
HTML 8.3%
CSS 1.4%
Other 0.1%