diff --git a/app_chatgpt/i18n/zh_CN.po b/app_chatgpt/i18n/zh_CN.po index 27843c37..0e4beede 100644 --- a/app_chatgpt/i18n/zh_CN.po +++ b/app_chatgpt/i18n/zh_CN.po @@ -1123,7 +1123,7 @@ msgstr "" #. module: app_chatgpt #: model:ir.model.fields,help:app_chatgpt.field_ai_robot__sequence msgid "Determine the display order" -msgstr "" +msgstr "确定显示顺序,值越小越靠前" #. module: app_chatgpt #: model:ir.actions.server,name:app_chatgpt.model_ai_robot_action_disconnect diff --git a/app_common/__manifest__.py b/app_common/__manifest__.py index 632ff4a7..1110f82b 100644 --- a/app_common/__manifest__.py +++ b/app_common/__manifest__.py @@ -39,7 +39,7 @@ { 'name': "odooAi Common Util and Tools", - 'version': '24.04.29', + 'version': '24.08.26', '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 04cd79fa..68f66a69 100644 --- a/app_common/models/app_import.py +++ b/app_common/models/app_import.py @@ -10,7 +10,7 @@ from odoo.tools import pycompat from odoo.tests import common ADMIN_USER_ID = common.ADMIN_USER_ID -def app_quick_import(cr, content_path, sep=None): +def app_quick_import(env, content_path, sep=None): if not sep: sep = '/' dir_split = content_path.split(sep) @@ -24,7 +24,6 @@ def app_quick_import(cr, content_path, sep=None): if model_name == 'discuss.channel': # todo: 创建discuss.channel时,如果用root用户会报错 uid = 2 - env = api.Environment(cr, uid, {}) if file_type == '.csv': file_type = 'text/csv' elif file_type in ['.xls', '.xlsx']: diff --git a/app_website_blog_editor/i18n/zh_CN.po b/app_website_blog_editor/i18n/zh_CN.po index 2b5975ff..ef3a0555 100644 --- a/app_website_blog_editor/i18n/zh_CN.po +++ b/app_website_blog_editor/i18n/zh_CN.po @@ -52,7 +52,7 @@ msgstr "博客图文" #: model:ir.model.fields,help:app_website_blog_editor.field_blog_tag__sequence #: model:ir.model.fields,help:app_website_blog_editor.field_blog_tag_category__sequence msgid "Determine the display order" -msgstr "确定显示顺序" +msgstr "确定显示顺序,值越小越靠前" #. module: app_website_blog_editor #: model:ir.model.fields,field_description:app_website_blog_editor.field_website_page__is_force_all