From 6f1b1cb1d6a5aa3c82585a7d61cb28b244f2e0d1 Mon Sep 17 00:00:00 2001 From: Chill Date: Fri, 29 Mar 2024 18:22:58 +0800 Subject: [PATCH] Update app_common: discuss.channel --- app_common/__manifest__.py | 2 +- app_common/models/app_import.py | 4 ++-- app_common/static/description/index.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app_common/__manifest__.py b/app_common/__manifest__.py index beb9ec78..9de77fb4 100644 --- a/app_common/__manifest__.py +++ b/app_common/__manifest__.py @@ -39,7 +39,7 @@ { 'name': "odooAi Common Util and Tools", - 'version': '24.03.11', + 'version': '24.03.29', 'author': 'odooai.cn', 'category': 'Base', 'website': 'https://www.odooai.cn', diff --git a/app_common/models/app_import.py b/app_common/models/app_import.py index c608bc4b..04cd79fa 100644 --- a/app_common/models/app_import.py +++ b/app_common/models/app_import.py @@ -21,8 +21,8 @@ def app_quick_import(cr, content_path, sep=None): file_path = modules.get_module_resource(module_name, dir_split[1], file_name) content = open(file_path, 'rb').read() uid = SUPERUSER_ID - if model_name == 'mail.channel': - # todo: 创建mail.channel时,如果用root用户会报错 + if model_name == 'discuss.channel': + # todo: 创建discuss.channel时,如果用root用户会报错 uid = 2 env = api.Environment(cr, uid, {}) if file_type == '.csv': diff --git a/app_common/static/description/index.html b/app_common/static/description/index.html index db9174f0..8b3162f9 100644 --- a/app_common/static/description/index.html +++ b/app_common/static/description/index.html @@ -4,7 +4,7 @@

odooAi Common Util and Tools

Network and media and base tools

-

Lastest update: v17.24.03.11

+

Lastest update: v17.24.03.29