Files
design-themes/theme_enark/models/theme_enark.py
T
xlu-odoo 3f75d0377b [IMP] theme_enark: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2601581

Part-of: odoo/design-themes#500
2021-09-24 04:52:26 +00:00

10 lines
254 B
Python

from odoo import models
class ThemeEnark(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_enark_post_copy(self, mod):
self.disable_view('website.footer_custom')
self.enable_view('website.template_footer_descriptive')