diff --git a/app_account_superbar/__init__.py b/app_account_superbar/__init__.py new file mode 100644 index 00000000..86764a0e --- /dev/null +++ b/app_account_superbar/__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_account_superbar/__manifest__.py b/app_account_superbar/__manifest__.py new file mode 100644 index 00000000..1f92a286 --- /dev/null +++ b/app_account_superbar/__manifest__.py @@ -0,0 +1,61 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-08-15 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +{ + 'name': "App account superbar navigator", + 'version': '12.19.09.27', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'https://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'summary': """ + Browse journal by account chart... Use for parent children tree list kanban navigator. + ztree widget.Hierarchy Tree.Parent Children relation tree.. + """, + 'description': """ + Superbar, zTree widget. + Advance search with real parent children tree, ListView or KanbanView. parent tree, children tree, + eg: Product category tree ,Department tree, stock location tree. + 超级方便的查询,树状视图。 + """, + 'price': 0.00, + 'currency': 'EUR', + 'depends': [ + 'account', + ], + 'images': ['static/description/banner.png'], + 'data': [ + 'views/account_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_account_superbar/hooks.py b/app_account_superbar/hooks.py new file mode 100644 index 00000000..7edef364 --- /dev/null +++ b/app_account_superbar/hooks.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-10-12 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +def post_init_hook(cr, pool): + pass + # cr.execute("") diff --git a/app_account_superbar/i18n/zh_CN.po b/app_account_superbar/i18n/zh_CN.po new file mode 100644 index 00000000..f1e36e3e --- /dev/null +++ b/app_account_superbar/i18n/zh_CN.po @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# +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_account_superbar/models/__init__.py b/app_account_superbar/models/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/app_account_superbar/models/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/app_account_superbar/report/__init__.py b/app_account_superbar/report/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/app_account_superbar/report/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/app_account_superbar/static/description/account1.jpg b/app_account_superbar/static/description/account1.jpg new file mode 100644 index 00000000..28307428 Binary files /dev/null and b/app_account_superbar/static/description/account1.jpg differ diff --git a/app_account_superbar/static/description/banner.png b/app_account_superbar/static/description/banner.png new file mode 100644 index 00000000..a6b12c98 Binary files /dev/null and b/app_account_superbar/static/description/banner.png differ diff --git a/app_account_superbar/static/description/base1.jpg b/app_account_superbar/static/description/base1.jpg new file mode 100644 index 00000000..ffda9f17 Binary files /dev/null and b/app_account_superbar/static/description/base1.jpg differ diff --git a/app_account_superbar/static/description/base2.jpg b/app_account_superbar/static/description/base2.jpg new file mode 100644 index 00000000..81a64eec Binary files /dev/null and b/app_account_superbar/static/description/base2.jpg differ diff --git a/app_account_superbar/static/description/base3.jpg b/app_account_superbar/static/description/base3.jpg new file mode 100644 index 00000000..4d5a5938 Binary files /dev/null and b/app_account_superbar/static/description/base3.jpg differ diff --git a/app_account_superbar/static/description/base4.jpg b/app_account_superbar/static/description/base4.jpg new file mode 100644 index 00000000..ed7155a0 Binary files /dev/null and b/app_account_superbar/static/description/base4.jpg differ diff --git a/app_account_superbar/static/description/base5.jpg b/app_account_superbar/static/description/base5.jpg new file mode 100644 index 00000000..d33631bd Binary files /dev/null and b/app_account_superbar/static/description/base5.jpg differ diff --git a/app_account_superbar/static/description/base6.jpg b/app_account_superbar/static/description/base6.jpg new file mode 100644 index 00000000..8fcb48f3 Binary files /dev/null and b/app_account_superbar/static/description/base6.jpg differ diff --git a/app_account_superbar/static/description/base7.jpg b/app_account_superbar/static/description/base7.jpg new file mode 100644 index 00000000..7c7d76f6 Binary files /dev/null and b/app_account_superbar/static/description/base7.jpg differ diff --git a/app_account_superbar/static/description/base8.jpg b/app_account_superbar/static/description/base8.jpg new file mode 100644 index 00000000..a002c442 Binary files /dev/null and b/app_account_superbar/static/description/base8.jpg differ diff --git a/app_account_superbar/static/description/base9.jpg b/app_account_superbar/static/description/base9.jpg new file mode 100644 index 00000000..cb98e140 Binary files /dev/null and b/app_account_superbar/static/description/base9.jpg differ diff --git a/app_account_superbar/static/description/contacts1.jpg b/app_account_superbar/static/description/contacts1.jpg new file mode 100644 index 00000000..4ac551a5 Binary files /dev/null and b/app_account_superbar/static/description/contacts1.jpg differ diff --git a/app_account_superbar/static/description/crm1.jpg b/app_account_superbar/static/description/crm1.jpg new file mode 100644 index 00000000..2d53c641 Binary files /dev/null and b/app_account_superbar/static/description/crm1.jpg differ diff --git a/app_account_superbar/static/description/demo2.jpg b/app_account_superbar/static/description/demo2.jpg new file mode 100644 index 00000000..c34083e0 Binary files /dev/null and b/app_account_superbar/static/description/demo2.jpg differ diff --git a/app_account_superbar/static/description/demo_module1.jpg b/app_account_superbar/static/description/demo_module1.jpg new file mode 100644 index 00000000..1fc270fc Binary files /dev/null and b/app_account_superbar/static/description/demo_module1.jpg differ diff --git a/app_account_superbar/static/description/demo_module2.jpg b/app_account_superbar/static/description/demo_module2.jpg new file mode 100644 index 00000000..f06f79fd Binary files /dev/null and b/app_account_superbar/static/description/demo_module2.jpg differ diff --git a/app_account_superbar/static/description/hr1.jpg b/app_account_superbar/static/description/hr1.jpg new file mode 100644 index 00000000..19913106 Binary files /dev/null and b/app_account_superbar/static/description/hr1.jpg differ diff --git a/app_account_superbar/static/description/hr2.gif b/app_account_superbar/static/description/hr2.gif new file mode 100644 index 00000000..6690e747 Binary files /dev/null and b/app_account_superbar/static/description/hr2.gif differ diff --git a/app_account_superbar/static/description/icon.png b/app_account_superbar/static/description/icon.png new file mode 100644 index 00000000..23ac0bd7 Binary files /dev/null and b/app_account_superbar/static/description/icon.png differ diff --git a/app_account_superbar/static/description/index.html b/app_account_superbar/static/description/index.html new file mode 100644 index 00000000..20b9e6e4 --- /dev/null +++ b/app_account_superbar/static/description/index.html @@ -0,0 +1,294 @@ +
+
+

Account App Super Sidebar for Advance Search with Parent Children Tree

+

!This moduld Do Need extra paid Apps + + Click to download. +

+

Advance Search, Filter with Parent Children Tree.

+

Easy to navigator and browse any data. Support list, kanban, pivot, graph view.

+

Online demo user/password: demo/demo + + Click to get demo. +

+
+
+
+
+
+ +
+
+
+ Key features: + +
+
+
+
+ +
+
+

 

+

So Easy to navigator and search any data.

+

Product by category or type in kanban view

+
+ +
+
+
+
+
+

Free to Use in product category.

+
+ +
+
+
+ +
+
+

Free to Use in POS point of sale.

+
+ +
+

POS product and order.

+
+ +
+

POS report.

+
+ +
+
+
+
+
+

Use in Account.

+
+ +
+
+
+ +
+
+

Use in Sale.

+
+ +
+
+
+ +
+
+

Use in purchase.

+
+ +
+
+
+ +
+
+

Use in contacts.

+
+ +
+
+
+ +
+
+

 

+

How to use! This app do need extra module. The price already included

+
+

1. Buy and Install zTree widget. + + Click to download. + +

+
+
+

2. Buy and Install app_web_superbar. Important! Reboot odoo after installed. +

+
+
+

3. Easy use of superbar

+
+

Show superbar in list view.

+
+
+
+ +
+
+
+

Show superbar in kanban view.

+
+
+
+ +
+
+
+

Show superbar in pivot view.

+
+
+
+ +
+
+
+

Show superbar in graph view.

+
+
+
+ +
+
+
+

Click switch to show or hide superbar.

+
+
+
+ +
+
+
+

Click checkbox to set whether to show child nodes data.

+
+
+
+ +
+
+
+

Press Ctrl(Windows) / Cmd(Mac) to Select Multi Nodes

+
+
+
+ +
+
+
+

Set multi field to search or filter

+
+
+
+ +
+
+
+

Set super bar position, left or right.

+
+
+
+ +
+
+
+
+

4. If you want to customize, Use follow param to setup widget(Extra pay for support):

+
+
+ +
+
    +
  • In search view xml, Write the <superbar> tag,
  • +
  • position: [left, right]
  • +
  • view_mode: [kanban,tree, pivot, graph view.]
  • +
  • parent_key: key field name of parent child relation. leave blank would auto set.
  • +
  • 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 name to order by
  • +
  • domain: set the domain for data, eg: [[('is_company', '=', 1)]]
  • +
+
+
+
+
+ +
+
+
+

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.

+ + https://www.sunpop.cn +
+
+
+
+ diff --git a/app_account_superbar/static/description/mrp1.gif b/app_account_superbar/static/description/mrp1.gif new file mode 100644 index 00000000..f19e76cb Binary files /dev/null and b/app_account_superbar/static/description/mrp1.gif differ diff --git a/app_account_superbar/static/description/mrp1.jpg b/app_account_superbar/static/description/mrp1.jpg new file mode 100644 index 00000000..f2fce20d Binary files /dev/null and b/app_account_superbar/static/description/mrp1.jpg differ diff --git a/app_account_superbar/static/description/pos1.jpg b/app_account_superbar/static/description/pos1.jpg new file mode 100644 index 00000000..32aaf5f4 Binary files /dev/null and b/app_account_superbar/static/description/pos1.jpg differ diff --git a/app_account_superbar/static/description/pos2.jpg b/app_account_superbar/static/description/pos2.jpg new file mode 100644 index 00000000..19471a7e Binary files /dev/null and b/app_account_superbar/static/description/pos2.jpg differ diff --git a/app_account_superbar/static/description/pos3.jpg b/app_account_superbar/static/description/pos3.jpg new file mode 100644 index 00000000..8e63e208 Binary files /dev/null and b/app_account_superbar/static/description/pos3.jpg differ diff --git a/app_account_superbar/static/description/product1.jpg b/app_account_superbar/static/description/product1.jpg new file mode 100644 index 00000000..efa649a3 Binary files /dev/null and b/app_account_superbar/static/description/product1.jpg differ diff --git a/app_account_superbar/static/description/purchase1.jpg b/app_account_superbar/static/description/purchase1.jpg new file mode 100644 index 00000000..65a5d63a Binary files /dev/null and b/app_account_superbar/static/description/purchase1.jpg differ diff --git a/app_account_superbar/static/description/sale1.jpg b/app_account_superbar/static/description/sale1.jpg new file mode 100644 index 00000000..92555d06 Binary files /dev/null and b/app_account_superbar/static/description/sale1.jpg differ diff --git a/app_account_superbar/static/description/searchmore.jpg b/app_account_superbar/static/description/searchmore.jpg new file mode 100644 index 00000000..d37c652d Binary files /dev/null and b/app_account_superbar/static/description/searchmore.jpg differ diff --git a/app_account_superbar/static/description/stock1.jpg b/app_account_superbar/static/description/stock1.jpg new file mode 100644 index 00000000..0aeb92ff Binary files /dev/null and b/app_account_superbar/static/description/stock1.jpg differ diff --git a/app_account_superbar/static/description/superbar.gif b/app_account_superbar/static/description/superbar.gif new file mode 100644 index 00000000..6e7318a5 Binary files /dev/null and b/app_account_superbar/static/description/superbar.gif differ diff --git a/app_account_superbar/static/description/superbar_use.gif b/app_account_superbar/static/description/superbar_use.gif new file mode 100644 index 00000000..2ec5abde Binary files /dev/null and b/app_account_superbar/static/description/superbar_use.gif differ diff --git a/app_account_superbar/static/description/superbar_use.png b/app_account_superbar/static/description/superbar_use.png new file mode 100644 index 00000000..d5ffc980 Binary files /dev/null and b/app_account_superbar/static/description/superbar_use.png differ diff --git a/app_account_superbar/static/description/use.jpg b/app_account_superbar/static/description/use.jpg new file mode 100644 index 00000000..5b0e661b Binary files /dev/null and b/app_account_superbar/static/description/use.jpg differ diff --git a/app_account_superbar/static/description/use1.jpg b/app_account_superbar/static/description/use1.jpg new file mode 100644 index 00000000..d9c726da Binary files /dev/null and b/app_account_superbar/static/description/use1.jpg differ diff --git a/app_account_superbar/static/description/use2.jpg b/app_account_superbar/static/description/use2.jpg new file mode 100644 index 00000000..4d46d705 Binary files /dev/null and b/app_account_superbar/static/description/use2.jpg differ diff --git a/app_account_superbar/static/description/use3.jpg b/app_account_superbar/static/description/use3.jpg new file mode 100644 index 00000000..fe8b7ef7 Binary files /dev/null and b/app_account_superbar/static/description/use3.jpg differ diff --git a/app_account_superbar/static/description/use4.jpg b/app_account_superbar/static/description/use4.jpg new file mode 100644 index 00000000..606a5ce6 Binary files /dev/null and b/app_account_superbar/static/description/use4.jpg differ diff --git a/app_account_superbar/static/description/use5.jpg b/app_account_superbar/static/description/use5.jpg new file mode 100644 index 00000000..493769c2 Binary files /dev/null and b/app_account_superbar/static/description/use5.jpg differ diff --git a/app_account_superbar/static/description/use6.jpg b/app_account_superbar/static/description/use6.jpg new file mode 100644 index 00000000..da80eb13 Binary files /dev/null and b/app_account_superbar/static/description/use6.jpg differ diff --git a/app_account_superbar/static/description/use7.jpg b/app_account_superbar/static/description/use7.jpg new file mode 100644 index 00000000..e43b1b21 Binary files /dev/null and b/app_account_superbar/static/description/use7.jpg differ diff --git a/app_account_superbar/static/description/use8.jpg b/app_account_superbar/static/description/use8.jpg new file mode 100644 index 00000000..732cc71a Binary files /dev/null and b/app_account_superbar/static/description/use8.jpg differ diff --git a/app_account_superbar/static/description/use9.jpg b/app_account_superbar/static/description/use9.jpg new file mode 100644 index 00000000..9d7175bc Binary files /dev/null and b/app_account_superbar/static/description/use9.jpg differ diff --git a/app_account_superbar/static/description/usea.jpg b/app_account_superbar/static/description/usea.jpg new file mode 100644 index 00000000..b6279faa Binary files /dev/null and b/app_account_superbar/static/description/usea.jpg differ diff --git a/app_account_superbar/static/description/z_hr1.gif b/app_account_superbar/static/description/z_hr1.gif new file mode 100644 index 00000000..6d232374 Binary files /dev/null and b/app_account_superbar/static/description/z_hr1.gif differ diff --git a/app_account_superbar/static/description/z_product1.gif b/app_account_superbar/static/description/z_product1.gif new file mode 100644 index 00000000..e471a66c Binary files /dev/null and b/app_account_superbar/static/description/z_product1.gif differ diff --git a/app_account_superbar/static/description/z_stock1.gif b/app_account_superbar/static/description/z_stock1.gif new file mode 100644 index 00000000..14e9c101 Binary files /dev/null and b/app_account_superbar/static/description/z_stock1.gif differ diff --git a/app_account_superbar/views/account_views.xml b/app_account_superbar/views/account_views.xml new file mode 100644 index 00000000..2d4da279 --- /dev/null +++ b/app_account_superbar/views/account_views.xml @@ -0,0 +1,66 @@ + + + + + account.account.search.superbar + account.account + + + + + + + + + + + + + + + account.invoice.select.superbar + account.move + + + + + + + + + + + + + + account.move.select.superbar + account.move + + + + + + + + + + + + + + Journal Items superbar + account.move.line + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app_account_ztree/__init__.py b/app_account_ztree/__init__.py new file mode 100644 index 00000000..86764a0e --- /dev/null +++ b/app_account_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_account_ztree/__manifest__.py b/app_account_ztree/__manifest__.py new file mode 100644 index 00000000..ac0422b9 --- /dev/null +++ b/app_account_ztree/__manifest__.py @@ -0,0 +1,61 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-08-15 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +{ + 'name': "App Account Multi Level Chart, parent children tree", + 'version': '12.19.09.27', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'https://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'summary': """ + Use for parent children tree list select navigator. Multi Level Account Chart tree. + ztree widget. + """, + 'description': """ + zTree widget. + Advance search with real parent children tree, ListView or KanbanView , + eg: Account Chart tree, Product category tree,Department tree, stock location tree. + 超级方便的查询,树状视图。 + """, + 'price': 0.00, + 'currency': 'EUR', + 'depends': [ + 'account', + ], + 'images': ['static/description/banner.gif'], + 'data': [ + 'views/account_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_account_ztree/hooks.py b/app_account_ztree/hooks.py new file mode 100644 index 00000000..f7bbfac4 --- /dev/null +++ b/app_account_ztree/hooks.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-10-12 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +def post_init_hook(cr, pool): + pass + # cr.execute("") diff --git a/app_account_ztree/i18n/zh_CN.po b/app_account_ztree/i18n/zh_CN.po new file mode 100644 index 00000000..f1e36e3e --- /dev/null +++ b/app_account_ztree/i18n/zh_CN.po @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# +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_account_ztree/models/__init__.py b/app_account_ztree/models/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/app_account_ztree/models/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/app_account_ztree/report/__init__.py b/app_account_ztree/report/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/app_account_ztree/report/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/app_account_ztree/static/description/banner.gif b/app_account_ztree/static/description/banner.gif new file mode 100644 index 00000000..e69de29b diff --git a/app_account_ztree/static/description/demo1.jpg b/app_account_ztree/static/description/demo1.jpg new file mode 100644 index 00000000..fd538628 Binary files /dev/null and b/app_account_ztree/static/description/demo1.jpg differ diff --git a/app_account_ztree/static/description/demo11.jpg b/app_account_ztree/static/description/demo11.jpg new file mode 100644 index 00000000..72ad356b Binary files /dev/null and b/app_account_ztree/static/description/demo11.jpg differ diff --git a/app_account_ztree/static/description/demo12.jpg b/app_account_ztree/static/description/demo12.jpg new file mode 100644 index 00000000..ecc58186 Binary files /dev/null and b/app_account_ztree/static/description/demo12.jpg differ diff --git a/app_account_ztree/static/description/demo2.jpg b/app_account_ztree/static/description/demo2.jpg new file mode 100644 index 00000000..b856e71d Binary files /dev/null and b/app_account_ztree/static/description/demo2.jpg differ diff --git a/app_account_ztree/static/description/demo3.jpg b/app_account_ztree/static/description/demo3.jpg new file mode 100644 index 00000000..e82b0990 Binary files /dev/null and b/app_account_ztree/static/description/demo3.jpg differ diff --git a/app_account_ztree/static/description/demo4.jpg b/app_account_ztree/static/description/demo4.jpg new file mode 100644 index 00000000..4a4abce1 Binary files /dev/null and b/app_account_ztree/static/description/demo4.jpg differ diff --git a/app_account_ztree/static/description/demo5.jpg b/app_account_ztree/static/description/demo5.jpg new file mode 100644 index 00000000..849b7841 Binary files /dev/null and b/app_account_ztree/static/description/demo5.jpg differ diff --git a/app_account_ztree/static/description/icon.png b/app_account_ztree/static/description/icon.png new file mode 100644 index 00000000..57e223d0 Binary files /dev/null and b/app_account_ztree/static/description/icon.png differ diff --git a/app_account_ztree/static/description/index.html b/app_account_ztree/static/description/index.html new file mode 100644 index 00000000..e88bceaf --- /dev/null +++ b/app_account_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. +
  • +
  • + + Free to Use in product category. +
  • +
  • + + Free to Use in stock location. +
  • +
  • + + Free to 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.

+
+ +
+
+
+ +
+
+

Free to Use in product category.

+
+ +
+
+
+ +
+
+

Free to 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.

+ + https://www.sunpop.cn +
+
+
+
+ diff --git a/app_account_ztree/static/description/setup1.jpg b/app_account_ztree/static/description/setup1.jpg new file mode 100644 index 00000000..d5ade2b1 Binary files /dev/null and b/app_account_ztree/static/description/setup1.jpg differ diff --git a/app_account_ztree/static/img/icon_sunpop.png b/app_account_ztree/static/img/icon_sunpop.png new file mode 100644 index 00000000..aa490954 Binary files /dev/null and b/app_account_ztree/static/img/icon_sunpop.png differ diff --git a/app_account_ztree/static/img/logo_sunpop.png b/app_account_ztree/static/img/logo_sunpop.png new file mode 100644 index 00000000..90cbe0e2 Binary files /dev/null and b/app_account_ztree/static/img/logo_sunpop.png differ diff --git a/app_account_ztree/views/account_views.xml b/app_account_ztree/views/account_views.xml new file mode 100644 index 00000000..663cef75 --- /dev/null +++ b/app_account_ztree/views/account_views.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app_contacts_superbar/__init__.py b/app_contacts_superbar/__init__.py new file mode 100644 index 00000000..86764a0e --- /dev/null +++ b/app_contacts_superbar/__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_contacts_superbar/__manifest__.py b/app_contacts_superbar/__manifest__.py new file mode 100644 index 00000000..541b79fd --- /dev/null +++ b/app_contacts_superbar/__manifest__.py @@ -0,0 +1,61 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-08-15 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +{ + 'name': "App contacts by category company superbar", + 'version': '12.19.09.27', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'https://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'summary': """ + Browse contacts by company. Use for parent children tree list kanban navigator. + ztree widget.Hierarchy Tree.Parent Children relation tree.. + """, + 'description': """ + Superbar, zTree widget. + Advance search with real parent children tree, ListView or KanbanView. parent tree, children tree, + eg: Product category tree ,Department tree, stock location tree. + 超级方便的查询,树状视图。 + """, + 'price': 0.00, + 'currency': 'EUR', + 'depends': [ + 'contacts', + ], + 'images': ['static/description/banner.png'], + 'data': [ + 'views/res_partner_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_contacts_superbar/hooks.py b/app_contacts_superbar/hooks.py new file mode 100644 index 00000000..f7bbfac4 --- /dev/null +++ b/app_contacts_superbar/hooks.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-10-12 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +def post_init_hook(cr, pool): + pass + # cr.execute("") diff --git a/app_contacts_superbar/i18n/zh_CN.po b/app_contacts_superbar/i18n/zh_CN.po new file mode 100644 index 00000000..f1e36e3e --- /dev/null +++ b/app_contacts_superbar/i18n/zh_CN.po @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# +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_contacts_superbar/models/__init__.py b/app_contacts_superbar/models/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/app_contacts_superbar/models/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/app_contacts_superbar/report/__init__.py b/app_contacts_superbar/report/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/app_contacts_superbar/report/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/app_contacts_superbar/static/description/account1.jpg b/app_contacts_superbar/static/description/account1.jpg new file mode 100644 index 00000000..28307428 Binary files /dev/null and b/app_contacts_superbar/static/description/account1.jpg differ diff --git a/app_contacts_superbar/static/description/banner.png b/app_contacts_superbar/static/description/banner.png new file mode 100644 index 00000000..a6b12c98 Binary files /dev/null and b/app_contacts_superbar/static/description/banner.png differ diff --git a/app_contacts_superbar/static/description/base1.jpg b/app_contacts_superbar/static/description/base1.jpg new file mode 100644 index 00000000..ffda9f17 Binary files /dev/null and b/app_contacts_superbar/static/description/base1.jpg differ diff --git a/app_contacts_superbar/static/description/base2.jpg b/app_contacts_superbar/static/description/base2.jpg new file mode 100644 index 00000000..81a64eec Binary files /dev/null and b/app_contacts_superbar/static/description/base2.jpg differ diff --git a/app_contacts_superbar/static/description/base3.jpg b/app_contacts_superbar/static/description/base3.jpg new file mode 100644 index 00000000..4d5a5938 Binary files /dev/null and b/app_contacts_superbar/static/description/base3.jpg differ diff --git a/app_contacts_superbar/static/description/base4.jpg b/app_contacts_superbar/static/description/base4.jpg new file mode 100644 index 00000000..ed7155a0 Binary files /dev/null and b/app_contacts_superbar/static/description/base4.jpg differ diff --git a/app_contacts_superbar/static/description/base5.jpg b/app_contacts_superbar/static/description/base5.jpg new file mode 100644 index 00000000..d33631bd Binary files /dev/null and b/app_contacts_superbar/static/description/base5.jpg differ diff --git a/app_contacts_superbar/static/description/base6.jpg b/app_contacts_superbar/static/description/base6.jpg new file mode 100644 index 00000000..8fcb48f3 Binary files /dev/null and b/app_contacts_superbar/static/description/base6.jpg differ diff --git a/app_contacts_superbar/static/description/base7.jpg b/app_contacts_superbar/static/description/base7.jpg new file mode 100644 index 00000000..7c7d76f6 Binary files /dev/null and b/app_contacts_superbar/static/description/base7.jpg differ diff --git a/app_contacts_superbar/static/description/base8.jpg b/app_contacts_superbar/static/description/base8.jpg new file mode 100644 index 00000000..a002c442 Binary files /dev/null and b/app_contacts_superbar/static/description/base8.jpg differ diff --git a/app_contacts_superbar/static/description/base9.jpg b/app_contacts_superbar/static/description/base9.jpg new file mode 100644 index 00000000..cb98e140 Binary files /dev/null and b/app_contacts_superbar/static/description/base9.jpg differ diff --git a/app_contacts_superbar/static/description/contacts1.jpg b/app_contacts_superbar/static/description/contacts1.jpg new file mode 100644 index 00000000..4ac551a5 Binary files /dev/null and b/app_contacts_superbar/static/description/contacts1.jpg differ diff --git a/app_contacts_superbar/static/description/crm1.jpg b/app_contacts_superbar/static/description/crm1.jpg new file mode 100644 index 00000000..2d53c641 Binary files /dev/null and b/app_contacts_superbar/static/description/crm1.jpg differ diff --git a/app_contacts_superbar/static/description/demo2.jpg b/app_contacts_superbar/static/description/demo2.jpg new file mode 100644 index 00000000..c34083e0 Binary files /dev/null and b/app_contacts_superbar/static/description/demo2.jpg differ diff --git a/app_contacts_superbar/static/description/demo_module1.jpg b/app_contacts_superbar/static/description/demo_module1.jpg new file mode 100644 index 00000000..1fc270fc Binary files /dev/null and b/app_contacts_superbar/static/description/demo_module1.jpg differ diff --git a/app_contacts_superbar/static/description/demo_module2.jpg b/app_contacts_superbar/static/description/demo_module2.jpg new file mode 100644 index 00000000..f06f79fd Binary files /dev/null and b/app_contacts_superbar/static/description/demo_module2.jpg differ diff --git a/app_contacts_superbar/static/description/hr1.jpg b/app_contacts_superbar/static/description/hr1.jpg new file mode 100644 index 00000000..19913106 Binary files /dev/null and b/app_contacts_superbar/static/description/hr1.jpg differ diff --git a/app_contacts_superbar/static/description/hr2.gif b/app_contacts_superbar/static/description/hr2.gif new file mode 100644 index 00000000..6690e747 Binary files /dev/null and b/app_contacts_superbar/static/description/hr2.gif differ diff --git a/app_contacts_superbar/static/description/icon.png b/app_contacts_superbar/static/description/icon.png new file mode 100644 index 00000000..23ac0bd7 Binary files /dev/null and b/app_contacts_superbar/static/description/icon.png differ diff --git a/app_contacts_superbar/static/description/index.html b/app_contacts_superbar/static/description/index.html new file mode 100644 index 00000000..632d4df3 --- /dev/null +++ b/app_contacts_superbar/static/description/index.html @@ -0,0 +1,294 @@ +
+
+

Contact App Super Sidebar for Advance Search with Parent Children Tree

+

!This moduld Do Need extra paid Apps + + Click to download. +

+

Advance Search, Filter with Parent Children Tree.

+

Easy to navigator and browse any data. Support list, kanban, pivot, graph view.

+

Online demo user/password: demo/demo + + Click to get demo. +

+
+
+
+
+
+ +
+
+
+ Key features: + +
+
+
+
+ +
+
+

 

+

So Easy to navigator and search any data.

+

Product by category or type in kanban view

+
+ +
+
+
+
+
+

Free to Use in product category.

+
+ +
+
+
+ +
+
+

Free to Use in POS point of sale.

+
+ +
+

POS product and order.

+
+ +
+

POS report.

+
+ +
+
+
+
+
+

Use in Account.

+
+ +
+
+
+ +
+
+

Use in Sale.

+
+ +
+
+
+ +
+
+

Use in purchase.

+
+ +
+
+
+ +
+
+

Use in contacts.

+
+ +
+
+
+ +
+
+

 

+

How to use! This app do need extra module. The price already included

+
+

1. Buy and Install zTree widget. + + Click to download. + +

+
+
+

2. Buy and Install app_web_superbar. Important! Reboot odoo after installed. +

+
+
+

3. Easy use of superbar

+
+

Show superbar in list view.

+
+
+
+ +
+
+
+

Show superbar in kanban view.

+
+
+
+ +
+
+
+

Show superbar in pivot view.

+
+
+
+ +
+
+
+

Show superbar in graph view.

+
+
+
+ +
+
+
+

Click switch to show or hide superbar.

+
+
+
+ +
+
+
+

Click checkbox to set whether to show child nodes data.

+
+
+
+ +
+
+
+

Press Ctrl(Windows) / Cmd(Mac) to Select Multi Nodes

+
+
+
+ +
+
+
+

Set multi field to search or filter

+
+
+
+ +
+
+
+

Set super bar position, left or right.

+
+
+
+ +
+
+
+
+

4. If you want to customize, Use follow param to setup widget(Extra pay for support):

+
+
+ +
+
    +
  • In search view xml, Write the <superbar> tag,
  • +
  • position: [left, right]
  • +
  • view_mode: [kanban,tree, pivot, graph view.]
  • +
  • parent_key: key field name of parent child relation. leave blank would auto set.
  • +
  • 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 name to order by
  • +
  • domain: set the domain for data, eg: [[('is_company', '=', 1)]]
  • +
+
+
+
+
+ +
+
+
+

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.

+ + https://www.sunpop.cn +
+
+
+
+ diff --git a/app_contacts_superbar/static/description/mrp1.gif b/app_contacts_superbar/static/description/mrp1.gif new file mode 100644 index 00000000..f19e76cb Binary files /dev/null and b/app_contacts_superbar/static/description/mrp1.gif differ diff --git a/app_contacts_superbar/static/description/mrp1.jpg b/app_contacts_superbar/static/description/mrp1.jpg new file mode 100644 index 00000000..f2fce20d Binary files /dev/null and b/app_contacts_superbar/static/description/mrp1.jpg differ diff --git a/app_contacts_superbar/static/description/pos1.jpg b/app_contacts_superbar/static/description/pos1.jpg new file mode 100644 index 00000000..32aaf5f4 Binary files /dev/null and b/app_contacts_superbar/static/description/pos1.jpg differ diff --git a/app_contacts_superbar/static/description/pos2.jpg b/app_contacts_superbar/static/description/pos2.jpg new file mode 100644 index 00000000..19471a7e Binary files /dev/null and b/app_contacts_superbar/static/description/pos2.jpg differ diff --git a/app_contacts_superbar/static/description/pos3.jpg b/app_contacts_superbar/static/description/pos3.jpg new file mode 100644 index 00000000..8e63e208 Binary files /dev/null and b/app_contacts_superbar/static/description/pos3.jpg differ diff --git a/app_contacts_superbar/static/description/product1.jpg b/app_contacts_superbar/static/description/product1.jpg new file mode 100644 index 00000000..efa649a3 Binary files /dev/null and b/app_contacts_superbar/static/description/product1.jpg differ diff --git a/app_contacts_superbar/static/description/purchase1.jpg b/app_contacts_superbar/static/description/purchase1.jpg new file mode 100644 index 00000000..65a5d63a Binary files /dev/null and b/app_contacts_superbar/static/description/purchase1.jpg differ diff --git a/app_contacts_superbar/static/description/sale1.jpg b/app_contacts_superbar/static/description/sale1.jpg new file mode 100644 index 00000000..92555d06 Binary files /dev/null and b/app_contacts_superbar/static/description/sale1.jpg differ diff --git a/app_contacts_superbar/static/description/searchmore.jpg b/app_contacts_superbar/static/description/searchmore.jpg new file mode 100644 index 00000000..d37c652d Binary files /dev/null and b/app_contacts_superbar/static/description/searchmore.jpg differ diff --git a/app_contacts_superbar/static/description/stock1.jpg b/app_contacts_superbar/static/description/stock1.jpg new file mode 100644 index 00000000..0aeb92ff Binary files /dev/null and b/app_contacts_superbar/static/description/stock1.jpg differ diff --git a/app_contacts_superbar/static/description/superbar.gif b/app_contacts_superbar/static/description/superbar.gif new file mode 100644 index 00000000..6e7318a5 Binary files /dev/null and b/app_contacts_superbar/static/description/superbar.gif differ diff --git a/app_contacts_superbar/static/description/superbar_use.gif b/app_contacts_superbar/static/description/superbar_use.gif new file mode 100644 index 00000000..2ec5abde Binary files /dev/null and b/app_contacts_superbar/static/description/superbar_use.gif differ diff --git a/app_contacts_superbar/static/description/superbar_use.png b/app_contacts_superbar/static/description/superbar_use.png new file mode 100644 index 00000000..d5ffc980 Binary files /dev/null and b/app_contacts_superbar/static/description/superbar_use.png differ diff --git a/app_contacts_superbar/static/description/use.jpg b/app_contacts_superbar/static/description/use.jpg new file mode 100644 index 00000000..5b0e661b Binary files /dev/null and b/app_contacts_superbar/static/description/use.jpg differ diff --git a/app_contacts_superbar/static/description/use1.jpg b/app_contacts_superbar/static/description/use1.jpg new file mode 100644 index 00000000..d9c726da Binary files /dev/null and b/app_contacts_superbar/static/description/use1.jpg differ diff --git a/app_contacts_superbar/static/description/use2.jpg b/app_contacts_superbar/static/description/use2.jpg new file mode 100644 index 00000000..4d46d705 Binary files /dev/null and b/app_contacts_superbar/static/description/use2.jpg differ diff --git a/app_contacts_superbar/static/description/use3.jpg b/app_contacts_superbar/static/description/use3.jpg new file mode 100644 index 00000000..fe8b7ef7 Binary files /dev/null and b/app_contacts_superbar/static/description/use3.jpg differ diff --git a/app_contacts_superbar/static/description/use4.jpg b/app_contacts_superbar/static/description/use4.jpg new file mode 100644 index 00000000..606a5ce6 Binary files /dev/null and b/app_contacts_superbar/static/description/use4.jpg differ diff --git a/app_contacts_superbar/static/description/use5.jpg b/app_contacts_superbar/static/description/use5.jpg new file mode 100644 index 00000000..493769c2 Binary files /dev/null and b/app_contacts_superbar/static/description/use5.jpg differ diff --git a/app_contacts_superbar/static/description/use6.jpg b/app_contacts_superbar/static/description/use6.jpg new file mode 100644 index 00000000..da80eb13 Binary files /dev/null and b/app_contacts_superbar/static/description/use6.jpg differ diff --git a/app_contacts_superbar/static/description/use7.jpg b/app_contacts_superbar/static/description/use7.jpg new file mode 100644 index 00000000..e43b1b21 Binary files /dev/null and b/app_contacts_superbar/static/description/use7.jpg differ diff --git a/app_contacts_superbar/static/description/use8.jpg b/app_contacts_superbar/static/description/use8.jpg new file mode 100644 index 00000000..732cc71a Binary files /dev/null and b/app_contacts_superbar/static/description/use8.jpg differ diff --git a/app_contacts_superbar/static/description/use9.jpg b/app_contacts_superbar/static/description/use9.jpg new file mode 100644 index 00000000..9d7175bc Binary files /dev/null and b/app_contacts_superbar/static/description/use9.jpg differ diff --git a/app_contacts_superbar/static/description/usea.jpg b/app_contacts_superbar/static/description/usea.jpg new file mode 100644 index 00000000..b6279faa Binary files /dev/null and b/app_contacts_superbar/static/description/usea.jpg differ diff --git a/app_contacts_superbar/static/description/z_hr1.gif b/app_contacts_superbar/static/description/z_hr1.gif new file mode 100644 index 00000000..6d232374 Binary files /dev/null and b/app_contacts_superbar/static/description/z_hr1.gif differ diff --git a/app_contacts_superbar/static/description/z_product1.gif b/app_contacts_superbar/static/description/z_product1.gif new file mode 100644 index 00000000..e471a66c Binary files /dev/null and b/app_contacts_superbar/static/description/z_product1.gif differ diff --git a/app_contacts_superbar/static/description/z_stock1.gif b/app_contacts_superbar/static/description/z_stock1.gif new file mode 100644 index 00000000..14e9c101 Binary files /dev/null and b/app_contacts_superbar/static/description/z_stock1.gif differ diff --git a/app_contacts_superbar/views/res_partner_views.xml b/app_contacts_superbar/views/res_partner_views.xml new file mode 100644 index 00000000..75c68e0c --- /dev/null +++ b/app_contacts_superbar/views/res_partner_views.xml @@ -0,0 +1,27 @@ + + + + + res.partner.select.superbar + res.partner + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app_crm_superbar/__init__.py b/app_crm_superbar/__init__.py new file mode 100644 index 00000000..86764a0e --- /dev/null +++ b/app_crm_superbar/__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_crm_superbar/__manifest__.py b/app_crm_superbar/__manifest__.py new file mode 100644 index 00000000..8470ff94 --- /dev/null +++ b/app_crm_superbar/__manifest__.py @@ -0,0 +1,62 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-08-15 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +{ + 'name': "App crm browse by stage and team", + 'version': '12.19.09.27', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'https://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 10, + 'summary': """ + Browse crm lead by stage and team. Use for parent children tree list kanban navigator. + ztree widget.Hierarchy Tree.Parent Children relation tree.. + """, + 'description': """ + Superbar, zTree widget. + Advance search with real parent children tree, ListView or KanbanView. parent tree, children tree, + eg: Product category tree ,Department tree, stock location tree. + 超级方便的查询,树状视图。 + """, + 'price': 0.00, + 'currency': 'EUR', + 'depends': [ + 'crm', + 'utm', + ], + 'images': ['static/description/crm1.jpg'], + 'data': [ + 'views/crm_lead_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_crm_superbar/hooks.py b/app_crm_superbar/hooks.py new file mode 100644 index 00000000..7edef364 --- /dev/null +++ b/app_crm_superbar/hooks.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-10-12 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +def post_init_hook(cr, pool): + pass + # cr.execute("") diff --git a/app_crm_superbar/i18n/zh_CN.po b/app_crm_superbar/i18n/zh_CN.po new file mode 100644 index 00000000..f1e36e3e --- /dev/null +++ b/app_crm_superbar/i18n/zh_CN.po @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# +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_crm_superbar/models/__init__.py b/app_crm_superbar/models/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/app_crm_superbar/models/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/app_crm_superbar/report/__init__.py b/app_crm_superbar/report/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/app_crm_superbar/report/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/app_crm_superbar/static/description/account1.jpg b/app_crm_superbar/static/description/account1.jpg new file mode 100644 index 00000000..28307428 Binary files /dev/null and b/app_crm_superbar/static/description/account1.jpg differ diff --git a/app_crm_superbar/static/description/banner.png b/app_crm_superbar/static/description/banner.png new file mode 100644 index 00000000..a6b12c98 Binary files /dev/null and b/app_crm_superbar/static/description/banner.png differ diff --git a/app_crm_superbar/static/description/base1.jpg b/app_crm_superbar/static/description/base1.jpg new file mode 100644 index 00000000..ffda9f17 Binary files /dev/null and b/app_crm_superbar/static/description/base1.jpg differ diff --git a/app_crm_superbar/static/description/base2.jpg b/app_crm_superbar/static/description/base2.jpg new file mode 100644 index 00000000..81a64eec Binary files /dev/null and b/app_crm_superbar/static/description/base2.jpg differ diff --git a/app_crm_superbar/static/description/base3.jpg b/app_crm_superbar/static/description/base3.jpg new file mode 100644 index 00000000..4d5a5938 Binary files /dev/null and b/app_crm_superbar/static/description/base3.jpg differ diff --git a/app_crm_superbar/static/description/base4.jpg b/app_crm_superbar/static/description/base4.jpg new file mode 100644 index 00000000..ed7155a0 Binary files /dev/null and b/app_crm_superbar/static/description/base4.jpg differ diff --git a/app_crm_superbar/static/description/base5.jpg b/app_crm_superbar/static/description/base5.jpg new file mode 100644 index 00000000..d33631bd Binary files /dev/null and b/app_crm_superbar/static/description/base5.jpg differ diff --git a/app_crm_superbar/static/description/base6.jpg b/app_crm_superbar/static/description/base6.jpg new file mode 100644 index 00000000..8fcb48f3 Binary files /dev/null and b/app_crm_superbar/static/description/base6.jpg differ diff --git a/app_crm_superbar/static/description/base7.jpg b/app_crm_superbar/static/description/base7.jpg new file mode 100644 index 00000000..7c7d76f6 Binary files /dev/null and b/app_crm_superbar/static/description/base7.jpg differ diff --git a/app_crm_superbar/static/description/base8.jpg b/app_crm_superbar/static/description/base8.jpg new file mode 100644 index 00000000..a002c442 Binary files /dev/null and b/app_crm_superbar/static/description/base8.jpg differ diff --git a/app_crm_superbar/static/description/base9.jpg b/app_crm_superbar/static/description/base9.jpg new file mode 100644 index 00000000..cb98e140 Binary files /dev/null and b/app_crm_superbar/static/description/base9.jpg differ diff --git a/app_crm_superbar/static/description/contacts1.jpg b/app_crm_superbar/static/description/contacts1.jpg new file mode 100644 index 00000000..4ac551a5 Binary files /dev/null and b/app_crm_superbar/static/description/contacts1.jpg differ diff --git a/app_crm_superbar/static/description/crm1.jpg b/app_crm_superbar/static/description/crm1.jpg new file mode 100644 index 00000000..2d53c641 Binary files /dev/null and b/app_crm_superbar/static/description/crm1.jpg differ diff --git a/app_crm_superbar/static/description/demo2.jpg b/app_crm_superbar/static/description/demo2.jpg new file mode 100644 index 00000000..c34083e0 Binary files /dev/null and b/app_crm_superbar/static/description/demo2.jpg differ diff --git a/app_crm_superbar/static/description/demo_module1.jpg b/app_crm_superbar/static/description/demo_module1.jpg new file mode 100644 index 00000000..1fc270fc Binary files /dev/null and b/app_crm_superbar/static/description/demo_module1.jpg differ diff --git a/app_crm_superbar/static/description/demo_module2.jpg b/app_crm_superbar/static/description/demo_module2.jpg new file mode 100644 index 00000000..f06f79fd Binary files /dev/null and b/app_crm_superbar/static/description/demo_module2.jpg differ diff --git a/app_crm_superbar/static/description/hr1.jpg b/app_crm_superbar/static/description/hr1.jpg new file mode 100644 index 00000000..19913106 Binary files /dev/null and b/app_crm_superbar/static/description/hr1.jpg differ diff --git a/app_crm_superbar/static/description/hr2.gif b/app_crm_superbar/static/description/hr2.gif new file mode 100644 index 00000000..6690e747 Binary files /dev/null and b/app_crm_superbar/static/description/hr2.gif differ diff --git a/app_crm_superbar/static/description/icon.png b/app_crm_superbar/static/description/icon.png new file mode 100644 index 00000000..23ac0bd7 Binary files /dev/null and b/app_crm_superbar/static/description/icon.png differ diff --git a/app_crm_superbar/static/description/index.html b/app_crm_superbar/static/description/index.html new file mode 100644 index 00000000..26e405c2 --- /dev/null +++ b/app_crm_superbar/static/description/index.html @@ -0,0 +1,306 @@ +
+
+

CRM browse by stage and team, Super with Parent Children Tree

+

!This moduld Do Need extra paid Apps + + Click to download. +

+

Advance Search, Filter with Parent Children Tree.

+

Easy to navigator and browse any data. Support list, kanban, pivot, graph view.

+

Online demo user/password: demo/demo + + Click to get demo. +

+
+
+
+
+
+ +
+
+
+ Key features: + +
+
+
+
+ +
+
+

 

+

So Easy to navigator and search any data.

+

Product by category or type in kanban view

+
+ +
+
+
+ +
+
+

Free to Use in CRM browse by stage and team

+
+ +
+
+
+
+
+

Free to Use in product category.

+
+ +
+
+
+ +
+
+

Free to Use in POS point of sale.

+
+ +
+

POS product and order.

+
+ +
+

POS report.

+
+ +
+
+
+
+
+

Use in Account.

+
+ +
+
+
+ +
+
+

Use in Sale.

+
+ +
+
+
+ +
+
+

Use in purchase.

+
+ +
+
+
+ +
+
+

Use in contacts.

+
+ +
+
+
+ +
+
+

 

+

How to use! This app do need extra module. The price already included

+
+

1. Buy and Install zTree widget. + + Click to download. + +

+
+
+

2. Buy and Install app_web_superbar. Important! Reboot odoo after installed. +

+
+
+

3. Easy use of superbar

+
+

Show superbar in list view.

+
+
+
+ +
+
+
+

Show superbar in kanban view.

+
+
+
+ +
+
+
+

Show superbar in pivot view.

+
+
+
+ +
+
+
+

Show superbar in graph view.

+
+
+
+ +
+
+
+

Click switch to show or hide superbar.

+
+
+
+ +
+
+
+

Click checkbox to set whether to show child nodes data.

+
+
+
+ +
+
+
+

Press Ctrl(Windows) / Cmd(Mac) to Select Multi Nodes

+
+
+
+ +
+
+
+

Set multi field to search or filter

+
+
+
+ +
+
+
+

Set super bar position, left or right.

+
+
+
+ +
+
+
+
+

4. If you want to customize, Use follow param to setup widget(Extra pay for support):

+
+
+ +
+
    +
  • In search view xml, Write the <superbar> tag,
  • +
  • position: [left, right]
  • +
  • view_mode: [kanban,tree, pivot, graph view.]
  • +
  • parent_key: key field name of parent child relation. leave blank would auto set.
  • +
  • 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 name to order by
  • +
  • domain: set the domain for data, eg: [[('is_company', '=', 1)]]
  • +
+
+
+
+
+ +
+
+
+

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.

+ + https://www.sunpop.cn +
+
+
+
+ diff --git a/app_crm_superbar/static/description/mrp1.gif b/app_crm_superbar/static/description/mrp1.gif new file mode 100644 index 00000000..f19e76cb Binary files /dev/null and b/app_crm_superbar/static/description/mrp1.gif differ diff --git a/app_crm_superbar/static/description/mrp1.jpg b/app_crm_superbar/static/description/mrp1.jpg new file mode 100644 index 00000000..f2fce20d Binary files /dev/null and b/app_crm_superbar/static/description/mrp1.jpg differ diff --git a/app_crm_superbar/static/description/pos1.jpg b/app_crm_superbar/static/description/pos1.jpg new file mode 100644 index 00000000..32aaf5f4 Binary files /dev/null and b/app_crm_superbar/static/description/pos1.jpg differ diff --git a/app_crm_superbar/static/description/pos2.jpg b/app_crm_superbar/static/description/pos2.jpg new file mode 100644 index 00000000..19471a7e Binary files /dev/null and b/app_crm_superbar/static/description/pos2.jpg differ diff --git a/app_crm_superbar/static/description/pos3.jpg b/app_crm_superbar/static/description/pos3.jpg new file mode 100644 index 00000000..8e63e208 Binary files /dev/null and b/app_crm_superbar/static/description/pos3.jpg differ diff --git a/app_crm_superbar/static/description/product1.jpg b/app_crm_superbar/static/description/product1.jpg new file mode 100644 index 00000000..efa649a3 Binary files /dev/null and b/app_crm_superbar/static/description/product1.jpg differ diff --git a/app_crm_superbar/static/description/purchase1.jpg b/app_crm_superbar/static/description/purchase1.jpg new file mode 100644 index 00000000..65a5d63a Binary files /dev/null and b/app_crm_superbar/static/description/purchase1.jpg differ diff --git a/app_crm_superbar/static/description/sale1.jpg b/app_crm_superbar/static/description/sale1.jpg new file mode 100644 index 00000000..92555d06 Binary files /dev/null and b/app_crm_superbar/static/description/sale1.jpg differ diff --git a/app_crm_superbar/static/description/searchmore.jpg b/app_crm_superbar/static/description/searchmore.jpg new file mode 100644 index 00000000..d37c652d Binary files /dev/null and b/app_crm_superbar/static/description/searchmore.jpg differ diff --git a/app_crm_superbar/static/description/stock1.jpg b/app_crm_superbar/static/description/stock1.jpg new file mode 100644 index 00000000..0aeb92ff Binary files /dev/null and b/app_crm_superbar/static/description/stock1.jpg differ diff --git a/app_crm_superbar/static/description/superbar.gif b/app_crm_superbar/static/description/superbar.gif new file mode 100644 index 00000000..6e7318a5 Binary files /dev/null and b/app_crm_superbar/static/description/superbar.gif differ diff --git a/app_crm_superbar/static/description/superbar_use.gif b/app_crm_superbar/static/description/superbar_use.gif new file mode 100644 index 00000000..2ec5abde Binary files /dev/null and b/app_crm_superbar/static/description/superbar_use.gif differ diff --git a/app_crm_superbar/static/description/superbar_use.png b/app_crm_superbar/static/description/superbar_use.png new file mode 100644 index 00000000..d5ffc980 Binary files /dev/null and b/app_crm_superbar/static/description/superbar_use.png differ diff --git a/app_crm_superbar/static/description/use.jpg b/app_crm_superbar/static/description/use.jpg new file mode 100644 index 00000000..5b0e661b Binary files /dev/null and b/app_crm_superbar/static/description/use.jpg differ diff --git a/app_crm_superbar/static/description/use1.jpg b/app_crm_superbar/static/description/use1.jpg new file mode 100644 index 00000000..d9c726da Binary files /dev/null and b/app_crm_superbar/static/description/use1.jpg differ diff --git a/app_crm_superbar/static/description/use2.jpg b/app_crm_superbar/static/description/use2.jpg new file mode 100644 index 00000000..4d46d705 Binary files /dev/null and b/app_crm_superbar/static/description/use2.jpg differ diff --git a/app_crm_superbar/static/description/use3.jpg b/app_crm_superbar/static/description/use3.jpg new file mode 100644 index 00000000..fe8b7ef7 Binary files /dev/null and b/app_crm_superbar/static/description/use3.jpg differ diff --git a/app_crm_superbar/static/description/use4.jpg b/app_crm_superbar/static/description/use4.jpg new file mode 100644 index 00000000..606a5ce6 Binary files /dev/null and b/app_crm_superbar/static/description/use4.jpg differ diff --git a/app_crm_superbar/static/description/use5.jpg b/app_crm_superbar/static/description/use5.jpg new file mode 100644 index 00000000..493769c2 Binary files /dev/null and b/app_crm_superbar/static/description/use5.jpg differ diff --git a/app_crm_superbar/static/description/use6.jpg b/app_crm_superbar/static/description/use6.jpg new file mode 100644 index 00000000..da80eb13 Binary files /dev/null and b/app_crm_superbar/static/description/use6.jpg differ diff --git a/app_crm_superbar/static/description/use7.jpg b/app_crm_superbar/static/description/use7.jpg new file mode 100644 index 00000000..e43b1b21 Binary files /dev/null and b/app_crm_superbar/static/description/use7.jpg differ diff --git a/app_crm_superbar/static/description/use8.jpg b/app_crm_superbar/static/description/use8.jpg new file mode 100644 index 00000000..732cc71a Binary files /dev/null and b/app_crm_superbar/static/description/use8.jpg differ diff --git a/app_crm_superbar/static/description/use9.jpg b/app_crm_superbar/static/description/use9.jpg new file mode 100644 index 00000000..9d7175bc Binary files /dev/null and b/app_crm_superbar/static/description/use9.jpg differ diff --git a/app_crm_superbar/static/description/usea.jpg b/app_crm_superbar/static/description/usea.jpg new file mode 100644 index 00000000..b6279faa Binary files /dev/null and b/app_crm_superbar/static/description/usea.jpg differ diff --git a/app_crm_superbar/static/description/z_hr1.gif b/app_crm_superbar/static/description/z_hr1.gif new file mode 100644 index 00000000..6d232374 Binary files /dev/null and b/app_crm_superbar/static/description/z_hr1.gif differ diff --git a/app_crm_superbar/static/description/z_product1.gif b/app_crm_superbar/static/description/z_product1.gif new file mode 100644 index 00000000..e471a66c Binary files /dev/null and b/app_crm_superbar/static/description/z_product1.gif differ diff --git a/app_crm_superbar/static/description/z_stock1.gif b/app_crm_superbar/static/description/z_stock1.gif new file mode 100644 index 00000000..14e9c101 Binary files /dev/null and b/app_crm_superbar/static/description/z_stock1.gif differ diff --git a/app_crm_superbar/views/crm_lead_views.xml b/app_crm_superbar/views/crm_lead_views.xml new file mode 100644 index 00000000..3c5f86aa --- /dev/null +++ b/app_crm_superbar/views/crm_lead_views.xml @@ -0,0 +1,35 @@ + + + + app.crm.lead.search.opportunity + crm.lead + + + + + + + + + + + + + + app.crm.lead.search.lead + crm.lead + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app_hr_superbar/__init__.py b/app_hr_superbar/__init__.py new file mode 100644 index 00000000..86764a0e --- /dev/null +++ b/app_hr_superbar/__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_superbar/__manifest__.py b/app_hr_superbar/__manifest__.py new file mode 100644 index 00000000..266883b7 --- /dev/null +++ b/app_hr_superbar/__manifest__.py @@ -0,0 +1,62 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-08-15 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +{ + 'name': "Employee Navigator by department, hr superbar", + 'version': '12.19.09.27', + 'author': 'Sunpop.cn', + 'category': 'Human Resources', + 'website': 'https://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'summary': """ + Browse employees by departments tree. hr organization chart. + Easy to navigator and browse any data. Support Search more list, kanban, pivot, graph view. + ztree widget. hr Hierarchy organization chart Tree. + """, + 'description': """ + Superbar, zTree widget. + Advance search with real parent children tree, ListView or KanbanView. parent tree, children tree, + eg: Product category tree ,Department tree, stock location tree. + 按部门查看员工,超级方便的查询。 + """, + 'price': 0.00, + 'currency': 'EUR', + 'depends': [ + 'hr', + ], + 'images': ['static/description/hr2.gif'], + '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_superbar/hooks.py b/app_hr_superbar/hooks.py new file mode 100644 index 00000000..7edef364 --- /dev/null +++ b/app_hr_superbar/hooks.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-10-12 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +def post_init_hook(cr, pool): + pass + # cr.execute("") diff --git a/app_hr_superbar/i18n/zh_CN.po b/app_hr_superbar/i18n/zh_CN.po new file mode 100644 index 00000000..f1e36e3e --- /dev/null +++ b/app_hr_superbar/i18n/zh_CN.po @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# +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_superbar/models/__init__.py b/app_hr_superbar/models/__init__.py new file mode 100644 index 00000000..fbc15372 --- /dev/null +++ b/app_hr_superbar/models/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- + + + diff --git a/app_hr_superbar/report/__init__.py b/app_hr_superbar/report/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/app_hr_superbar/report/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/app_hr_superbar/static/description/account1.jpg b/app_hr_superbar/static/description/account1.jpg new file mode 100644 index 00000000..28307428 Binary files /dev/null and b/app_hr_superbar/static/description/account1.jpg differ diff --git a/app_hr_superbar/static/description/banner.gif b/app_hr_superbar/static/description/banner.gif new file mode 100644 index 00000000..48f55f93 Binary files /dev/null and b/app_hr_superbar/static/description/banner.gif differ diff --git a/app_hr_superbar/static/description/banner.png b/app_hr_superbar/static/description/banner.png new file mode 100644 index 00000000..a6b12c98 Binary files /dev/null and b/app_hr_superbar/static/description/banner.png differ diff --git a/app_hr_superbar/static/description/base1.jpg b/app_hr_superbar/static/description/base1.jpg new file mode 100644 index 00000000..ffda9f17 Binary files /dev/null and b/app_hr_superbar/static/description/base1.jpg differ diff --git a/app_hr_superbar/static/description/base2.jpg b/app_hr_superbar/static/description/base2.jpg new file mode 100644 index 00000000..81a64eec Binary files /dev/null and b/app_hr_superbar/static/description/base2.jpg differ diff --git a/app_hr_superbar/static/description/base3.jpg b/app_hr_superbar/static/description/base3.jpg new file mode 100644 index 00000000..4d5a5938 Binary files /dev/null and b/app_hr_superbar/static/description/base3.jpg differ diff --git a/app_hr_superbar/static/description/base4.jpg b/app_hr_superbar/static/description/base4.jpg new file mode 100644 index 00000000..ed7155a0 Binary files /dev/null and b/app_hr_superbar/static/description/base4.jpg differ diff --git a/app_hr_superbar/static/description/base5.jpg b/app_hr_superbar/static/description/base5.jpg new file mode 100644 index 00000000..d33631bd Binary files /dev/null and b/app_hr_superbar/static/description/base5.jpg differ diff --git a/app_hr_superbar/static/description/base6.jpg b/app_hr_superbar/static/description/base6.jpg new file mode 100644 index 00000000..8fcb48f3 Binary files /dev/null and b/app_hr_superbar/static/description/base6.jpg differ diff --git a/app_hr_superbar/static/description/base7.jpg b/app_hr_superbar/static/description/base7.jpg new file mode 100644 index 00000000..7c7d76f6 Binary files /dev/null and b/app_hr_superbar/static/description/base7.jpg differ diff --git a/app_hr_superbar/static/description/base8.jpg b/app_hr_superbar/static/description/base8.jpg new file mode 100644 index 00000000..a002c442 Binary files /dev/null and b/app_hr_superbar/static/description/base8.jpg differ diff --git a/app_hr_superbar/static/description/base9.jpg b/app_hr_superbar/static/description/base9.jpg new file mode 100644 index 00000000..cb98e140 Binary files /dev/null and b/app_hr_superbar/static/description/base9.jpg differ diff --git a/app_hr_superbar/static/description/contacts1.jpg b/app_hr_superbar/static/description/contacts1.jpg new file mode 100644 index 00000000..4ac551a5 Binary files /dev/null and b/app_hr_superbar/static/description/contacts1.jpg differ diff --git a/app_hr_superbar/static/description/crm1.jpg b/app_hr_superbar/static/description/crm1.jpg new file mode 100644 index 00000000..2d53c641 Binary files /dev/null and b/app_hr_superbar/static/description/crm1.jpg differ diff --git a/app_hr_superbar/static/description/demo2.jpg b/app_hr_superbar/static/description/demo2.jpg new file mode 100644 index 00000000..c34083e0 Binary files /dev/null and b/app_hr_superbar/static/description/demo2.jpg differ diff --git a/app_hr_superbar/static/description/demo_module1.jpg b/app_hr_superbar/static/description/demo_module1.jpg new file mode 100644 index 00000000..1fc270fc Binary files /dev/null and b/app_hr_superbar/static/description/demo_module1.jpg differ diff --git a/app_hr_superbar/static/description/demo_module2.jpg b/app_hr_superbar/static/description/demo_module2.jpg new file mode 100644 index 00000000..f06f79fd Binary files /dev/null and b/app_hr_superbar/static/description/demo_module2.jpg differ diff --git a/app_hr_superbar/static/description/hr.png b/app_hr_superbar/static/description/hr.png new file mode 100644 index 00000000..1e25e532 Binary files /dev/null and b/app_hr_superbar/static/description/hr.png differ diff --git a/app_hr_superbar/static/description/hr1.jpg b/app_hr_superbar/static/description/hr1.jpg new file mode 100644 index 00000000..19913106 Binary files /dev/null and b/app_hr_superbar/static/description/hr1.jpg differ diff --git a/app_hr_superbar/static/description/hr2.gif b/app_hr_superbar/static/description/hr2.gif new file mode 100644 index 00000000..6690e747 Binary files /dev/null and b/app_hr_superbar/static/description/hr2.gif differ diff --git a/app_hr_superbar/static/description/icon.png b/app_hr_superbar/static/description/icon.png new file mode 100644 index 00000000..23ac0bd7 Binary files /dev/null and b/app_hr_superbar/static/description/icon.png differ diff --git a/app_hr_superbar/static/description/index.html b/app_hr_superbar/static/description/index.html new file mode 100644 index 00000000..12855cfe --- /dev/null +++ b/app_hr_superbar/static/description/index.html @@ -0,0 +1,331 @@ +
+
+

HR employee navigate by department is ready.

+
+
+
+
+
+ +
+

!This moduld Do Need extra paid Apps + + Click to download. +

+

Advance Search, Advance Filter with Parent Children Tree.

+

Easy to navigator and browse any data. Support Search more, list, kanban, pivot, graph view.

+

Online demo user/password: demo/demo + + Click to get demo. +

+
+
+ Key features: + +
+
+
+
+ +
+
+

Use in HR employee.

+
+ +
+
+
+ +
+
+

 

+

So Easy to navigator and search any data.

+

Product by category or type in kanban view

+
+ +
+
+
+ +
+
+
+
+

 

+

Filter product or any data in search more windows

+
+ +
+
+
+
+
+

Free to Use in product category.

+
+ +
+
+
+ +
+
+

Free to Use in POS point of sale.

+
+ +
+

POS product and order.

+
+ +
+

POS report.

+
+ +
+
+
+
+
+

Use in Account.

+
+ +
+
+
+ +
+
+

Use in Sale.

+
+ +
+
+
+ +
+
+

Use in purchase.

+
+ +
+
+
+ +
+
+

Use in contacts.

+
+ +
+
+
+ +
+
+

 

+

How to use! This app do need extra module. The price already included

+
+

1. Buy and Install zTree widget. + + Click to download. + +

+
+
+

2. Buy and Install app_web_superbar. Important! Reboot odoo after installed. +

+
+
+

3. Easy use of superbar

+
+

Show superbar in list view.

+
+
+
+ +
+
+
+

Show superbar in kanban view.

+
+
+
+ +
+
+
+

Show superbar in pivot view.

+
+
+
+ +
+
+
+

Show superbar in graph view.

+
+
+
+ +
+
+
+

Click switch to show or hide superbar.

+
+
+
+ +
+
+
+

Click checkbox to set whether to show child nodes data.

+
+
+
+ +
+
+
+

Press Ctrl(Windows) / Cmd(Mac) to Select Multi Nodes

+
+
+
+ +
+
+
+

Set multi field to search or filter

+
+
+
+ +
+
+
+

Set super bar position, left or right.

+
+
+
+ +
+
+
+
+

4. If you want to customize, Use follow param to setup widget(Extra pay for support):

+
+
+ +
+
    +
  • In search view xml, Write the <superbar> tag,
  • +
  • position: [left, right]
  • +
  • view_mode: [kanban,tree, pivot, graph view.]
  • +
  • parent_key: key field name of parent child relation. leave blank would auto set.
  • +
  • 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 name to order by
  • +
  • domain: set the domain for data, eg: [[('is_company', '=', 1)]]
  • +
+
+
+
+
+ +
+
+
+

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.

+ + https://www.sunpop.cn +
+
+
+
+ diff --git a/app_hr_superbar/static/description/mrp1.gif b/app_hr_superbar/static/description/mrp1.gif new file mode 100644 index 00000000..f19e76cb Binary files /dev/null and b/app_hr_superbar/static/description/mrp1.gif differ diff --git a/app_hr_superbar/static/description/mrp1.jpg b/app_hr_superbar/static/description/mrp1.jpg new file mode 100644 index 00000000..f2fce20d Binary files /dev/null and b/app_hr_superbar/static/description/mrp1.jpg differ diff --git a/app_hr_superbar/static/description/pos1.jpg b/app_hr_superbar/static/description/pos1.jpg new file mode 100644 index 00000000..32aaf5f4 Binary files /dev/null and b/app_hr_superbar/static/description/pos1.jpg differ diff --git a/app_hr_superbar/static/description/pos2.jpg b/app_hr_superbar/static/description/pos2.jpg new file mode 100644 index 00000000..19471a7e Binary files /dev/null and b/app_hr_superbar/static/description/pos2.jpg differ diff --git a/app_hr_superbar/static/description/pos3.jpg b/app_hr_superbar/static/description/pos3.jpg new file mode 100644 index 00000000..8e63e208 Binary files /dev/null and b/app_hr_superbar/static/description/pos3.jpg differ diff --git a/app_hr_superbar/static/description/product1.jpg b/app_hr_superbar/static/description/product1.jpg new file mode 100644 index 00000000..efa649a3 Binary files /dev/null and b/app_hr_superbar/static/description/product1.jpg differ diff --git a/app_hr_superbar/static/description/purchase1.jpg b/app_hr_superbar/static/description/purchase1.jpg new file mode 100644 index 00000000..65a5d63a Binary files /dev/null and b/app_hr_superbar/static/description/purchase1.jpg differ diff --git a/app_hr_superbar/static/description/sale1.jpg b/app_hr_superbar/static/description/sale1.jpg new file mode 100644 index 00000000..92555d06 Binary files /dev/null and b/app_hr_superbar/static/description/sale1.jpg differ diff --git a/app_hr_superbar/static/description/searchmore.jpg b/app_hr_superbar/static/description/searchmore.jpg new file mode 100644 index 00000000..d37c652d Binary files /dev/null and b/app_hr_superbar/static/description/searchmore.jpg differ diff --git a/app_hr_superbar/static/description/stock1.jpg b/app_hr_superbar/static/description/stock1.jpg new file mode 100644 index 00000000..0aeb92ff Binary files /dev/null and b/app_hr_superbar/static/description/stock1.jpg differ diff --git a/app_hr_superbar/static/description/superbar.gif b/app_hr_superbar/static/description/superbar.gif new file mode 100644 index 00000000..6e7318a5 Binary files /dev/null and b/app_hr_superbar/static/description/superbar.gif differ diff --git a/app_hr_superbar/static/description/superbar_use.gif b/app_hr_superbar/static/description/superbar_use.gif new file mode 100644 index 00000000..2ec5abde Binary files /dev/null and b/app_hr_superbar/static/description/superbar_use.gif differ diff --git a/app_hr_superbar/static/description/superbar_use.png b/app_hr_superbar/static/description/superbar_use.png new file mode 100644 index 00000000..d5ffc980 Binary files /dev/null and b/app_hr_superbar/static/description/superbar_use.png differ diff --git a/app_hr_superbar/static/description/use.jpg b/app_hr_superbar/static/description/use.jpg new file mode 100644 index 00000000..5b0e661b Binary files /dev/null and b/app_hr_superbar/static/description/use.jpg differ diff --git a/app_hr_superbar/static/description/use1.jpg b/app_hr_superbar/static/description/use1.jpg new file mode 100644 index 00000000..d9c726da Binary files /dev/null and b/app_hr_superbar/static/description/use1.jpg differ diff --git a/app_hr_superbar/static/description/use2.jpg b/app_hr_superbar/static/description/use2.jpg new file mode 100644 index 00000000..4d46d705 Binary files /dev/null and b/app_hr_superbar/static/description/use2.jpg differ diff --git a/app_hr_superbar/static/description/use3.jpg b/app_hr_superbar/static/description/use3.jpg new file mode 100644 index 00000000..fe8b7ef7 Binary files /dev/null and b/app_hr_superbar/static/description/use3.jpg differ diff --git a/app_hr_superbar/static/description/use4.jpg b/app_hr_superbar/static/description/use4.jpg new file mode 100644 index 00000000..606a5ce6 Binary files /dev/null and b/app_hr_superbar/static/description/use4.jpg differ diff --git a/app_hr_superbar/static/description/use5.jpg b/app_hr_superbar/static/description/use5.jpg new file mode 100644 index 00000000..493769c2 Binary files /dev/null and b/app_hr_superbar/static/description/use5.jpg differ diff --git a/app_hr_superbar/static/description/use6.jpg b/app_hr_superbar/static/description/use6.jpg new file mode 100644 index 00000000..da80eb13 Binary files /dev/null and b/app_hr_superbar/static/description/use6.jpg differ diff --git a/app_hr_superbar/static/description/use7.jpg b/app_hr_superbar/static/description/use7.jpg new file mode 100644 index 00000000..e43b1b21 Binary files /dev/null and b/app_hr_superbar/static/description/use7.jpg differ diff --git a/app_hr_superbar/static/description/use8.jpg b/app_hr_superbar/static/description/use8.jpg new file mode 100644 index 00000000..732cc71a Binary files /dev/null and b/app_hr_superbar/static/description/use8.jpg differ diff --git a/app_hr_superbar/static/description/use9.jpg b/app_hr_superbar/static/description/use9.jpg new file mode 100644 index 00000000..9d7175bc Binary files /dev/null and b/app_hr_superbar/static/description/use9.jpg differ diff --git a/app_hr_superbar/static/description/usea.jpg b/app_hr_superbar/static/description/usea.jpg new file mode 100644 index 00000000..b6279faa Binary files /dev/null and b/app_hr_superbar/static/description/usea.jpg differ diff --git a/app_hr_superbar/static/description/z_hr1.gif b/app_hr_superbar/static/description/z_hr1.gif new file mode 100644 index 00000000..6d232374 Binary files /dev/null and b/app_hr_superbar/static/description/z_hr1.gif differ diff --git a/app_hr_superbar/static/description/z_product1.gif b/app_hr_superbar/static/description/z_product1.gif new file mode 100644 index 00000000..e471a66c Binary files /dev/null and b/app_hr_superbar/static/description/z_product1.gif differ diff --git a/app_hr_superbar/static/description/z_stock1.gif b/app_hr_superbar/static/description/z_stock1.gif new file mode 100644 index 00000000..14e9c101 Binary files /dev/null and b/app_hr_superbar/static/description/z_stock1.gif differ diff --git a/app_hr_superbar/views/hr_views.xml b/app_hr_superbar/views/hr_views.xml new file mode 100644 index 00000000..7f1c6539 --- /dev/null +++ b/app_hr_superbar/views/hr_views.xml @@ -0,0 +1,19 @@ + + + + + app.hr.employee.search + hr.employee + + + + + + + + + + + + + \ No newline at end of file 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..57403511 --- /dev/null +++ b/app_hr_ztree/__manifest__.py @@ -0,0 +1,61 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-08-15 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +{ + 'name': "App HR department ztree, parent children tree", + 'version': '12.19.09.27', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'https://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.gif'], + '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..7edef364 --- /dev/null +++ b/app_hr_ztree/hooks.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-10-12 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://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..f1e36e3e --- /dev/null +++ b/app_hr_ztree/i18n/zh_CN.po @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# +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..e88bceaf --- /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. +
  • +
  • + + Free to Use in product category. +
  • +
  • + + Free to Use in stock location. +
  • +
  • + + Free to 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.

+
+ +
+
+
+ +
+
+

Free to Use in product category.

+
+ +
+
+
+ +
+
+

Free to 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.

+ + https://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..5bafdacf --- /dev/null +++ b/app_hr_ztree/views/hr_views.xml @@ -0,0 +1,29 @@ + + + + + app.hr.department.form + hr.department + + + + + ztree_select + {'ztree_parent_key': 'parent_id','ztree_expend_level': '2', 'ztree_name_field': 'name'} + + + + + app.hr.employee.form + hr.employee + + + + + ztree_select + {'ztree_parent_key': 'parent_id','ztree_expend_level': '2', 'ztree_name_field': 'name'} + + + + + \ No newline at end of file diff --git a/app_mrp_superbar/__init__.py b/app_mrp_superbar/__init__.py new file mode 100644 index 00000000..86764a0e --- /dev/null +++ b/app_mrp_superbar/__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_mrp_superbar/__manifest__.py b/app_mrp_superbar/__manifest__.py new file mode 100644 index 00000000..8f4a9248 --- /dev/null +++ b/app_mrp_superbar/__manifest__.py @@ -0,0 +1,65 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-08-15 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +{ + 'name': "App mrp Manufacturing Orders browse by state workcenter navigator", + 'version': '12.19.09.27', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'https://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'summary': """ + Browse mrp order, Manufacturing Orders by Materials Availability, work center. + Easy to navigator and browse any data. Support Search more list, kanban, pivot, graph view. + ztree widget.Hierarchy Tree. + """, + 'description': """ + Superbar, zTree widget. + Advance search with real parent children tree, ListView or KanbanView. parent tree, children tree, + eg: Product category tree ,Department tree, stock location tree. + 超级方便的查询,树状视图。 + """, + 'price': 0.00, + 'currency': 'EUR', + 'depends': [ + 'mrp', + ], + 'images': ['static/description/banner.gif'], + 'data': [ + 'data/ir_data.xml', + 'views/mrp_production_views.xml', + 'views/mrp_workorder_views.xml', + 'views/mrp_bom_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_mrp_superbar/data/ir_data.xml b/app_mrp_superbar/data/ir_data.xml new file mode 100644 index 00000000..7243fdf3 --- /dev/null +++ b/app_mrp_superbar/data/ir_data.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/app_mrp_superbar/hooks.py b/app_mrp_superbar/hooks.py new file mode 100644 index 00000000..f7bbfac4 --- /dev/null +++ b/app_mrp_superbar/hooks.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-10-12 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +def post_init_hook(cr, pool): + pass + # cr.execute("") diff --git a/app_mrp_superbar/i18n/zh_CN.po b/app_mrp_superbar/i18n/zh_CN.po new file mode 100644 index 00000000..f1e36e3e --- /dev/null +++ b/app_mrp_superbar/i18n/zh_CN.po @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# +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_mrp_superbar/models/__init__.py b/app_mrp_superbar/models/__init__.py new file mode 100644 index 00000000..cfc06edc --- /dev/null +++ b/app_mrp_superbar/models/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- + +# from . import product_category + diff --git a/app_mrp_superbar/report/__init__.py b/app_mrp_superbar/report/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/app_mrp_superbar/report/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/app_mrp_superbar/static/description/account1.jpg b/app_mrp_superbar/static/description/account1.jpg new file mode 100644 index 00000000..28307428 Binary files /dev/null and b/app_mrp_superbar/static/description/account1.jpg differ diff --git a/app_mrp_superbar/static/description/banner.gif b/app_mrp_superbar/static/description/banner.gif new file mode 100644 index 00000000..7f84f91e Binary files /dev/null and b/app_mrp_superbar/static/description/banner.gif differ diff --git a/app_mrp_superbar/static/description/banner.png b/app_mrp_superbar/static/description/banner.png new file mode 100644 index 00000000..a6b12c98 Binary files /dev/null and b/app_mrp_superbar/static/description/banner.png differ diff --git a/app_mrp_superbar/static/description/base1.jpg b/app_mrp_superbar/static/description/base1.jpg new file mode 100644 index 00000000..ffda9f17 Binary files /dev/null and b/app_mrp_superbar/static/description/base1.jpg differ diff --git a/app_mrp_superbar/static/description/base2.jpg b/app_mrp_superbar/static/description/base2.jpg new file mode 100644 index 00000000..81a64eec Binary files /dev/null and b/app_mrp_superbar/static/description/base2.jpg differ diff --git a/app_mrp_superbar/static/description/base3.jpg b/app_mrp_superbar/static/description/base3.jpg new file mode 100644 index 00000000..4d5a5938 Binary files /dev/null and b/app_mrp_superbar/static/description/base3.jpg differ diff --git a/app_mrp_superbar/static/description/base4.jpg b/app_mrp_superbar/static/description/base4.jpg new file mode 100644 index 00000000..ed7155a0 Binary files /dev/null and b/app_mrp_superbar/static/description/base4.jpg differ diff --git a/app_mrp_superbar/static/description/base5.jpg b/app_mrp_superbar/static/description/base5.jpg new file mode 100644 index 00000000..d33631bd Binary files /dev/null and b/app_mrp_superbar/static/description/base5.jpg differ diff --git a/app_mrp_superbar/static/description/base6.jpg b/app_mrp_superbar/static/description/base6.jpg new file mode 100644 index 00000000..8fcb48f3 Binary files /dev/null and b/app_mrp_superbar/static/description/base6.jpg differ diff --git a/app_mrp_superbar/static/description/base7.jpg b/app_mrp_superbar/static/description/base7.jpg new file mode 100644 index 00000000..7c7d76f6 Binary files /dev/null and b/app_mrp_superbar/static/description/base7.jpg differ diff --git a/app_mrp_superbar/static/description/base8.jpg b/app_mrp_superbar/static/description/base8.jpg new file mode 100644 index 00000000..a002c442 Binary files /dev/null and b/app_mrp_superbar/static/description/base8.jpg differ diff --git a/app_mrp_superbar/static/description/base9.jpg b/app_mrp_superbar/static/description/base9.jpg new file mode 100644 index 00000000..cb98e140 Binary files /dev/null and b/app_mrp_superbar/static/description/base9.jpg differ diff --git a/app_mrp_superbar/static/description/contacts1.jpg b/app_mrp_superbar/static/description/contacts1.jpg new file mode 100644 index 00000000..4ac551a5 Binary files /dev/null and b/app_mrp_superbar/static/description/contacts1.jpg differ diff --git a/app_mrp_superbar/static/description/crm1.jpg b/app_mrp_superbar/static/description/crm1.jpg new file mode 100644 index 00000000..2d53c641 Binary files /dev/null and b/app_mrp_superbar/static/description/crm1.jpg differ diff --git a/app_mrp_superbar/static/description/demo2.jpg b/app_mrp_superbar/static/description/demo2.jpg new file mode 100644 index 00000000..c34083e0 Binary files /dev/null and b/app_mrp_superbar/static/description/demo2.jpg differ diff --git a/app_mrp_superbar/static/description/demo_module1.jpg b/app_mrp_superbar/static/description/demo_module1.jpg new file mode 100644 index 00000000..1fc270fc Binary files /dev/null and b/app_mrp_superbar/static/description/demo_module1.jpg differ diff --git a/app_mrp_superbar/static/description/demo_module2.jpg b/app_mrp_superbar/static/description/demo_module2.jpg new file mode 100644 index 00000000..f06f79fd Binary files /dev/null and b/app_mrp_superbar/static/description/demo_module2.jpg differ diff --git a/app_mrp_superbar/static/description/hr1.jpg b/app_mrp_superbar/static/description/hr1.jpg new file mode 100644 index 00000000..19913106 Binary files /dev/null and b/app_mrp_superbar/static/description/hr1.jpg differ diff --git a/app_mrp_superbar/static/description/hr2.gif b/app_mrp_superbar/static/description/hr2.gif new file mode 100644 index 00000000..6690e747 Binary files /dev/null and b/app_mrp_superbar/static/description/hr2.gif differ diff --git a/app_mrp_superbar/static/description/icon.png b/app_mrp_superbar/static/description/icon.png new file mode 100644 index 00000000..23ac0bd7 Binary files /dev/null and b/app_mrp_superbar/static/description/icon.png differ diff --git a/app_mrp_superbar/static/description/index.html b/app_mrp_superbar/static/description/index.html new file mode 100644 index 00000000..75e33b20 --- /dev/null +++ b/app_mrp_superbar/static/description/index.html @@ -0,0 +1,409 @@ +
+
+

MRP Advance Search Sidebar with Hierarchy Parent Children Tree

+
+
+
+
+
+ +
+

Advance Search, Advance Filter with Parent Children Tree.

+

Buy + + this 1 Advance Search Apps + + in odoo Store. Get + + free 20 related apps. + +

+

Easy to navigator and browse any data. Support Search more, list, kanban, pivot, graph view.

+

Online demo user/password: demo/demo + + Click to get demo. +

+
+
+ Key features: + +
+
+
+
+ +
+
+

 

+

So Easy to navigator and search any data.

+

Product by category or type in kanban view

+
+ +
+
+
+ +
+
+
+
+

 

+

Filter product or any data in search more windows

+
+ +
+
+
+
+
+

Free to Use in product category.

+
+ +
+
+
+ +
+
+

Free to Use in POS point of sale.

+
+ +
+

POS product and order.

+
+ +
+

POS report.

+
+ +
+
+
+
+
+

Use in HR employee.

+
+ +
+
+
+ +
+
+

Use in Account.

+
+ +
+
+
+ +
+
+

Use in Sale.

+
+ +
+
+
+ +
+
+

Use in CRM.

+
+ +
+
+
+ +
+
+

Use in purchase.

+
+ +
+
+
+ +
+
+

Use in MRP.

+
+ +
+
+
+ +
+
+

Use in stock.

+
+ +
+
+
+ +
+
+

Use in contacts.

+
+ +
+
+
+ +
+
+

Apps Navigator by Category, Module Navigator is ready.

+
+ +
+
+ +
+
+
+ +
+
+

 

+

How to use! This app do need extra module. The price already included

+
+

1. Buy and Install zTree widget. + + Click to download. + +

+
+
+

2. Buy and Install app_web_superbar. Important! Reboot odoo after installed. +

+
+
+

3. Easy use of superbar

+
+

Show superbar in list view.

+
+
+
+ +
+
+
+

Show superbar in kanban view.

+
+
+
+ +
+
+
+

Show superbar in pivot view.

+
+
+
+ +
+
+
+

Show superbar in graph view.

+
+
+
+ +
+
+
+

Click switch to show or hide superbar.

+
+
+
+ +
+
+
+

Click checkbox to set whether to show child nodes data.

+
+
+
+ +
+
+
+

Press Ctrl(Windows) / Cmd(Mac) to Select Multi Nodes

+
+
+
+ +
+
+
+

Set multi field to search or filter

+
+
+
+ +
+
+
+

Set super bar position, left or right.

+
+
+
+ +
+
+
+
+

4. If you want to customize, Use follow param to setup widget(Extra pay for support):

+
+
+ +
+
    +
  • In search view xml, Write the <superbar> tag,
  • +
  • position: [left, right]
  • +
  • view_mode: [kanban,tree, pivot, graph view.]
  • +
  • parent_key: key field name of parent child relation. leave blank would auto set.
  • +
  • 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 name to order by
  • +
  • domain: set the domain for data, eg: [[('is_company', '=', 1)]]
  • +
  • --
  • +
  • Or you can set dynamic domain in .py file.
  • +
  • use param: search_superbar_domain_xxx , xxx is a field name.
  • +
+
+
+
+
+ +
+
+
+

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.

+ + https://www.sunpop.cn +
+
+
+
+ diff --git a/app_mrp_superbar/static/description/mrp1.gif b/app_mrp_superbar/static/description/mrp1.gif new file mode 100644 index 00000000..f19e76cb Binary files /dev/null and b/app_mrp_superbar/static/description/mrp1.gif differ diff --git a/app_mrp_superbar/static/description/mrp1.jpg b/app_mrp_superbar/static/description/mrp1.jpg new file mode 100644 index 00000000..f2fce20d Binary files /dev/null and b/app_mrp_superbar/static/description/mrp1.jpg differ diff --git a/app_mrp_superbar/static/description/pos1.jpg b/app_mrp_superbar/static/description/pos1.jpg new file mode 100644 index 00000000..32aaf5f4 Binary files /dev/null and b/app_mrp_superbar/static/description/pos1.jpg differ diff --git a/app_mrp_superbar/static/description/pos2.jpg b/app_mrp_superbar/static/description/pos2.jpg new file mode 100644 index 00000000..19471a7e Binary files /dev/null and b/app_mrp_superbar/static/description/pos2.jpg differ diff --git a/app_mrp_superbar/static/description/pos3.jpg b/app_mrp_superbar/static/description/pos3.jpg new file mode 100644 index 00000000..8e63e208 Binary files /dev/null and b/app_mrp_superbar/static/description/pos3.jpg differ diff --git a/app_mrp_superbar/static/description/product1.jpg b/app_mrp_superbar/static/description/product1.jpg new file mode 100644 index 00000000..efa649a3 Binary files /dev/null and b/app_mrp_superbar/static/description/product1.jpg differ diff --git a/app_mrp_superbar/static/description/purchase1.jpg b/app_mrp_superbar/static/description/purchase1.jpg new file mode 100644 index 00000000..65a5d63a Binary files /dev/null and b/app_mrp_superbar/static/description/purchase1.jpg differ diff --git a/app_mrp_superbar/static/description/sale1.jpg b/app_mrp_superbar/static/description/sale1.jpg new file mode 100644 index 00000000..92555d06 Binary files /dev/null and b/app_mrp_superbar/static/description/sale1.jpg differ diff --git a/app_mrp_superbar/static/description/searchmore.jpg b/app_mrp_superbar/static/description/searchmore.jpg new file mode 100644 index 00000000..d37c652d Binary files /dev/null and b/app_mrp_superbar/static/description/searchmore.jpg differ diff --git a/app_mrp_superbar/static/description/stock1.jpg b/app_mrp_superbar/static/description/stock1.jpg new file mode 100644 index 00000000..0aeb92ff Binary files /dev/null and b/app_mrp_superbar/static/description/stock1.jpg differ diff --git a/app_mrp_superbar/static/description/superbar.gif b/app_mrp_superbar/static/description/superbar.gif new file mode 100644 index 00000000..6e7318a5 Binary files /dev/null and b/app_mrp_superbar/static/description/superbar.gif differ diff --git a/app_mrp_superbar/static/description/superbar_use.gif b/app_mrp_superbar/static/description/superbar_use.gif new file mode 100644 index 00000000..2ec5abde Binary files /dev/null and b/app_mrp_superbar/static/description/superbar_use.gif differ diff --git a/app_mrp_superbar/static/description/use.jpg b/app_mrp_superbar/static/description/use.jpg new file mode 100644 index 00000000..5b0e661b Binary files /dev/null and b/app_mrp_superbar/static/description/use.jpg differ diff --git a/app_mrp_superbar/static/description/use1.jpg b/app_mrp_superbar/static/description/use1.jpg new file mode 100644 index 00000000..d9c726da Binary files /dev/null and b/app_mrp_superbar/static/description/use1.jpg differ diff --git a/app_mrp_superbar/static/description/use2.jpg b/app_mrp_superbar/static/description/use2.jpg new file mode 100644 index 00000000..4d46d705 Binary files /dev/null and b/app_mrp_superbar/static/description/use2.jpg differ diff --git a/app_mrp_superbar/static/description/use3.jpg b/app_mrp_superbar/static/description/use3.jpg new file mode 100644 index 00000000..fe8b7ef7 Binary files /dev/null and b/app_mrp_superbar/static/description/use3.jpg differ diff --git a/app_mrp_superbar/static/description/use4.jpg b/app_mrp_superbar/static/description/use4.jpg new file mode 100644 index 00000000..606a5ce6 Binary files /dev/null and b/app_mrp_superbar/static/description/use4.jpg differ diff --git a/app_mrp_superbar/static/description/use5.jpg b/app_mrp_superbar/static/description/use5.jpg new file mode 100644 index 00000000..493769c2 Binary files /dev/null and b/app_mrp_superbar/static/description/use5.jpg differ diff --git a/app_mrp_superbar/static/description/use6.jpg b/app_mrp_superbar/static/description/use6.jpg new file mode 100644 index 00000000..da80eb13 Binary files /dev/null and b/app_mrp_superbar/static/description/use6.jpg differ diff --git a/app_mrp_superbar/static/description/use7.jpg b/app_mrp_superbar/static/description/use7.jpg new file mode 100644 index 00000000..e43b1b21 Binary files /dev/null and b/app_mrp_superbar/static/description/use7.jpg differ diff --git a/app_mrp_superbar/static/description/use8.jpg b/app_mrp_superbar/static/description/use8.jpg new file mode 100644 index 00000000..732cc71a Binary files /dev/null and b/app_mrp_superbar/static/description/use8.jpg differ diff --git a/app_mrp_superbar/static/description/use9.jpg b/app_mrp_superbar/static/description/use9.jpg new file mode 100644 index 00000000..9d7175bc Binary files /dev/null and b/app_mrp_superbar/static/description/use9.jpg differ diff --git a/app_mrp_superbar/static/description/usea.jpg b/app_mrp_superbar/static/description/usea.jpg new file mode 100644 index 00000000..b6279faa Binary files /dev/null and b/app_mrp_superbar/static/description/usea.jpg differ diff --git a/app_mrp_superbar/static/description/z_hr1.gif b/app_mrp_superbar/static/description/z_hr1.gif new file mode 100644 index 00000000..6d232374 Binary files /dev/null and b/app_mrp_superbar/static/description/z_hr1.gif differ diff --git a/app_mrp_superbar/static/description/z_product1.gif b/app_mrp_superbar/static/description/z_product1.gif new file mode 100644 index 00000000..e471a66c Binary files /dev/null and b/app_mrp_superbar/static/description/z_product1.gif differ diff --git a/app_mrp_superbar/static/description/z_stock1.gif b/app_mrp_superbar/static/description/z_stock1.gif new file mode 100644 index 00000000..14e9c101 Binary files /dev/null and b/app_mrp_superbar/static/description/z_stock1.gif differ diff --git a/app_mrp_superbar/views/mrp_bom_views.xml b/app_mrp_superbar/views/mrp_bom_views.xml new file mode 100644 index 00000000..49b4e2bc --- /dev/null +++ b/app_mrp_superbar/views/mrp_bom_views.xml @@ -0,0 +1,18 @@ + + + + + mrp.bom.select.superbar + mrp.bom + + + + + + + + + + + + diff --git a/app_mrp_superbar/views/mrp_production_views.xml b/app_mrp_superbar/views/mrp_production_views.xml new file mode 100644 index 00000000..96504854 --- /dev/null +++ b/app_mrp_superbar/views/mrp_production_views.xml @@ -0,0 +1,21 @@ + + + + + app.mrp.production.select + mrp.production + + + + + + + + + + + + + + + diff --git a/app_mrp_superbar/views/mrp_workorder_views.xml b/app_mrp_superbar/views/mrp_workorder_views.xml new file mode 100644 index 00000000..8a0bfd08 --- /dev/null +++ b/app_mrp_superbar/views/mrp_workorder_views.xml @@ -0,0 +1,17 @@ + + + + + app.mrp.production.work.order.select + mrp.workorder + + + + + + + + + + + diff --git a/app_odoo_customize/__manifest__.py b/app_odoo_customize/__manifest__.py index 5fe8b3b8..2041d3e3 100644 --- a/app_odoo_customize/__manifest__.py +++ b/app_odoo_customize/__manifest__.py @@ -23,7 +23,7 @@ { 'name': 'Odoo Customize(Debranding, My Odoo)', - 'version': '13.19.09.14', + 'version': '13.19.09.29', 'author': 'Sunpop.cn', 'category': 'Productivity', 'website': 'https://www.sunpop.cn', diff --git a/app_odoo_customize/data/ir_config_parameter.xml b/app_odoo_customize/data/ir_config_parameter.xml index f1473869..099b27d2 100644 --- a/app_odoo_customize/data/ir_config_parameter.xml +++ b/app_odoo_customize/data/ir_config_parameter.xml @@ -3,7 +3,7 @@ app_system_name - odooApp + odooApp13 diff --git a/app_odoo_customize/views/app_theme_config_settings_views.xml b/app_odoo_customize/views/app_theme_config_settings_views.xml index a4f94c9d..c97843cf 100644 --- a/app_odoo_customize/views/app_theme_config_settings_views.xml +++ b/app_odoo_customize/views/app_theme_config_settings_views.xml @@ -24,55 +24,51 @@
-
-
- -
-
- -
-
- -
-
- -
+
+ +
+
+ +
+
+ +
+
+ +
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
@@ -191,16 +187,23 @@ + + diff --git a/app_product_superbar/__init__.py b/app_product_superbar/__init__.py new file mode 100644 index 00000000..86764a0e --- /dev/null +++ b/app_product_superbar/__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_superbar/__manifest__.py b/app_product_superbar/__manifest__.py new file mode 100644 index 00000000..c4337113 --- /dev/null +++ b/app_product_superbar/__manifest__.py @@ -0,0 +1,63 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-08-15 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +{ + 'name': "App product browse by category navigator", + 'version': '12.19.09.27', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'https://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'summary': """ + Browse Product by category tree. Use for parent children tree list kanban navigator. + Easy to navigator and browse any data. Support Search more list, kanban, pivot, graph view. + ztree widget.Hierarchy Tree.Parent Children relation tree.. + """, + 'description': """ + Superbar, zTree widget. + Advance search with real parent children tree, ListView or KanbanView. parent tree, children tree, + eg: Product category tree ,Department tree, stock location tree. + 超级方便的查询,树状视图。 + """, + 'price': 0.00, + 'currency': 'EUR', + 'depends': [ + 'stock', + ], + 'images': ['static/description/banner.gif'], + 'data': [ + 'views/product_views.xml', + 'views/product_attribute_value_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_superbar/hooks.py b/app_product_superbar/hooks.py new file mode 100644 index 00000000..f7bbfac4 --- /dev/null +++ b/app_product_superbar/hooks.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-10-12 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +def post_init_hook(cr, pool): + pass + # cr.execute("") diff --git a/app_product_superbar/i18n/zh_CN.po b/app_product_superbar/i18n/zh_CN.po new file mode 100644 index 00000000..f1e36e3e --- /dev/null +++ b/app_product_superbar/i18n/zh_CN.po @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# +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_superbar/models/__init__.py b/app_product_superbar/models/__init__.py new file mode 100644 index 00000000..cfc06edc --- /dev/null +++ b/app_product_superbar/models/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- + +# from . import product_category + diff --git a/app_product_superbar/models/product_category.py b/app_product_superbar/models/product_category.py new file mode 100644 index 00000000..377ddafc --- /dev/null +++ b/app_product_superbar/models/product_category.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- + +# Created on 2017-11-28 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +from odoo import api, fields, models, exceptions, _ + +class ProductCategory(models.Model): + _inherit = 'product.category' + + # 更新 complete_name 算法,当有context: show_short =1 时,只显示短名 + @api.multi + def name_get(self): + if self._context.get('show_short'): + new_res = [] + for category in self: + name = category.name + new_res.append((category.id, name)) + return new_res + else: + return super(ProductCategory, self).name_get() diff --git a/app_product_superbar/report/__init__.py b/app_product_superbar/report/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/app_product_superbar/report/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/app_product_superbar/static/description/account1.jpg b/app_product_superbar/static/description/account1.jpg new file mode 100644 index 00000000..28307428 Binary files /dev/null and b/app_product_superbar/static/description/account1.jpg differ diff --git a/app_product_superbar/static/description/banner.gif b/app_product_superbar/static/description/banner.gif new file mode 100644 index 00000000..3fa07c7f Binary files /dev/null and b/app_product_superbar/static/description/banner.gif differ diff --git a/app_product_superbar/static/description/banner.png b/app_product_superbar/static/description/banner.png new file mode 100644 index 00000000..a6b12c98 Binary files /dev/null and b/app_product_superbar/static/description/banner.png differ diff --git a/app_product_superbar/static/description/base1.jpg b/app_product_superbar/static/description/base1.jpg new file mode 100644 index 00000000..ffda9f17 Binary files /dev/null and b/app_product_superbar/static/description/base1.jpg differ diff --git a/app_product_superbar/static/description/base2.jpg b/app_product_superbar/static/description/base2.jpg new file mode 100644 index 00000000..81a64eec Binary files /dev/null and b/app_product_superbar/static/description/base2.jpg differ diff --git a/app_product_superbar/static/description/base3.jpg b/app_product_superbar/static/description/base3.jpg new file mode 100644 index 00000000..4d5a5938 Binary files /dev/null and b/app_product_superbar/static/description/base3.jpg differ diff --git a/app_product_superbar/static/description/base4.jpg b/app_product_superbar/static/description/base4.jpg new file mode 100644 index 00000000..ed7155a0 Binary files /dev/null and b/app_product_superbar/static/description/base4.jpg differ diff --git a/app_product_superbar/static/description/base5.jpg b/app_product_superbar/static/description/base5.jpg new file mode 100644 index 00000000..d33631bd Binary files /dev/null and b/app_product_superbar/static/description/base5.jpg differ diff --git a/app_product_superbar/static/description/base6.jpg b/app_product_superbar/static/description/base6.jpg new file mode 100644 index 00000000..8fcb48f3 Binary files /dev/null and b/app_product_superbar/static/description/base6.jpg differ diff --git a/app_product_superbar/static/description/base7.jpg b/app_product_superbar/static/description/base7.jpg new file mode 100644 index 00000000..7c7d76f6 Binary files /dev/null and b/app_product_superbar/static/description/base7.jpg differ diff --git a/app_product_superbar/static/description/base8.jpg b/app_product_superbar/static/description/base8.jpg new file mode 100644 index 00000000..a002c442 Binary files /dev/null and b/app_product_superbar/static/description/base8.jpg differ diff --git a/app_product_superbar/static/description/base9.jpg b/app_product_superbar/static/description/base9.jpg new file mode 100644 index 00000000..cb98e140 Binary files /dev/null and b/app_product_superbar/static/description/base9.jpg differ diff --git a/app_product_superbar/static/description/contacts1.jpg b/app_product_superbar/static/description/contacts1.jpg new file mode 100644 index 00000000..4ac551a5 Binary files /dev/null and b/app_product_superbar/static/description/contacts1.jpg differ diff --git a/app_product_superbar/static/description/crm1.jpg b/app_product_superbar/static/description/crm1.jpg new file mode 100644 index 00000000..2d53c641 Binary files /dev/null and b/app_product_superbar/static/description/crm1.jpg differ diff --git a/app_product_superbar/static/description/demo2.jpg b/app_product_superbar/static/description/demo2.jpg new file mode 100644 index 00000000..c34083e0 Binary files /dev/null and b/app_product_superbar/static/description/demo2.jpg differ diff --git a/app_product_superbar/static/description/demo_module1.jpg b/app_product_superbar/static/description/demo_module1.jpg new file mode 100644 index 00000000..1fc270fc Binary files /dev/null and b/app_product_superbar/static/description/demo_module1.jpg differ diff --git a/app_product_superbar/static/description/demo_module2.jpg b/app_product_superbar/static/description/demo_module2.jpg new file mode 100644 index 00000000..f06f79fd Binary files /dev/null and b/app_product_superbar/static/description/demo_module2.jpg differ diff --git a/app_product_superbar/static/description/hr1.jpg b/app_product_superbar/static/description/hr1.jpg new file mode 100644 index 00000000..19913106 Binary files /dev/null and b/app_product_superbar/static/description/hr1.jpg differ diff --git a/app_product_superbar/static/description/hr2.gif b/app_product_superbar/static/description/hr2.gif new file mode 100644 index 00000000..6690e747 Binary files /dev/null and b/app_product_superbar/static/description/hr2.gif differ diff --git a/app_product_superbar/static/description/icon.png b/app_product_superbar/static/description/icon.png new file mode 100644 index 00000000..23ac0bd7 Binary files /dev/null and b/app_product_superbar/static/description/icon.png differ diff --git a/app_product_superbar/static/description/index.html b/app_product_superbar/static/description/index.html new file mode 100644 index 00000000..b35dbae2 --- /dev/null +++ b/app_product_superbar/static/description/index.html @@ -0,0 +1,409 @@ +
+
+

Product Super Sidebar for Advance Search with Parent Children Tree

+
+
+
+
+
+ +
+

Advance Search, Advance Filter with Parent Children Tree.

+

Buy + + this 1 Advance Search Apps + + in odoo Store. Get + + free 20 related apps. + +

+

Easy to navigator and browse any data. Support Search more, list, kanban, pivot, graph view.

+

Online demo user/password: demo/demo + + Click to get demo. +

+
+
+ Key features: +
    +
  • + + Update: v12.19.05.23, Enhance UI. Add Pos Function. +
  • +
  • + + Easy to show parent children tree for tree, kanban, pivot, graph view.(Note that there would be little different in UI between odoo12,11,10) +
  • +
  • + + Filter product of any data in "Search More..." popup windows. +
  • +
  • + + Responsive UI.Only show when width > 992px; +
  • +
  • + + Product navigate by category or type is ready. + + Click to download. + +
  • +
  • + + Pos navigate by category or store is ready. + + Click to download. + +
  • +
  • + + Account chart navigate by type is ready. + + Click to download. + +
  • +
  • + + Contacts navigate by company is ready. + + Click to download. + +
  • +
  • + + Sale order navigate by partner and channel is ready. + + Click to download. + +
  • +
  • + + CRM browse by stage and team is ready. + + Click to download. + +
  • +
  • + + Purchase order navigate by partner is ready. + + Click to download. + +
  • +
  • + + Stock location navigate by parent, Picking by type is ready. + + Click to download. + +
  • +
  • + + HR employee navigate by department is ready. + + Click to download. + +
  • +
  • + + MRP manufacture order navigate by state workcenter is ready. + + Click to download. + +
  • +
  • + + Apps Navigator by Category, Module Navigator is ready. + + Click to download. + +
  • +
  • + + It is so easy to customize, you can use it in anywhere in odoo(Extra pay for support). +
  • +
+
+
+
+
+ +
+
+

 

+

So Easy to navigator and search any data.

+

Product by category or type in kanban view

+
+ +
+
+
+ +
+
+
+
+

 

+

Filter product or any data in search more windows

+
+ +
+
+
+
+
+

Free to Use in product category.

+
+ +
+
+
+ +
+
+

Free to Use in POS point of sale.

+
+ +
+

POS product and order.

+
+ +
+

POS report.

+
+ +
+
+
+
+
+

Use in HR employee.

+
+ +
+
+
+ +
+
+

Use in Account.

+
+ +
+
+
+ +
+
+

Use in Sale.

+
+ +
+
+
+ +
+
+

Use in CRM.

+
+ +
+
+
+ +
+
+

Use in purchase.

+
+ +
+
+
+ +
+
+

Use in MRP.

+
+ +
+
+
+ +
+
+

Use in stock.

+
+ +
+
+
+ +
+
+

Use in contacts.

+
+ +
+
+
+ +
+
+

Apps Navigator by Category, Module Navigator is ready.

+
+ +
+
+ +
+
+
+ +
+
+

 

+

How to use! This app do need extra module. The price already included

+
+

1. Buy and Install zTree widget. + + Click to download. + +

+
+
+

2. Buy and Install app_web_superbar. Important! Reboot odoo after installed. +

+
+
+

3. Easy use of superbar

+
+

Show superbar in list view.

+
+
+
+ +
+
+
+

Show superbar in kanban view.

+
+
+
+ +
+
+
+

Show superbar in pivot view.

+
+
+
+ +
+
+
+

Show superbar in graph view.

+
+
+
+ +
+
+
+

Click switch to show or hide superbar.

+
+
+
+ +
+
+
+

Click checkbox to set whether to show child nodes data.

+
+
+
+ +
+
+
+

Press Ctrl(Windows) / Cmd(Mac) to Select Multi Nodes

+
+
+
+ +
+
+
+

Set multi field to search or filter

+
+
+
+ +
+
+
+

Set super bar position, left or right.

+
+
+
+ +
+
+
+
+

4. If you want to customize, Use follow param to setup widget(Extra pay for support):

+
+
+ +
+
    +
  • In search view xml, Write the <superbar> tag,
  • +
  • position: [left, right]
  • +
  • view_mode: [kanban,tree, pivot, graph view.]
  • +
  • parent_key: key field name of parent child relation. leave blank would auto set.
  • +
  • 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 name to order by
  • +
  • domain: set the domain for data, eg: [[('is_company', '=', 1)]]
  • +
  • --
  • +
  • Or you can set dynamic domain in .py file.
  • +
  • use param: search_superbar_domain_xxx , xxx is a field name.
  • +
+
+
+
+
+ +
+
+
+

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.

+ + https://www.sunpop.cn +
+
+
+
+ diff --git a/app_product_superbar/static/description/mrp1.gif b/app_product_superbar/static/description/mrp1.gif new file mode 100644 index 00000000..f19e76cb Binary files /dev/null and b/app_product_superbar/static/description/mrp1.gif differ diff --git a/app_product_superbar/static/description/mrp1.jpg b/app_product_superbar/static/description/mrp1.jpg new file mode 100644 index 00000000..f2fce20d Binary files /dev/null and b/app_product_superbar/static/description/mrp1.jpg differ diff --git a/app_product_superbar/static/description/pos1.jpg b/app_product_superbar/static/description/pos1.jpg new file mode 100644 index 00000000..32aaf5f4 Binary files /dev/null and b/app_product_superbar/static/description/pos1.jpg differ diff --git a/app_product_superbar/static/description/pos2.jpg b/app_product_superbar/static/description/pos2.jpg new file mode 100644 index 00000000..19471a7e Binary files /dev/null and b/app_product_superbar/static/description/pos2.jpg differ diff --git a/app_product_superbar/static/description/pos3.jpg b/app_product_superbar/static/description/pos3.jpg new file mode 100644 index 00000000..8e63e208 Binary files /dev/null and b/app_product_superbar/static/description/pos3.jpg differ diff --git a/app_product_superbar/static/description/product1.jpg b/app_product_superbar/static/description/product1.jpg new file mode 100644 index 00000000..efa649a3 Binary files /dev/null and b/app_product_superbar/static/description/product1.jpg differ diff --git a/app_product_superbar/static/description/purchase1.jpg b/app_product_superbar/static/description/purchase1.jpg new file mode 100644 index 00000000..65a5d63a Binary files /dev/null and b/app_product_superbar/static/description/purchase1.jpg differ diff --git a/app_product_superbar/static/description/sale1.jpg b/app_product_superbar/static/description/sale1.jpg new file mode 100644 index 00000000..92555d06 Binary files /dev/null and b/app_product_superbar/static/description/sale1.jpg differ diff --git a/app_product_superbar/static/description/searchmore.jpg b/app_product_superbar/static/description/searchmore.jpg new file mode 100644 index 00000000..d37c652d Binary files /dev/null and b/app_product_superbar/static/description/searchmore.jpg differ diff --git a/app_product_superbar/static/description/stock1.jpg b/app_product_superbar/static/description/stock1.jpg new file mode 100644 index 00000000..0aeb92ff Binary files /dev/null and b/app_product_superbar/static/description/stock1.jpg differ diff --git a/app_product_superbar/static/description/superbar.gif b/app_product_superbar/static/description/superbar.gif new file mode 100644 index 00000000..6e7318a5 Binary files /dev/null and b/app_product_superbar/static/description/superbar.gif differ diff --git a/app_product_superbar/static/description/superbar_use.gif b/app_product_superbar/static/description/superbar_use.gif new file mode 100644 index 00000000..2ec5abde Binary files /dev/null and b/app_product_superbar/static/description/superbar_use.gif differ diff --git a/app_product_superbar/static/description/use.jpg b/app_product_superbar/static/description/use.jpg new file mode 100644 index 00000000..5b0e661b Binary files /dev/null and b/app_product_superbar/static/description/use.jpg differ diff --git a/app_product_superbar/static/description/use1.jpg b/app_product_superbar/static/description/use1.jpg new file mode 100644 index 00000000..d9c726da Binary files /dev/null and b/app_product_superbar/static/description/use1.jpg differ diff --git a/app_product_superbar/static/description/use2.jpg b/app_product_superbar/static/description/use2.jpg new file mode 100644 index 00000000..4d46d705 Binary files /dev/null and b/app_product_superbar/static/description/use2.jpg differ diff --git a/app_product_superbar/static/description/use3.jpg b/app_product_superbar/static/description/use3.jpg new file mode 100644 index 00000000..fe8b7ef7 Binary files /dev/null and b/app_product_superbar/static/description/use3.jpg differ diff --git a/app_product_superbar/static/description/use4.jpg b/app_product_superbar/static/description/use4.jpg new file mode 100644 index 00000000..606a5ce6 Binary files /dev/null and b/app_product_superbar/static/description/use4.jpg differ diff --git a/app_product_superbar/static/description/use5.jpg b/app_product_superbar/static/description/use5.jpg new file mode 100644 index 00000000..493769c2 Binary files /dev/null and b/app_product_superbar/static/description/use5.jpg differ diff --git a/app_product_superbar/static/description/use6.jpg b/app_product_superbar/static/description/use6.jpg new file mode 100644 index 00000000..da80eb13 Binary files /dev/null and b/app_product_superbar/static/description/use6.jpg differ diff --git a/app_product_superbar/static/description/use7.jpg b/app_product_superbar/static/description/use7.jpg new file mode 100644 index 00000000..e43b1b21 Binary files /dev/null and b/app_product_superbar/static/description/use7.jpg differ diff --git a/app_product_superbar/static/description/use8.jpg b/app_product_superbar/static/description/use8.jpg new file mode 100644 index 00000000..732cc71a Binary files /dev/null and b/app_product_superbar/static/description/use8.jpg differ diff --git a/app_product_superbar/static/description/use9.jpg b/app_product_superbar/static/description/use9.jpg new file mode 100644 index 00000000..9d7175bc Binary files /dev/null and b/app_product_superbar/static/description/use9.jpg differ diff --git a/app_product_superbar/static/description/usea.jpg b/app_product_superbar/static/description/usea.jpg new file mode 100644 index 00000000..b6279faa Binary files /dev/null and b/app_product_superbar/static/description/usea.jpg differ diff --git a/app_product_superbar/static/description/z_hr1.gif b/app_product_superbar/static/description/z_hr1.gif new file mode 100644 index 00000000..6d232374 Binary files /dev/null and b/app_product_superbar/static/description/z_hr1.gif differ diff --git a/app_product_superbar/static/description/z_product1.gif b/app_product_superbar/static/description/z_product1.gif new file mode 100644 index 00000000..e471a66c Binary files /dev/null and b/app_product_superbar/static/description/z_product1.gif differ diff --git a/app_product_superbar/static/description/z_stock1.gif b/app_product_superbar/static/description/z_stock1.gif new file mode 100644 index 00000000..14e9c101 Binary files /dev/null and b/app_product_superbar/static/description/z_stock1.gif differ diff --git a/app_product_superbar/views/product_attribute_value_views.xml b/app_product_superbar/views/product_attribute_value_views.xml new file mode 100644 index 00000000..0b7c533d --- /dev/null +++ b/app_product_superbar/views/product_attribute_value_views.xml @@ -0,0 +1,41 @@ + + + + + product.attribute.value.tree + product.attribute.value + + + + + + + + + + + + app.product.attribute.value.search + product.attribute.value + + + + + + + + + + + + Attribute Values + ir.actions.act_window + product.attribute.value + tree + + + + + \ No newline at end of file diff --git a/app_product_superbar/views/product_views.xml b/app_product_superbar/views/product_views.xml new file mode 100644 index 00000000..94bdeff0 --- /dev/null +++ b/app_product_superbar/views/product_views.xml @@ -0,0 +1,20 @@ + + + + + app.product.template.search + product.template + + + + + + + + + + + + + + \ 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..43ef77af --- /dev/null +++ b/app_product_ztree/__manifest__.py @@ -0,0 +1,61 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-08-15 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +{ + 'name': "App Product category ztree, parent children tree", + 'version': '13.19.09.18', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'https://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.gif'], + '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..f7bbfac4 --- /dev/null +++ b/app_product_ztree/hooks.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-10-12 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://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..f1e36e3e --- /dev/null +++ b/app_product_ztree/i18n/zh_CN.po @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# +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/models/product_category.py b/app_product_ztree/models/product_category.py new file mode 100644 index 00000000..377ddafc --- /dev/null +++ b/app_product_ztree/models/product_category.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- + +# Created on 2017-11-28 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +from odoo import api, fields, models, exceptions, _ + +class ProductCategory(models.Model): + _inherit = 'product.category' + + # 更新 complete_name 算法,当有context: show_short =1 时,只显示短名 + @api.multi + def name_get(self): + if self._context.get('show_short'): + new_res = [] + for category in self: + name = category.name + new_res.append((category.id, name)) + return new_res + else: + return super(ProductCategory, self).name_get() 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..b48fc90d --- /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. +
  • +
  • + + Free to Use in product category. +
  • +
  • + + Free to Use in stock location. +
  • +
  • + + Free to 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.

+
+ +
+
+
+ +
+
+

Free to Use in product category.

+
+ +
+
+
+ +
+
+

Free to 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.

+ + https://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..2119750d --- /dev/null +++ b/app_product_ztree/views/product_views.xml @@ -0,0 +1,30 @@ + + + + + app.product.template.form + product.template + + + + + ztree_select + {'ztree_parent_key': 'parent_id','ztree_expend_level': '2', 'ztree_name_field': 'name', 'order': 'name' } + + + + + app.product.category.form + product.category + + + + + ztree_select + {'ztree_parent_key': 'parent_id','ztree_expend_level': '2', 'order': 'name' } + + + + + + \ No newline at end of file diff --git a/l10n_cn_standard_lastest/data/account.account.template.csv b/l10n_cn_standard_lastest/data/account.account.template.csv index b55ae69a..b2e200a9 100644 --- a/l10n_cn_standard_lastest/data/account.account.template.csv +++ b/l10n_cn_standard_lastest/data/account.account.template.csv @@ -122,11 +122,11 @@ account_2702,2702,未确认融资费用,,FALSE,account.data_account_type_current account_2711,2711,专项应付款,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest account_2801,2801,预计负债,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest account_2901,2901,递延所得税负债,,FALSE,account.data_account_type_current_liabilities,account_group_2,,l10n_chart_china_standard_business_latest -account_3001,3001,清算资金往来,,FALSE,l10n_cn.user_type_all,account_group_3,tag21,l10n_chart_china_standard_business_latest -account_3002,3002,货币兑换,,FALSE,l10n_cn.user_type_all,account_group_3,tag23,l10n_chart_china_standard_business_latest -account_3101,3101,衍生工具,,FALSE,l10n_cn.user_type_all,account_group_3,,l10n_chart_china_standard_business_latest -account_3201,3201,套期工具,,FALSE,l10n_cn.user_type_all,account_group_3,,l10n_chart_china_standard_business_latest -account_3202,3202,被套期项目,,FALSE,l10n_cn.user_type_all,account_group_3,,l10n_chart_china_standard_business_latest +account_3001,3001,清算资金往来,,FALSE,account.data_account_off_sheet,account_group_3,tag21,l10n_chart_china_standard_business_latest +account_3002,3002,货币兑换,,FALSE,account.data_account_off_sheet,account_group_3,tag23,l10n_chart_china_standard_business_latest +account_3101,3101,衍生工具,,FALSE,account.data_account_off_sheet,account_group_3,,l10n_chart_china_standard_business_latest +account_3201,3201,套期工具,,FALSE,account.data_account_off_sheet,account_group_3,,l10n_chart_china_standard_business_latest +account_3202,3202,被套期项目,,FALSE,account.data_account_off_sheet,account_group_3,,l10n_chart_china_standard_business_latest account_4001,4001,实收资本,,FALSE,account.data_account_type_equity,account_group_4,,l10n_chart_china_standard_business_latest account_4002,4002,资本公积,,FALSE,account.data_account_type_equity,account_group_4,,l10n_chart_china_standard_business_latest account_4101,4101,盈余公积,,FALSE,account.data_account_type_equity,account_group_4,,l10n_chart_china_standard_business_latest @@ -134,13 +134,13 @@ account_4102,4102,一般风险准备,,FALSE,account.data_account_type_equity,acc account_4103,4103,本年利润,,FALSE,account.data_account_type_equity,account_group_4,,l10n_chart_china_standard_business_latest account_4104,4104,利润分配,,FALSE,account.data_account_type_equity,account_group_4,,l10n_chart_china_standard_business_latest account_4201,4201,库存股,,FALSE,account.data_account_type_equity,account_group_4,,l10n_chart_china_standard_business_latest -account_5001,5001,生产成本,,FALSE,l10n_cn.user_type_all,account_group_5,,l10n_chart_china_standard_business_latest -account_5101,5101,制造费用,,FALSE,l10n_cn.user_type_all,account_group_5,,l10n_chart_china_standard_business_latest -account_5201,5201,劳务成本,,FALSE,l10n_cn.user_type_all,account_group_5,,l10n_chart_china_standard_business_latest -account_5301,5301,研发支出,,FALSE,l10n_cn.user_type_all,account_group_5,,l10n_chart_china_standard_business_latest -account_5401,5401,工程施工,,FALSE,l10n_cn.user_type_all,account_group_5,tag30,l10n_chart_china_standard_business_latest -account_5402,5402,工程结算,,FALSE,l10n_cn.user_type_all,account_group_5,tag30,l10n_chart_china_standard_business_latest -account_5403,5403,机械作业,,FALSE,l10n_cn.user_type_all,account_group_5,tag30,l10n_chart_china_standard_business_latest +account_5001,5001,生产成本,,FALSE,account.data_account_off_sheet,account_group_5,,l10n_chart_china_standard_business_latest +account_5101,5101,制造费用,,FALSE,account.data_account_off_sheet,account_group_5,,l10n_chart_china_standard_business_latest +account_5201,5201,劳务成本,,FALSE,account.data_account_off_sheet,account_group_5,,l10n_chart_china_standard_business_latest +account_5301,5301,研发支出,,FALSE,account.data_account_off_sheet,account_group_5,,l10n_chart_china_standard_business_latest +account_5401,5401,工程施工,,FALSE,account.data_account_off_sheet,account_group_5,tag30,l10n_chart_china_standard_business_latest +account_5402,5402,工程结算,,FALSE,account.data_account_off_sheet,account_group_5,tag30,l10n_chart_china_standard_business_latest +account_5403,5403,机械作业,,FALSE,account.data_account_off_sheet,account_group_5,tag30,l10n_chart_china_standard_business_latest account_6001,6001,主营业务收入,,FALSE,account.data_account_type_revenue,account_group_6,,l10n_chart_china_standard_business_latest account_6011,6011,利息收入,,FALSE,account.data_account_type_revenue,account_group_6,tag23,l10n_chart_china_standard_business_latest account_6021,6021,手续费及佣金收入,,FALSE,account.data_account_type_revenue,account_group_6,tag23,l10n_chart_china_standard_business_latest