Files
design-themes/theme_treehouse/models/theme_treehouse.py
T
Brieuc-brd fa78b350cc [IMP] theme_treehouse: revamp the theme
task-4178089
Part of task-4177975

Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-09-21 16:34:54 +00:00

17 lines
569 B
Python

from odoo import models
class ThemeTreehouse(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_treehouse_post_copy(self, mod):
self.disable_view('website.header_visibility_standard')
self.enable_view('website.header_visibility_fixed')
self.enable_view('website.template_header_vertical')
self.enable_view('website.template_footer_descriptive')
self.enable_view('website.template_footer_slideout')
self.enable_asset("website.ripple_effect_scss")
self.enable_asset("website.ripple_effect_js")