mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[ADD] theme 14.0
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from . import theme_treehouse
|
||||
@@ -0,0 +1,16 @@
|
||||
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.disable_view('website.footer_custom')
|
||||
self.enable_view('website.template_footer_contact')
|
||||
self.enable_view('website.template_footer_slideout')
|
||||
self.enable_view('website.option_footer_scrolltop')
|
||||
|
||||
self.enable_view('website.option_ripple_effect')
|
||||
Reference in New Issue
Block a user