Skip to content
Snippets Groups Projects
Commit 322d5768 authored by qsm-odoo's avatar qsm-odoo
Browse files

[REF] website: call _post_copy with website in the context directly


Before this commit, the website was given as a parameter of the
_post_copy function which is called after theme install. It was then
transfered through the context when calling the theme sub' post_copy
function.

It makes actually more sense to directly call the _post_copy function
with the right website in the context instead of a parameter. This will
also allow to call enable_view/disable_view in the default post_copy
common to all theme, with the right website.

closes odoo/odoo#41312

Signed-off-by: default avatarRomain Derie (rde) <rde@odoo.com>
parent 5e7230b6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment