-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] *: adapt model class names to correspond to model names (apply …
…script) closes #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) <[email protected]>
- Loading branch information
Showing
31 changed files
with
61 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters