10 lines
356 B
Python
10 lines
356 B
Python
# -*- coding: utf-8 -*-
|
|
from odoo import models
|
|
|
|
class Theme3DSystems(models.AbstractModel):
|
|
_inherit = 'theme.utils'
|
|
|
|
def _theme_3d_systems_post_copy(self, mod):
|
|
# Called when theme is activated
|
|
self.enable_view('theme_3d_systems.template_header_3d_systems')
|
|
self.enable_view('theme_3d_systems.template_footer_3d_systems')
|