diff --git a/app_hr_ztree/__init__.py b/app_hr_ztree/__init__.py new file mode 100644 index 00000000..86764a0e --- /dev/null +++ b/app_hr_ztree/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- + +from . import models +from .hooks import post_init_hook \ No newline at end of file diff --git a/app_hr_ztree/__manifest__.py b/app_hr_ztree/__manifest__.py new file mode 100644 index 00000000..c88b22fb --- /dev/null +++ b/app_hr_ztree/__manifest__.py @@ -0,0 +1,61 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-08-15 +# 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': "app stock location ztree, parent children tree", + 'version': '12.0.10.15', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'http://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'summary': """ + Use for parent children tree list select navigator. hr department employee tree. + ztree widget. + """, + 'description': """ + zTree widget. + Advance search with real parent children tree, ListView or KanbanView , + eg: Product category tree ,Department tree, stock location tree. + 超级方便的查询,树状视图。 + """, + 'price': 0.00, + 'currency': 'EUR', + 'depends': [ + 'hr', + ], + 'images': ['static/description/banner.png'], + 'data': [ + 'views/hr_views.xml', + ], + 'demo': [ + ], + 'test': [ + ], + 'css': [ + ], + 'qweb': [ + 'static/src/xml/*.xml', + ], + 'js': [ + ], + 'post_load': None, + 'post_init_hook': 'post_init_hook', + 'installable': True, + 'application': True, + 'auto_install': False, +} diff --git a/app_hr_ztree/hooks.py b/app_hr_ztree/hooks.py new file mode 100644 index 00000000..3f9582b9 --- /dev/null +++ b/app_hr_ztree/hooks.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-10-12 +# 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: + +def post_init_hook(cr, pool): + pass + # cr.execute("") diff --git a/app_hr_ztree/i18n/zh_CN.po b/app_hr_ztree/i18n/zh_CN.po new file mode 100644 index 00000000..f45db9f9 --- /dev/null +++ b/app_hr_ztree/i18n/zh_CN.po @@ -0,0 +1,16 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * felive_home +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-08 14:28+0000\n" +"PO-Revision-Date: 2018-01-08 14:28+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" diff --git a/app_hr_ztree/models/__init__.py b/app_hr_ztree/models/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/app_hr_ztree/models/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/app_hr_ztree/report/__init__.py b/app_hr_ztree/report/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/app_hr_ztree/report/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/app_hr_ztree/static/description/banner.gif b/app_hr_ztree/static/description/banner.gif new file mode 100644 index 00000000..ac3c0327 Binary files /dev/null and b/app_hr_ztree/static/description/banner.gif differ diff --git a/app_hr_ztree/static/description/demo1.jpg b/app_hr_ztree/static/description/demo1.jpg new file mode 100644 index 00000000..fd538628 Binary files /dev/null and b/app_hr_ztree/static/description/demo1.jpg differ diff --git a/app_hr_ztree/static/description/demo11.jpg b/app_hr_ztree/static/description/demo11.jpg new file mode 100644 index 00000000..72ad356b Binary files /dev/null and b/app_hr_ztree/static/description/demo11.jpg differ diff --git a/app_hr_ztree/static/description/demo12.jpg b/app_hr_ztree/static/description/demo12.jpg new file mode 100644 index 00000000..ecc58186 Binary files /dev/null and b/app_hr_ztree/static/description/demo12.jpg differ diff --git a/app_hr_ztree/static/description/demo2.jpg b/app_hr_ztree/static/description/demo2.jpg new file mode 100644 index 00000000..b856e71d Binary files /dev/null and b/app_hr_ztree/static/description/demo2.jpg differ diff --git a/app_hr_ztree/static/description/demo3.jpg b/app_hr_ztree/static/description/demo3.jpg new file mode 100644 index 00000000..e82b0990 Binary files /dev/null and b/app_hr_ztree/static/description/demo3.jpg differ diff --git a/app_hr_ztree/static/description/demo4.jpg b/app_hr_ztree/static/description/demo4.jpg new file mode 100644 index 00000000..4a4abce1 Binary files /dev/null and b/app_hr_ztree/static/description/demo4.jpg differ diff --git a/app_hr_ztree/static/description/demo5.jpg b/app_hr_ztree/static/description/demo5.jpg new file mode 100644 index 00000000..849b7841 Binary files /dev/null and b/app_hr_ztree/static/description/demo5.jpg differ diff --git a/app_hr_ztree/static/description/icon.png b/app_hr_ztree/static/description/icon.png new file mode 100644 index 00000000..57e223d0 Binary files /dev/null and b/app_hr_ztree/static/description/icon.png differ diff --git a/app_hr_ztree/static/description/index.html b/app_hr_ztree/static/description/index.html new file mode 100644 index 00000000..7d0308d0 --- /dev/null +++ b/app_hr_ztree/static/description/index.html @@ -0,0 +1,179 @@ +
+
+

App ztree widget, for parent children tree list. Demo for hr department employee

+

Very useful for parent child relationship, like product category, stock location, hr department

+
+
+ +
+
+
+
+ Key features: +
    +
  • + + Easy to make custom parent children tree. +
  • +
  • + + Use in product category. +
  • +
  • + + Use in stock location. +
  • +
  • + + Use in hr department, employee. +
  • +
  • + + It's a widget, you can use it in anywhere in odoo. +
  • +
+
+
+ Extend features(Need extra module, release soon): +
    +
  • + + Easy to navigate product, employee in tree or kanban view. +
  • +
+
+ +
+
+
+ +
+
+

Use in hr department.

+
+ +
+
+
+ +
+
+

Use in hr employee.

+
+ +
+
+
+ +
+
+

Use in product.

+
+ +
+
+
+ +
+
+

Use in product category.

+
+ +
+
+
+ +
+
+

Use in stock location.

+
+ +
+
+
+ +
+
+

 

+

(!Need extra module and pay, release soon)Easy to navigator.

+

Product, employee in kanban view

+
+ +
+
+
+ +
+
+

(!Need extra module and pay, release soon)List view

+
+ +
+
+
+ +
+
+

Easy to setup just use widget='widget_select'. like this

+
+ +
+


Use follow param to setup widget:

+

ztree_parent_key: --the key field of parent children relation.

+

ztree_expend_level: --how many level to expend the tree for initialize. Default is 2

+

limit: --how many record to show ztree. Default is 16

+

order: --the field to order by

+
+
+
+
+
+

Technical Help & Support

+
+
+
+

+ For any type of technical help & support requests, Feel free to contact us

+ + guohuadeng@hotmail.com +

+ Via QQ: 300883

+ + 300883@qq.com +
+
+

+ Visit our website for more support.

+ + http://www.sunpop.cn +
+
+
+
+ diff --git a/app_hr_ztree/static/description/setup1.jpg b/app_hr_ztree/static/description/setup1.jpg new file mode 100644 index 00000000..d5ade2b1 Binary files /dev/null and b/app_hr_ztree/static/description/setup1.jpg differ diff --git a/app_hr_ztree/static/img/icon_sunpop.png b/app_hr_ztree/static/img/icon_sunpop.png new file mode 100644 index 00000000..aa490954 Binary files /dev/null and b/app_hr_ztree/static/img/icon_sunpop.png differ diff --git a/app_hr_ztree/static/img/logo_sunpop.png b/app_hr_ztree/static/img/logo_sunpop.png new file mode 100644 index 00000000..90cbe0e2 Binary files /dev/null and b/app_hr_ztree/static/img/logo_sunpop.png differ diff --git a/app_hr_ztree/views/hr_views.xml b/app_hr_ztree/views/hr_views.xml new file mode 100644 index 00000000..21356c8c --- /dev/null +++ b/app_hr_ztree/views/hr_views.xml @@ -0,0 +1,30 @@ + + + + + app.hr.department.form + hr.department + + + + + ztree_select + parent_id + + + + + app.hr.employee.form + hr.employee + + + + + + ztree_select + parent_id + + + + + \ No newline at end of file diff --git a/app_product_ztree/__init__.py b/app_product_ztree/__init__.py new file mode 100644 index 00000000..86764a0e --- /dev/null +++ b/app_product_ztree/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- + +from . import models +from .hooks import post_init_hook \ No newline at end of file diff --git a/app_product_ztree/__manifest__.py b/app_product_ztree/__manifest__.py new file mode 100644 index 00000000..06d23d54 --- /dev/null +++ b/app_product_ztree/__manifest__.py @@ -0,0 +1,61 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-08-15 +# 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': "app product category ztree, parent children tree", + 'version': '12.0.10.15', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'http://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'summary': """ + Use for parent children tree list select navigator. Product category tree. + ztree widget. + """, + 'description': """ + zTree widget. + Advance search with real parent children tree, ListView or KanbanView , + eg: Product category tree ,Department tree, stock location tree. + 超级方便的查询,树状视图。 + """, + 'price': 0.00, + 'currency': 'EUR', + 'depends': [ + 'product', + ], + 'images': ['static/description/banner.png'], + 'data': [ + 'views/product_views.xml', + ], + 'demo': [ + ], + 'test': [ + ], + 'css': [ + ], + 'qweb': [ + 'static/src/xml/*.xml', + ], + 'js': [ + ], + 'post_load': None, + 'post_init_hook': 'post_init_hook', + 'installable': True, + 'application': True, + 'auto_install': False, +} diff --git a/app_product_ztree/hooks.py b/app_product_ztree/hooks.py new file mode 100644 index 00000000..3f9582b9 --- /dev/null +++ b/app_product_ztree/hooks.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-10-12 +# 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: + +def post_init_hook(cr, pool): + pass + # cr.execute("") diff --git a/app_product_ztree/i18n/zh_CN.po b/app_product_ztree/i18n/zh_CN.po new file mode 100644 index 00000000..f45db9f9 --- /dev/null +++ b/app_product_ztree/i18n/zh_CN.po @@ -0,0 +1,16 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * felive_home +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-08 14:28+0000\n" +"PO-Revision-Date: 2018-01-08 14:28+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" diff --git a/app_product_ztree/models/__init__.py b/app_product_ztree/models/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/app_product_ztree/models/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/app_product_ztree/report/__init__.py b/app_product_ztree/report/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/app_product_ztree/report/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/app_product_ztree/static/description/banner.gif b/app_product_ztree/static/description/banner.gif new file mode 100644 index 00000000..ac3c0327 Binary files /dev/null and b/app_product_ztree/static/description/banner.gif differ diff --git a/app_product_ztree/static/description/demo1.jpg b/app_product_ztree/static/description/demo1.jpg new file mode 100644 index 00000000..fd538628 Binary files /dev/null and b/app_product_ztree/static/description/demo1.jpg differ diff --git a/app_product_ztree/static/description/demo11.jpg b/app_product_ztree/static/description/demo11.jpg new file mode 100644 index 00000000..72ad356b Binary files /dev/null and b/app_product_ztree/static/description/demo11.jpg differ diff --git a/app_product_ztree/static/description/demo12.jpg b/app_product_ztree/static/description/demo12.jpg new file mode 100644 index 00000000..ecc58186 Binary files /dev/null and b/app_product_ztree/static/description/demo12.jpg differ diff --git a/app_product_ztree/static/description/demo2.jpg b/app_product_ztree/static/description/demo2.jpg new file mode 100644 index 00000000..b856e71d Binary files /dev/null and b/app_product_ztree/static/description/demo2.jpg differ diff --git a/app_product_ztree/static/description/demo3.jpg b/app_product_ztree/static/description/demo3.jpg new file mode 100644 index 00000000..e82b0990 Binary files /dev/null and b/app_product_ztree/static/description/demo3.jpg differ diff --git a/app_product_ztree/static/description/demo4.jpg b/app_product_ztree/static/description/demo4.jpg new file mode 100644 index 00000000..4a4abce1 Binary files /dev/null and b/app_product_ztree/static/description/demo4.jpg differ diff --git a/app_product_ztree/static/description/demo5.jpg b/app_product_ztree/static/description/demo5.jpg new file mode 100644 index 00000000..849b7841 Binary files /dev/null and b/app_product_ztree/static/description/demo5.jpg differ diff --git a/app_product_ztree/static/description/icon.png b/app_product_ztree/static/description/icon.png new file mode 100644 index 00000000..57e223d0 Binary files /dev/null and b/app_product_ztree/static/description/icon.png differ diff --git a/app_product_ztree/static/description/index.html b/app_product_ztree/static/description/index.html new file mode 100644 index 00000000..4737b7d6 --- /dev/null +++ b/app_product_ztree/static/description/index.html @@ -0,0 +1,180 @@ +
+
+

App ztree widget, for parent children tree list. Demo for product category

+

Very useful for parent child relationship, like product category, stock location, hr department

+
+
+ +
+
+
+
+ Key features: +
    +
  • + + Easy to make custom parent children tree. +
  • +
  • + + Use in product category. +
  • +
  • + + Use in stock location. +
  • +
  • + + Use in hr department, employee. +
  • +
  • + + It's a widget, you can use it in anywhere in odoo. +
  • +
+
+
+ Extend features(Need extra module, release soon): +
    +
  • + + Easy to navigate product, employee in tree or kanban view. +
  • +
+
+ +
+
+
+ +
+
+

Use in product.

+
+ +
+
+
+ +
+
+

Use in product category.

+
+ +
+
+
+ +
+
+

Use in stock location.

+
+ +
+
+
+ +
+
+

Use in hr department.

+
+ +
+
+
+ +
+
+

Use in hr employee.

+
+ +
+
+
+ + +
+
+

 

+

(!Need extra module and pay, release soon)Easy to navigator.

+

Product, employee in kanban view

+
+ +
+
+
+ +
+
+

(!Need extra module and pay, release soon)List view

+
+ +
+
+
+ +
+
+

Easy to setup just use widget='widget_select'. like this

+
+ +
+


Use follow param to setup widget:

+

ztree_parent_key: --the key field of parent children relation.

+

ztree_expend_level: --how many level to expend the tree for initialize. Default is 2

+

limit: --how many record to show ztree. Default is 16

+

order: --the field to order by

+
+
+
+
+
+

Technical Help & Support

+
+
+
+

+ For any type of technical help & support requests, Feel free to contact us

+ + guohuadeng@hotmail.com +

+ Via QQ: 300883

+ + 300883@qq.com +
+
+

+ Visit our website for more support.

+ + http://www.sunpop.cn +
+
+
+
+ diff --git a/app_product_ztree/static/description/setup1.jpg b/app_product_ztree/static/description/setup1.jpg new file mode 100644 index 00000000..d5ade2b1 Binary files /dev/null and b/app_product_ztree/static/description/setup1.jpg differ diff --git a/app_product_ztree/static/img/icon_sunpop.png b/app_product_ztree/static/img/icon_sunpop.png new file mode 100644 index 00000000..aa490954 Binary files /dev/null and b/app_product_ztree/static/img/icon_sunpop.png differ diff --git a/app_product_ztree/static/img/logo_sunpop.png b/app_product_ztree/static/img/logo_sunpop.png new file mode 100644 index 00000000..90cbe0e2 Binary files /dev/null and b/app_product_ztree/static/img/logo_sunpop.png differ diff --git a/app_product_ztree/views/product_views.xml b/app_product_ztree/views/product_views.xml new file mode 100644 index 00000000..89612e2e --- /dev/null +++ b/app_product_ztree/views/product_views.xml @@ -0,0 +1,34 @@ + + + + + app.product.template.form + product.template + + + + + ztree_select + parent_id + 2 + 16 + name + + + + + app.product.category.form + product.category + + + + + + ztree_select + parent_id + + + + + + \ No newline at end of file diff --git a/app_stock_ztree/__init__.py b/app_stock_ztree/__init__.py new file mode 100644 index 00000000..86764a0e --- /dev/null +++ b/app_stock_ztree/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- + +from . import models +from .hooks import post_init_hook \ No newline at end of file diff --git a/app_stock_ztree/__manifest__.py b/app_stock_ztree/__manifest__.py new file mode 100644 index 00000000..2642b5d5 --- /dev/null +++ b/app_stock_ztree/__manifest__.py @@ -0,0 +1,61 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-08-15 +# 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': "app stock location ztree, parent children tree", + 'version': '12.0.10.15', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'http://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'summary': """ + Use for parent children tree list select navigator. stock location tree. + ztree widget. + """, + 'description': """ + zTree widget. + Advance search with real parent children tree, ListView or KanbanView , + eg: Product category tree ,Department tree, stock location tree. + 超级方便的查询,树状视图。 + """, + 'price': 0.00, + 'currency': 'EUR', + 'depends': [ + 'stock', + ], + 'images': ['static/description/banner.png'], + 'data': [ + 'views/stock_views.xml', + ], + 'demo': [ + ], + 'test': [ + ], + 'css': [ + ], + 'qweb': [ + 'static/src/xml/*.xml', + ], + 'js': [ + ], + 'post_load': None, + 'post_init_hook': 'post_init_hook', + 'installable': True, + 'application': True, + 'auto_install': False, +} diff --git a/app_stock_ztree/hooks.py b/app_stock_ztree/hooks.py new file mode 100644 index 00000000..3f9582b9 --- /dev/null +++ b/app_stock_ztree/hooks.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-10-12 +# 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: + +def post_init_hook(cr, pool): + pass + # cr.execute("") diff --git a/app_stock_ztree/i18n/zh_CN.po b/app_stock_ztree/i18n/zh_CN.po new file mode 100644 index 00000000..f45db9f9 --- /dev/null +++ b/app_stock_ztree/i18n/zh_CN.po @@ -0,0 +1,16 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * felive_home +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-01-08 14:28+0000\n" +"PO-Revision-Date: 2018-01-08 14:28+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" diff --git a/app_stock_ztree/models/__init__.py b/app_stock_ztree/models/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/app_stock_ztree/models/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/app_stock_ztree/report/__init__.py b/app_stock_ztree/report/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/app_stock_ztree/report/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/app_stock_ztree/static/description/banner.gif b/app_stock_ztree/static/description/banner.gif new file mode 100644 index 00000000..ac3c0327 Binary files /dev/null and b/app_stock_ztree/static/description/banner.gif differ diff --git a/app_stock_ztree/static/description/demo1.jpg b/app_stock_ztree/static/description/demo1.jpg new file mode 100644 index 00000000..fd538628 Binary files /dev/null and b/app_stock_ztree/static/description/demo1.jpg differ diff --git a/app_stock_ztree/static/description/demo11.jpg b/app_stock_ztree/static/description/demo11.jpg new file mode 100644 index 00000000..72ad356b Binary files /dev/null and b/app_stock_ztree/static/description/demo11.jpg differ diff --git a/app_stock_ztree/static/description/demo12.jpg b/app_stock_ztree/static/description/demo12.jpg new file mode 100644 index 00000000..ecc58186 Binary files /dev/null and b/app_stock_ztree/static/description/demo12.jpg differ diff --git a/app_stock_ztree/static/description/demo2.jpg b/app_stock_ztree/static/description/demo2.jpg new file mode 100644 index 00000000..b856e71d Binary files /dev/null and b/app_stock_ztree/static/description/demo2.jpg differ diff --git a/app_stock_ztree/static/description/demo3.jpg b/app_stock_ztree/static/description/demo3.jpg new file mode 100644 index 00000000..e82b0990 Binary files /dev/null and b/app_stock_ztree/static/description/demo3.jpg differ diff --git a/app_stock_ztree/static/description/demo4.jpg b/app_stock_ztree/static/description/demo4.jpg new file mode 100644 index 00000000..4a4abce1 Binary files /dev/null and b/app_stock_ztree/static/description/demo4.jpg differ diff --git a/app_stock_ztree/static/description/demo5.jpg b/app_stock_ztree/static/description/demo5.jpg new file mode 100644 index 00000000..849b7841 Binary files /dev/null and b/app_stock_ztree/static/description/demo5.jpg differ diff --git a/app_stock_ztree/static/description/icon.png b/app_stock_ztree/static/description/icon.png new file mode 100644 index 00000000..57e223d0 Binary files /dev/null and b/app_stock_ztree/static/description/icon.png differ diff --git a/app_stock_ztree/static/description/index.html b/app_stock_ztree/static/description/index.html new file mode 100644 index 00000000..96083879 --- /dev/null +++ b/app_stock_ztree/static/description/index.html @@ -0,0 +1,181 @@ +
+
+

App ztree widget, for parent children tree list. Demo for stock location.

+

Very useful for parent child relationship, like product category, stock location, hr department

+
+
+ +
+
+
+
+ Key features: +
    +
  • + + Easy to make custom parent children tree. +
  • +
  • + + Use in product category. +
  • +
  • + + Use in stock location. +
  • +
  • + + Use in hr department, employee. +
  • +
  • + + It's a widget, you can use it in anywhere in odoo. +
  • +
+
+
+ Extend features(Need extra module, release soon): +
    +
  • + + Easy to navigate product, employee in tree or kanban view. +
  • +
+
+ +
+
+
+ +
+
+

Use in stock location.

+
+ +
+
+
+ +
+
+

Use in product.

+
+ +
+
+
+ +
+
+

Use in product category.

+
+ +
+
+
+ + +
+
+

Use in hr department.

+
+ +
+
+
+ +
+
+

Use in hr employee.

+
+ +
+
+
+ + +
+
+

 

+

(!Need extra module and pay, release soon)Easy to navigator.

+

Product, employee in kanban view

+
+ +
+
+
+ +
+
+

(!Need extra module and pay, release soon)List view

+
+ +
+
+
+ +
+
+

Easy to setup just use widget='widget_select'. like this

+
+ +
+


Use follow param to setup widget:

+

ztree_parent_key: --the key field of parent children relation.

+

ztree_expend_level: --how many level to expend the tree for initialize. Default is 2

+

limit: --how many record to show ztree. Default is 16

+

order: --the field to order by

+
+
+
+
+
+

Technical Help & Support

+
+
+
+

+ For any type of technical help & support requests, Feel free to contact us

+ + guohuadeng@hotmail.com +

+ Via QQ: 300883

+ + 300883@qq.com +
+
+

+ Visit our website for more support.

+ + http://www.sunpop.cn +
+
+
+
+ diff --git a/app_stock_ztree/static/description/setup1.jpg b/app_stock_ztree/static/description/setup1.jpg new file mode 100644 index 00000000..d5ade2b1 Binary files /dev/null and b/app_stock_ztree/static/description/setup1.jpg differ diff --git a/app_stock_ztree/static/img/icon_sunpop.png b/app_stock_ztree/static/img/icon_sunpop.png new file mode 100644 index 00000000..aa490954 Binary files /dev/null and b/app_stock_ztree/static/img/icon_sunpop.png differ diff --git a/app_stock_ztree/static/img/logo_sunpop.png b/app_stock_ztree/static/img/logo_sunpop.png new file mode 100644 index 00000000..90cbe0e2 Binary files /dev/null and b/app_stock_ztree/static/img/logo_sunpop.png differ diff --git a/app_stock_ztree/views/stock_views.xml b/app_stock_ztree/views/stock_views.xml new file mode 100644 index 00000000..90399d53 --- /dev/null +++ b/app_stock_ztree/views/stock_views.xml @@ -0,0 +1,18 @@ + + + + + app.stock.location.form + stock.location + + + + + ztree_select + location_id + + + + + + \ No newline at end of file