Files
design-themes/theme_artists/models/theme_artists.py
T
Gorash 89ef56bda9 [IMP] orm/all: Make _name or _inherit mandatory
This is a request following the revert of the use of class names
(concerning the python inheritance and typing project)

closes odoo/design-themes#1040

X-original-commit: 2263661435
Related: odoo/odoo#191963
Related: odoo/enterprise#76269
Signed-off-by: Raphael Collet <rco@odoo.com>
2024-12-28 08:04:36 +00:00

15 lines
428 B
Python

from odoo import models
class ThemeUtils(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_artists_post_copy(self, mod):
self.enable_view('website.template_header_vertical')
self.enable_view('website.no_autohide_menu')
self.enable_view('website.template_footer_centered')
self.enable_asset("website.ripple_effect_scss")
self.enable_asset("website.ripple_effect_js")