[ADD] theme 14.0

This commit is contained in:
Jeremy Kersten
2021-05-10 15:45:35 +02:00
commit cb1e3be3f8
2309 changed files with 55585 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_zap
+15
View File
@@ -0,0 +1,15 @@
from odoo import models
class ThemeZap(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_zap_post_copy(self, mod):
self.disable_view('website.template_header_default')
self.enable_view('website.template_header_hamburger')
self.enable_view('website.header_navbar_pills_style')
self.disable_view('website.footer_custom')
self.enable_view('website.template_footer_links')
self.enable_view('website.option_ripple_effect')