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

task-2612003

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

20 lines
627 B
Python

from odoo import models
class ThemeGraphene(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_graphene_post_copy(self, mod):
# For compatibility
# self.enable_asset('theme_common.compatibility_saas_10_2')
self.disable_view('website.template_header_default')
self.enable_view('website.template_header_contact')
self.enable_header_off_canvas()
self.disable_view('website.footer_custom')
self.enable_view('website.template_footer_centered')
self.enable_asset('website.ripple_effect_scss')
self.enable_asset('website.ripple_effect_js')