Files
design-themes/theme_clean/models/theme_clean.py
T
Xavier Luyckx (xlu) c31b3c7c83 [IMP] theme_clean: improve theme
task-4178066
Part of task-4177975

closes odoo/design-themes#929

Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-09-25 08:09:15 +00:00

10 lines
259 B
Python

from odoo import models
class ThemeClean(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_clean_post_copy(self, mod):
self.enable_view('website.template_header_default')
self.enable_view('website.template_footer_contact')