Business/theme_3d_systems/models/theme_3d_systems.py

11 lines
356 B
Python
Raw Permalink Normal View History

# -*- 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')