You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
385 B
12 lines
385 B
from odoo import models
|
|
|
|
|
|
class ThemeOdooExperts(models.AbstractModel):
|
|
_inherit = 'theme.utils'
|
|
|
|
def _theme_odoo_experts_post_copy(self, mod):
|
|
self.disable_view('website.template_header_default')
|
|
self.disable_view('website.footer_custom')
|
|
|
|
self.enable_view('website.template_header_contact')
|
|
self.enable_view('website.template_footer_contact')
|