Files
design-themes/theme_notes/models/theme_notes.py
T
Brieuc-brd 620da7cfa4 [IMP] theme_notes: update the theme
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2590454

X-original-commit: 352692754c
Part-of: odoo/design-themes#501
2021-09-24 11:09:49 +00:00

15 lines
392 B
Python

from odoo import models
class ThemeNotes(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_notes_post_copy(self, mod):
self.enable_header_off_canvas()
self.disable_view('website.footer_custom')
self.enable_view('website.template_footer_descriptive')
# For compatibility
# self.enable_asset('theme_common.compatibility_saas_10_1')