[ADD] theme_aviato: add new theme aviato

task-2589967

X-original-commit: 18d1f0a532
Part-of: odoo/design-themes#501
This commit is contained in:
xlu-odoo
2021-05-28 08:06:34 +00:00
committed by qsm-odoo
parent 028c13f213
commit 32053e38d9
68 changed files with 745 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_aviato
+10
View File
@@ -0,0 +1,10 @@
from odoo import models
class ThemeAviato(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_aviato_post_copy(self, mod):
self.disable_view('website.footer_custom')
self.enable_view('website.template_footer_contact')
self.enable_view('website.template_footer_slideout')