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.
16 lines
517 B
16 lines
517 B
from odoo import models
|
|
|
|
|
|
class ThemeVehicle(models.AbstractModel):
|
|
_inherit = 'theme.utils'
|
|
|
|
def _theme_vehicle_post_copy(self, mod):
|
|
# For compatibility
|
|
# self.enable_view('theme_common.compatibility-saas-10-1')
|
|
|
|
self.disable_view('website.template_header_default')
|
|
self.enable_view('website.template_header_hamburger')
|
|
self.enable_header_off_canvas()
|
|
|
|
self.disable_view('website.footer_custom')
|
|
self.enable_view('website.template_footer_minimalist')
|