Files
design-themes/theme_loftspace/models/theme_loftspace.py
T
Gorash 2263661435 [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#1024

Related: odoo/odoo#189889
Related: odoo/enterprise#75293
Signed-off-by: Raphael Collet <rco@odoo.com>
2024-12-27 22:02:38 +00:00

9 lines
202 B
Python

from odoo import models
class ThemeUtils(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_loftspace_post_copy(self, mod):
self.enable_view('website.template_header_search')