[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>
This commit is contained in:
Gorash
2024-12-11 14:33:03 +01:00
committed by Raphael Collet
parent 658d039f2c
commit 2263661435
31 changed files with 31 additions and 31 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ from odoo import models
class ThemeUtils(models.AbstractModel):
_inherit = ['theme.utils']
_inherit = 'theme.utils'
def _theme_notes_post_copy(self, mod):
self.enable_view('website.template_footer_descriptive')