Files
design-themes/theme_aviato/models/theme_aviato.py
T
xlu-odoo 32053e38d9 [ADD] theme_aviato: add new theme aviato
task-2589967

X-original-commit: 18d1f0a532
Part-of: odoo/design-themes#501
2021-09-24 11:09:53 +00:00

11 lines
313 B
Python

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')