[IMP] *: adapt model class names to correspond to model names (apply script)

closes odoo/design-themes#988

Related: odoo/odoo#178200
Related: odoo/enterprise#69762
Related: odoo/documentation#11115
Related: odoo/upgrade#6577
Related: odoo/upgrade-util#143
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
This commit is contained in:
Gorash
2024-10-14 14:03:18 +02:00
parent 1c5f769a95
commit 377616168b
31 changed files with 61 additions and 61 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ from odoo import models, tools
from odoo.http import request
class Http(models.AbstractModel):
_inherit = 'ir.http'
class IrHttp(models.AbstractModel):
_inherit = ['ir.http']
@classmethod
def _pre_dispatch(cls, rule, args):
+1 -1
View File
@@ -4,7 +4,7 @@ from odoo import api, models
class Website(models.Model):
_inherit = 'website'
_inherit = ['website']
@api.model
def get_test_themes_websites_theme_preview(self):