Add theme_3d_systems/models/theme_3d_systems.py

This commit is contained in:
Huzaifa Inam 2026-08-22 21:25:07 +00:00
parent 4b48d67536
commit 1ec5186327

View 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')