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,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#################################################################################
|
||||
#
|
||||
# Copyright (c) 2018-Present Webkul Software Pvt. Ltd. (<https://webkul.com/>)
|
||||
# See LICENSE URL <https://store.webkul.com/license.html/> for full copyright and licensing details.
|
||||
#################################################################################
|
||||
from . import models,controllers
|
||||
|
||||
def pre_init_check(cr):
|
||||
from odoo.service import common
|
||||
from odoo.exceptions import UserError
|
||||
version_info = common.exp_version()
|
||||
server_serie = version_info.get('server_serie')
|
||||
if not 16.0 < float(server_serie) <= 17.0:
|
||||
raise UserError(f'Module support Odoo series 17.0 but found {server_serie}.')
|
||||
Reference in New Issue
Block a user