diff --git a/app_base_chinese/__manifest__.py b/app_base_chinese/__manifest__.py index 749ea471..ef16fa92 100644 --- a/app_base_chinese/__manifest__.py +++ b/app_base_chinese/__manifest__.py @@ -17,8 +17,8 @@ { - 'name': 'odoo中文版套件之基础,中国会计基础,Chinese Enhance All in One,', - 'version': '24.11.04', + 'name': 'odoo中文版套件之基础,中国会计基础,Chinese Enhance All in One', + 'version': '24.11.11', 'author': 'odooai.cn', 'category': 'Base', 'website': 'https://www.odooai.cn', diff --git a/app_base_chinese/models/ir_module_module.py b/app_base_chinese/models/ir_module_module.py index 3bdb3c1d..83a69000 100644 --- a/app_base_chinese/models/ir_module_module.py +++ b/app_base_chinese/models/ir_module_module.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- +import os import logging import lxml.html from odoo import api, fields, models, modules, tools, _ @@ -17,7 +18,7 @@ class Module(models.Model): for module in self: module_path = modules.get_module_path(module.name, display_warning=False) # avoid to log warning for fake community module if module_path: - path = modules.check_resource_path(module_path, 'static/description/index_cn.html') + path = modules.check_resource_path(os.path.join(module_path, 'static/description/index_cn.html')) else: module.description_html_cn = False if module_path and path: