diff --git a/app_product_advance_search_ztree/__init__.py b/app_product_advance_search_ztree/__init__.py new file mode 100644 index 00000000..d2d2dd15 --- /dev/null +++ b/app_product_advance_search_ztree/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- + + + + + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/app_product_advance_search_ztree/__manifest__.py b/app_product_advance_search_ztree/__manifest__.py new file mode 100644 index 00000000..cbb6f904 --- /dev/null +++ b/app_product_advance_search_ztree/__manifest__.py @@ -0,0 +1,67 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# odtree +# author:15251908@qq.com (openliu) +# license:'LGPL-3 +# +############################################################################## + +# Created on 2018-09-25 +# author: 广州尚鹏,http://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# http://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# http://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +{ + 'name': 'Product Advance search with category parent tree, zTree', + 'version': '11.0.9.29', + 'author': 'Sunpop.cn', + 'category': 'Sales', + 'website': 'http://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'summary': """ + Advance search with real parent tree Structure, ListView or Kanban View , + eg: Product category tree ,Department tree + """, + 'description': """ + Advance search with real parent tree, ListView or KanbanView , + eg: Product category tree ,Department tree + 超级方便的产品查询,可以快速按产品目录过滤。 + """, + 'price': 98.00, + 'currency': 'EUR', + 'depends': [ + 'app_web_search_advance_ztree', 'sale_management', + ], + 'images': ['static/description/banner.png'], + 'data': [ + 'views/product_views.xml', + ], + 'demo': [ + ], + 'test': [ + ], + 'css': [ + ], + 'js': [ + ], + 'images': [ + ], + 'post_load': None, + 'post_init_hook': None, + 'installable': True, + 'application': True, + 'auto_install': False, +} + diff --git a/app_product_advance_search_ztree/static/description/demo.jpg b/app_product_advance_search_ztree/static/description/demo.jpg new file mode 100644 index 00000000..40967896 Binary files /dev/null and b/app_product_advance_search_ztree/static/description/demo.jpg differ diff --git a/app_product_advance_search_ztree/static/description/icon.png b/app_product_advance_search_ztree/static/description/icon.png new file mode 100644 index 00000000..9e7a6655 Binary files /dev/null and b/app_product_advance_search_ztree/static/description/icon.png differ diff --git a/app_product_advance_search_ztree/static/description/index.html b/app_product_advance_search_ztree/static/description/index.html new file mode 100644 index 00000000..f503873d --- /dev/null +++ b/app_product_advance_search_ztree/static/description/index.html @@ -0,0 +1,13 @@ +
+
+

Product Category Tree

+
+
+ +
+
+
+
+ +
+
diff --git a/app_product_advance_search_ztree/views/product_views.xml b/app_product_advance_search_ztree/views/product_views.xml new file mode 100644 index 00000000..1c257158 --- /dev/null +++ b/app_product_advance_search_ztree/views/product_views.xml @@ -0,0 +1,30 @@ + + + + + product.template.product.tree + product.template + + + + categ_id + product.category + parent_id + right + + + + + + Product.template.product.kanban + product.template + + + + categ_id + product.category + parent_id + + + +