mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
0d61d590ea
This commit updates the theme to improve the design with new colors, new pictures and new snippet customizations. task-2557927 Part-of: odoo/design-themes#500
14 lines
384 B
Python
14 lines
384 B
Python
from odoo import models
|
|
|
|
|
|
class ThemeLoftspace(models.AbstractModel):
|
|
_inherit = 'theme.utils'
|
|
|
|
def _theme_loftspace_post_copy(self, mod):
|
|
self.disable_view('website.template_header_default')
|
|
self.enable_view('website.template_header_centered_logo')
|
|
|
|
# For compatibility
|
|
# self.enable_asset('theme_common.compatibility_saas_10_1')
|
|
pass
|