[ADD] theme saas-13.5

This commit is contained in:
Design
2021-05-12 08:27:59 +02:00
committed by Jeremy Kersten
commit 1052f84b4a
2327 changed files with 55908 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import theme_notes
+17
View File
@@ -0,0 +1,17 @@
from odoo import models
class ThemeNotes(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_notes_post_copy(self, mod):
self.disable_view('website.template_header_default')
self.enable_view('website.template_header_hamburger_full')
self.enable_view('website.template_header_hamburger_align_right')
self.enable_header_off_canvas()
self.disable_view('website.footer_custom')
self.enable_view('website.template_footer_descriptive')
# For compatibility
# self.enable_view('theme_common.compatibility-saas-10-1')