mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
c31b3c7c83
task-4178066 Part of task-4177975 closes odoo/design-themes#929 Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
10 lines
259 B
Python
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')
|