mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -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):
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user