mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
620da7cfa4
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
15 lines
392 B
Python
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')
|