Files
design-themes/theme_notes/models/theme_notes.py
T

15 lines
392 B
Python
Raw Normal View History

2021-05-10 15:45:35 +02:00
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
2021-05-10 15:46:42 +02:00
# self.enable_asset('theme_common.compatibility_saas_10_1')