From 4c4502b901e49a608289cca0588ab5d013c4d5fc Mon Sep 17 00:00:00 2001 From: Ivan Office Date: Thu, 10 Oct 2024 17:02:29 +0800 Subject: [PATCH] fix bug --- app_common/__manifest__.py | 2 +- app_common/models/app_import.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app_common/__manifest__.py b/app_common/__manifest__.py index 91c7face..d5006f92 100644 --- a/app_common/__manifest__.py +++ b/app_common/__manifest__.py @@ -39,7 +39,7 @@ { 'name': "odooAi Common Util and Tools", - 'version': '24.08.19', + 'version': '24.10.09', '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 68f66a69..82c936cb 100644 --- a/app_common/models/app_import.py +++ b/app_common/models/app_import.py @@ -7,8 +7,6 @@ import os.path from odoo import api, fields, models, modules, tools, SUPERUSER_ID, _ from odoo.tools import pycompat -from odoo.tests import common -ADMIN_USER_ID = common.ADMIN_USER_ID def app_quick_import(env, content_path, sep=None): if not sep: @@ -49,5 +47,3 @@ def app_quick_import(env, content_path, sep=None): preview["headers"], preview["options"] ) - -