feat: implement theme_prime and theme_vibrant_marketplace with comprehensive assets, custom snippets, and core frontend logic.(ver 17 not upgrate yet)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (c) 2019-Present Droggol Infotech Private Limited. (<https://www.droggol.com/>)
|
||||
|
||||
from odoo import api, models
|
||||
|
||||
|
||||
class ThemePrime(models.AbstractModel):
|
||||
_inherit = 'theme.utils'
|
||||
|
||||
@api.model
|
||||
def _reset_default_config(self):
|
||||
header_styles = list(range(1, 9))
|
||||
for style in header_styles:
|
||||
self.disable_view('theme_prime.template_header_style_%s' % style)
|
||||
|
||||
footer_styles = list(range(1, 11))
|
||||
for style in footer_styles:
|
||||
self.disable_view('theme_prime.template_footer_style_%s' % style)
|
||||
|
||||
super()._reset_default_config()
|
||||
Reference in New Issue
Block a user