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