Add theme_3d_systems/models/theme_3d_systems.py
This commit is contained in:
parent
4b48d67536
commit
1ec5186327
1 changed files with 10 additions and 0 deletions
10
theme_3d_systems/models/theme_3d_systems.py
Normal file
10
theme_3d_systems/models/theme_3d_systems.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# -*- 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')
|
||||
Loading…
Reference in a new issue