diff --git a/test_themes/models/ir_http.py b/test_themes/models/ir_http.py index e59242f40..23b689e9e 100644 --- a/test_themes/models/ir_http.py +++ b/test_themes/models/ir_http.py @@ -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): diff --git a/test_themes/models/website.py b/test_themes/models/website.py index c6f8e30ec..5f254e9c7 100644 --- a/test_themes/models/website.py +++ b/test_themes/models/website.py @@ -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): diff --git a/theme_anelusia/models/theme_anelusia.py b/theme_anelusia/models/theme_anelusia.py index 48c37efcd..10e9e757a 100644 --- a/theme_anelusia/models/theme_anelusia.py +++ b/theme_anelusia/models/theme_anelusia.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeAnelusia(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_anelusia_post_copy(self, mod): self.enable_view('website.template_footer_headline') diff --git a/theme_artists/models/theme_artists.py b/theme_artists/models/theme_artists.py index 002d7c939..e805903be 100644 --- a/theme_artists/models/theme_artists.py +++ b/theme_artists/models/theme_artists.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeArtists(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_artists_post_copy(self, mod): self.enable_view('website.template_header_vertical') diff --git a/theme_avantgarde/models/theme_avantgarde.py b/theme_avantgarde/models/theme_avantgarde.py index 06dfaa875..5355b5e1a 100644 --- a/theme_avantgarde/models/theme_avantgarde.py +++ b/theme_avantgarde/models/theme_avantgarde.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeAvantgarde(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_avantgarde_post_copy(self, mod): self.enable_view('website.template_header_hamburger') diff --git a/theme_aviato/models/theme_aviato.py b/theme_aviato/models/theme_aviato.py index 1b8f1e372..eafb8210d 100644 --- a/theme_aviato/models/theme_aviato.py +++ b/theme_aviato/models/theme_aviato.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeAviato(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_aviato_post_copy(self, mod): self.enable_view('website.template_footer_contact') diff --git a/theme_beauty/models/theme_beauty.py b/theme_beauty/models/theme_beauty.py index 9875ffc91..0b5479385 100644 --- a/theme_beauty/models/theme_beauty.py +++ b/theme_beauty/models/theme_beauty.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeBeauty(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_beauty_post_copy(self, mod): self.enable_view('website.footer_custom') diff --git a/theme_bewise/models/theme_bewise.py b/theme_bewise/models/theme_bewise.py index 19974f32e..4fc52baca 100644 --- a/theme_bewise/models/theme_bewise.py +++ b/theme_bewise/models/theme_bewise.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeBewise(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_bewise_post_copy(self, mod): self.enable_view('website.template_footer_headline') diff --git a/theme_bistro/models/theme_bistro.py b/theme_bistro/models/theme_bistro.py index 193d789b2..eb0484cc6 100644 --- a/theme_bistro/models/theme_bistro.py +++ b/theme_bistro/models/theme_bistro.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeBistro(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_bistro_post_copy(self, mod): self.enable_view('website.template_header_vertical') diff --git a/theme_bookstore/models/theme_bookstore.py b/theme_bookstore/models/theme_bookstore.py index 25e169ab2..5e1217b06 100644 --- a/theme_bookstore/models/theme_bookstore.py +++ b/theme_bookstore/models/theme_bookstore.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeBookstore(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_bookstore_post_copy(self, mod): self.enable_view('website.template_header_search') diff --git a/theme_buzzy/models/theme_buzzy.py b/theme_buzzy/models/theme_buzzy.py index e0b07bc51..7de0eca33 100644 --- a/theme_buzzy/models/theme_buzzy.py +++ b/theme_buzzy/models/theme_buzzy.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeBuzzy(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_buzzy_post_copy(self, mod): self.enable_view('website.template_footer_headline') diff --git a/theme_clean/models/theme_clean.py b/theme_clean/models/theme_clean.py index cb5c8fec7..f68efee38 100644 --- a/theme_clean/models/theme_clean.py +++ b/theme_clean/models/theme_clean.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeClean(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_clean_post_copy(self, mod): self.enable_view('website.template_header_default') diff --git a/theme_cobalt/models/theme_cobalt.py b/theme_cobalt/models/theme_cobalt.py index 972f62468..c77c91ea6 100644 --- a/theme_cobalt/models/theme_cobalt.py +++ b/theme_cobalt/models/theme_cobalt.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeCobalt(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_cobalt_post_copy(self, mod): self.enable_asset("website.ripple_effect_scss") diff --git a/theme_common/models/theme_common.py b/theme_common/models/theme_common.py index 0b8ce3313..d5bcebdd5 100644 --- a/theme_common/models/theme_common.py +++ b/theme_common/models/theme_common.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeCommon(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_common_post_copy(self, mod): # Reset all default color when switching themes diff --git a/theme_enark/models/theme_enark.py b/theme_enark/models/theme_enark.py index 8825c5d54..3588d6dd6 100644 --- a/theme_enark/models/theme_enark.py +++ b/theme_enark/models/theme_enark.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeEnark(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_enark_post_copy(self, mod): self.enable_view('website.template_footer_descriptive') diff --git a/theme_graphene/models/theme_graphene.py b/theme_graphene/models/theme_graphene.py index aed4ca807..34fd0d07c 100644 --- a/theme_graphene/models/theme_graphene.py +++ b/theme_graphene/models/theme_graphene.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeGraphene(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_graphene_post_copy(self, mod): self.enable_view('website.template_header_stretch') diff --git a/theme_kea/models/theme_kea.py b/theme_kea/models/theme_kea.py index 284fabe35..a2975190c 100644 --- a/theme_kea/models/theme_kea.py +++ b/theme_kea/models/theme_kea.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeKea(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_kea_post_copy(self, mod): self.enable_view('website.template_footer_minimalist') diff --git a/theme_kiddo/models/theme_kiddo.py b/theme_kiddo/models/theme_kiddo.py index 99047215c..4a1e95526 100644 --- a/theme_kiddo/models/theme_kiddo.py +++ b/theme_kiddo/models/theme_kiddo.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeKiddo(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_kiddo_post_copy(self, mod): self.enable_view('website.template_header_default_align_right') diff --git a/theme_loftspace/models/theme_loftspace.py b/theme_loftspace/models/theme_loftspace.py index 17d053d05..13b9e700e 100644 --- a/theme_loftspace/models/theme_loftspace.py +++ b/theme_loftspace/models/theme_loftspace.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeLoftspace(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_loftspace_post_copy(self, mod): self.enable_view('website.template_header_search') diff --git a/theme_monglia/models/theme_monglia.py b/theme_monglia/models/theme_monglia.py index 04c5a667b..964dc1ab2 100644 --- a/theme_monglia/models/theme_monglia.py +++ b/theme_monglia/models/theme_monglia.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeMonglia(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_monglia_post_copy(self, mod): self.enable_view('website.template_footer_minimalist') diff --git a/theme_nano/models/theme_nano.py b/theme_nano/models/theme_nano.py index 25336b929..d600542ac 100644 --- a/theme_nano/models/theme_nano.py +++ b/theme_nano/models/theme_nano.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeNano(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_nano_post_copy(self, mod): diff --git a/theme_notes/models/theme_notes.py b/theme_notes/models/theme_notes.py index 6dfec13f2..64e2f3a8e 100644 --- a/theme_notes/models/theme_notes.py +++ b/theme_notes/models/theme_notes.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeNotes(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_notes_post_copy(self, mod): self.enable_view('website.template_footer_descriptive') diff --git a/theme_odoo_experts/models/theme_odoo_experts.py b/theme_odoo_experts/models/theme_odoo_experts.py index 5e857181f..0823d241f 100644 --- a/theme_odoo_experts/models/theme_odoo_experts.py +++ b/theme_odoo_experts/models/theme_odoo_experts.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeOdooExperts(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_odoo_experts_post_copy(self, mod): self.enable_view('website.template_footer_contact') diff --git a/theme_orchid/models/theme_orchid.py b/theme_orchid/models/theme_orchid.py index 4440174ca..231f38a98 100644 --- a/theme_orchid/models/theme_orchid.py +++ b/theme_orchid/models/theme_orchid.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeOrchid(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_orchid_post_copy(self, mod): self.enable_view('website.template_header_default') diff --git a/theme_paptic/models/theme_paptic.py b/theme_paptic/models/theme_paptic.py index bb85da80e..0c1467e18 100644 --- a/theme_paptic/models/theme_paptic.py +++ b/theme_paptic/models/theme_paptic.py @@ -1,8 +1,8 @@ from odoo import models -class ThemePaptic(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_paptic_post_copy(self, mod): self.enable_asset("website.ripple_effect_scss") diff --git a/theme_real_estate/models/theme_real_estate.py b/theme_real_estate/models/theme_real_estate.py index 99fc0cca7..95487b445 100644 --- a/theme_real_estate/models/theme_real_estate.py +++ b/theme_real_estate/models/theme_real_estate.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeRealEstate(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_real_estate_post_copy(self, mod): self.enable_asset("website.ripple_effect_scss") diff --git a/theme_test_custo/models/theme_models.py b/theme_test_custo/models/theme_models.py index 16931b2d9..da4514a14 100644 --- a/theme_test_custo/models/theme_models.py +++ b/theme_test_custo/models/theme_models.py @@ -3,8 +3,8 @@ from odoo import models -class TestThemeCustom(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] @property def _header_templates(self): diff --git a/theme_treehouse/models/theme_treehouse.py b/theme_treehouse/models/theme_treehouse.py index a54d89ffa..591d70560 100644 --- a/theme_treehouse/models/theme_treehouse.py +++ b/theme_treehouse/models/theme_treehouse.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeTreehouse(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_treehouse_post_copy(self, mod): self.disable_view('website.header_visibility_standard') diff --git a/theme_vehicle/models/theme_vehicle.py b/theme_vehicle/models/theme_vehicle.py index e4eb9f8dc..a12ba8e9d 100644 --- a/theme_vehicle/models/theme_vehicle.py +++ b/theme_vehicle/models/theme_vehicle.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeVehicle(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_vehicle_post_copy(self, mod): self.enable_view('website.template_footer_minimalist') diff --git a/theme_yes/models/theme_yes.py b/theme_yes/models/theme_yes.py index 730263ede..187bf6563 100644 --- a/theme_yes/models/theme_yes.py +++ b/theme_yes/models/theme_yes.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeYes(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_yes_post_copy(self, mod): self.enable_view('website.template_footer_descriptive') diff --git a/theme_zap/models/theme_zap.py b/theme_zap/models/theme_zap.py index f2ac91696..3b6e3a243 100644 --- a/theme_zap/models/theme_zap.py +++ b/theme_zap/models/theme_zap.py @@ -1,8 +1,8 @@ from odoo import models -class ThemeZap(models.AbstractModel): - _inherit = 'theme.utils' +class ThemeUtils(models.AbstractModel): + _inherit = ['theme.utils'] def _theme_zap_post_copy(self, mod): self.enable_view('website.template_header_sales_four')