Files
design-themes/theme_nano/models/theme_nano.py
T
Chrysanthe (chgo) fc1382ce5a [IMP] theme_nano: revamp the theme
This commit revamps the design of the `theme_nano`.

task-4178081
part of task-4177975

closes odoo/design-themes#966

X-original-commit: 47568ec66f
Related: odoo/odoo#182004
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
Signed-off-by: Chrysanthe Gomrée (chgo) <chgo@odoo.com>
2024-09-28 19:37:29 +00:00

15 lines
375 B
Python

from odoo import models
class ThemeNano(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_nano_post_copy(self, mod):
self.enable_view('website.template_footer_descriptive')
self.enable_asset("website.ripple_effect_scss")
self.enable_asset("website.ripple_effect_js")
self.disable_view('portal.footer_language_selector')