From 6669fd37e85c2372a52a2791d75b7d5fadb04aff Mon Sep 17 00:00:00 2001 From: Chill Date: Thu, 2 Feb 2023 16:05:37 +0800 Subject: [PATCH] =?UTF-8?q?fix=20#I67W45=20app=5Fcommon=E5=8F=AF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app_common/__manifest__.py | 10 +- app_common/models/__init__.py | 2 +- app_common/rng/common.rng | 4 +- app_common/rng/tree_view.rng | 2 + app_common/static/description/index.html | 4 +- app_common/views/product_brand_views.xml | 116 -------------------- app_common/views/product_product_views.xml | 24 ---- app_common/views/product_template_views.xml | 59 ---------- 8 files changed, 13 insertions(+), 208 deletions(-) delete mode 100644 app_common/views/product_brand_views.xml delete mode 100644 app_common/views/product_product_views.xml delete mode 100644 app_common/views/product_template_views.xml diff --git a/app_common/__manifest__.py b/app_common/__manifest__.py index f243291f..5e0e97b4 100644 --- a/app_common/__manifest__.py +++ b/app_common/__manifest__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Created on 20120-01-05 +# Created on 2023-02-02 # author: 广州尚鹏,https://www.sunpop.cn # email: 300883@qq.com # resource of Sunpop @@ -33,7 +33,7 @@ { 'name': "Sunpop Odooapp Common Func", - 'version': '16.22.11.30', + 'version': '16.23.02.02', 'author': 'Sunpop.cn', 'category': 'Base', 'website': 'https://www.sunpop.cn', @@ -47,18 +47,18 @@ 基础核心,必须没有要被依赖字段及视图等,实现auto_install ''', 'description': ''' - Support Odoo 15, Enterprise and Community Edition + Support Odoo 16, Enterprise and Community Edition 1. 2. 3. Multi-language Support. 4. Multi-Company Support. - 5. Support Odoo 15, Enterprise and Community Edition + 5. Support Odoo 16, Enterprise and Community Edition ========== 1. 2. 3. 多语言支持 4. 多公司支持 - 5. Odoo 15, 企业版,社区版,多版本支持 + 5. Odoo 16, 企业版,社区版,多版本支持 ''', 'depends': [ 'base', diff --git a/app_common/models/__init__.py b/app_common/models/__init__.py index 4458ab01..a64364e0 100644 --- a/app_common/models/__init__.py +++ b/app_common/models/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Part of Sunpop.cn. See LICENSE file for full copyright and licensing details. -# Created on 2019-04-20 +# Created on 2023-02-02 # author: 广州尚鹏,http://www.sunpop.cn # email: 300883@qq.com # resource of Sunpop diff --git a/app_common/rng/common.rng b/app_common/rng/common.rng index 7564b0f3..f5114603 100644 --- a/app_common/rng/common.rng +++ b/app_common/rng/common.rng @@ -415,7 +415,8 @@ - + + @@ -425,6 +426,7 @@ + diff --git a/app_common/rng/tree_view.rng b/app_common/rng/tree_view.rng index fd800c55..48d31e94 100644 --- a/app_common/rng/tree_view.rng +++ b/app_common/rng/tree_view.rng @@ -58,6 +58,8 @@ + + diff --git a/app_common/static/description/index.html b/app_common/static/description/index.html index ce01362d..254f8b78 100644 --- a/app_common/static/description/index.html +++ b/app_common/static/description/index.html @@ -4,7 +4,7 @@

-

Lastest update: v15.21.11.30

+

Lastest update: v16.22.02.02

@@ -26,7 +26,7 @@
  • - 5. Support Odoo 15, 14, 13, 12, 11, Enterprise and Community Edition. + 5. Support Odoo 16, 15, 14, 13, 12, 11, Enterprise and Community Edition.
  • diff --git a/app_common/views/product_brand_views.xml b/app_common/views/product_brand_views.xml deleted file mode 100644 index 546d4033..00000000 --- a/app_common/views/product_brand_views.xml +++ /dev/null @@ -1,116 +0,0 @@ - - - - product.brand.search - product.brand - - - - - - - - - - - - - - product.brand.form - product.brand - -
    - -
    - -
    - -
    -
    - - - - - - - - -
    -
    -
    -
    - - - product.brand.tree - product.brand - - - - - - - - - - - - product.brand.kanban - product.brand - - - - - - - - -
    -
    - Logo -
    -
    -

    - -

    - -
    -
    -
    -
    -
    -
    -
    - - - Brand - product.brand - kanban,form,tree - - - -
    diff --git a/app_common/views/product_product_views.xml b/app_common/views/product_product_views.xml deleted file mode 100644 index e25deae4..00000000 --- a/app_common/views/product_product_views.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - app.product.product.tree - product.product - - - - - - - - - - Product Manager - ir.actions.act_window - product.product - tree,form - - - diff --git a/app_common/views/product_template_views.xml b/app_common/views/product_template_views.xml deleted file mode 100644 index 8db19037..00000000 --- a/app_common/views/product_template_views.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - product.template.search.brand - product.template - - - - - - - - - - - - product.template.product.form - product.template - - - - -
    - - - - - - product kanban view add brand - product.template - - - -
    - - - -
    -
    -
    -
    - - - product tree view add brand - product.template - - - - - - - - - -