diff --git a/app_stock_picking_type_group/__init__.py b/app_stock_picking_type_group/__init__.py new file mode 100644 index 00000000..d7cf7d9b --- /dev/null +++ b/app_stock_picking_type_group/__init__.py @@ -0,0 +1,8 @@ +# -*- coding: utf-8 -*- + +from . import models +from . import ir +from . import res + +from .hooks import pre_init_hook +from .hooks import post_init_hook \ No newline at end of file diff --git a/app_stock_picking_type_group/__manifest__.py b/app_stock_picking_type_group/__manifest__.py new file mode 100644 index 00000000..ed1193c1 --- /dev/null +++ b/app_stock_picking_type_group/__manifest__.py @@ -0,0 +1,58 @@ +# -*- coding: utf-8 -*- + +# Created on 2017-11-05 +# author: 广州尚鹏,http://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# http://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# http://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + + +{ + 'name': "App stock picking type group,库存作业类型分组", + 'version': '12.0.12.26', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'http://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'summary': """ + 广州尚鹏,Sunpop.cn 的odoo模块。用于将库存作业分组,UI更方便。 + """, + 'description': """ + 模块开发模板,目录结构与文件定义。 + """, + 'depends': ['stock'], + 'images': ['static/description/demo1.jpg'], + 'currency': 'EUR', + 'price': 18, + 'data': [ + 'security/ir.model.access.csv', + 'views/stock_picking_type_group_views.xml', + 'views/stock_picking_type_views.xml', + 'data/stock_picking_type_group_data.xml' + ], + 'demo': [ + ], + 'test': [ + ], + 'css': [ + ], + 'qweb': [ + ], + 'js': [ + ], + 'installable': True, + 'application': True, + 'auto_install': False, + 'pre_init_hook': 'pre_init_hook', + 'post_init_hook': 'post_init_hook', +} diff --git a/app_stock_picking_type_group/data/stock_picking_type_group_data.xml b/app_stock_picking_type_group/data/stock_picking_type_group_data.xml new file mode 100644 index 00000000..a14d0ab3 --- /dev/null +++ b/app_stock_picking_type_group/data/stock_picking_type_group_data.xml @@ -0,0 +1,21 @@ + + + + + 采购 + 3 + + + 制造 + 4 + + + 内部库存调拨 + 5 + + + 销售 + 6 + + + diff --git a/app_stock_picking_type_group/hooks.py b/app_stock_picking_type_group/hooks.py new file mode 100644 index 00000000..5aa385e4 --- /dev/null +++ b/app_stock_picking_type_group/hooks.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- + +# Created on 2017-11-05 +# author: 广州尚鹏,http://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# http://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# http://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +from odoo import api, SUPERUSER_ID, _ + +def pre_init_hook(cr): + pass + +def post_init_hook(cr, registry): + try: + env = api.Environment(cr, SUPERUSER_ID, {}) + g = env.ref('app_stock_picking_type_group.g_sale1', raise_if_not_found=False).id + cr.execute("UPDATE stock_picking_type SET picking_type_group_id = %s WHERE code='outgoing';" % g) + + env = api.Environment(cr, SUPERUSER_ID, {}) + g = env.ref('app_stock_picking_type_group.g_purchase1', raise_if_not_found=False).id + cr.execute("UPDATE stock_picking_type SET picking_type_group_id = %s WHERE code='incoming';" % g) + + env = api.Environment(cr, SUPERUSER_ID, {}) + g = env.ref('app_stock_picking_type_group.g_mrp1', raise_if_not_found=False).id + cr.execute("UPDATE stock_picking_type SET picking_type_group_id = %s WHERE code='mrp_operation';" % g) + + env = api.Environment(cr, SUPERUSER_ID, {}) + g = env.ref('app_stock_picking_type_group.g_stock1', raise_if_not_found=False).id + cr.execute("UPDATE stock_picking_type SET picking_type_group_id = %s WHERE code='internal';" % g) + pass + except Exception as e: + raise Warning(e) diff --git a/app_stock_picking_type_group/i18n/zh_CN.po b/app_stock_picking_type_group/i18n/zh_CN.po new file mode 100644 index 00000000..c5300514 --- /dev/null +++ b/app_stock_picking_type_group/i18n/zh_CN.po @@ -0,0 +1,140 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * app_stock_picking_type_group +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0+e-20180915\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-11-04 18:47+0000\n" +"PO-Revision-Date: 2018-11-04 18:47+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" + +#. module: app_stock_picking_type_group +#: model:ir.model.fields,field_description:app_stock_picking_type_group.field_stock_picking_type_group_active +msgid "Active" +msgstr "有效" + +#. module: app_stock_picking_type_group +#: model:ir.actions.act_window,name:app_stock_picking_type_group.action_picking_type_group_list +msgid "All Picking Types Group" +msgstr "作业类型分组" + +#. module: app_stock_picking_type_group +#: model:ir.actions.act_window,help:app_stock_picking_type_group.action_picking_type_group_list +msgid "Click to define a new picking type group." +msgstr "点击创建一条新的记录." + +#. module: app_stock_picking_type_group +#: model:ir.model.fields,field_description:app_stock_picking_type_group.field_stock_picking_type_group_color +msgid "Color" +msgstr "颜色" + +#. module: app_stock_picking_type_group +#: model:ir.model.fields,field_description:app_stock_picking_type_group.field_stock_picking_type_group_create_uid +msgid "Created by" +msgstr "创建人" + +#. module: app_stock_picking_type_group +#: model:ir.model.fields,field_description:app_stock_picking_type_group.field_stock_picking_type_group_create_date +msgid "Created on" +msgstr "创建时间" + +#. module: app_stock_picking_type_group +#: model:ir.model.fields,field_description:app_stock_picking_type_group.field_stock_picking_type_group_display_name +msgid "Display Name" +msgstr "显示名称" + +#. module: app_stock_picking_type_group +#: model:ir.ui.view,arch_db:app_stock_picking_type_group.app_view_pickingtype_filter +msgid "Group By" +msgstr "分组" + +#. module: app_stock_picking_type_group +#: model:ir.model,name:app_stock_picking_type_group.model_stock_picking_type_group +msgid "Group the picking view" +msgstr "作业类型分组" + +#. module: app_stock_picking_type_group +#: model:ir.model.fields,field_description:app_stock_picking_type_group.field_stock_picking_type_group_id +msgid "ID" +msgstr "ID" + +#. module: app_stock_picking_type_group +#: model:ir.model.fields,field_description:app_stock_picking_type_group.field_stock_picking_type_group___last_update +msgid "Last Modified on" +msgstr "最后修改时间" + +#. module: app_stock_picking_type_group +#: model:ir.model.fields,field_description:app_stock_picking_type_group.field_stock_picking_type_group_write_uid +msgid "Last Updated by" +msgstr "最后更新者" + +#. module: app_stock_picking_type_group +#: model:ir.model.fields,field_description:app_stock_picking_type_group.field_stock_picking_type_group_write_date +msgid "Last Updated on" +msgstr "最后更新时间" + +#. module: app_stock_picking_type_group +#: model:stock.picking.type.group,name:app_stock_picking_type_group.stock_picking_type_group_mrp +msgid "Manufacturing" +msgstr "制造组" + +#. module: app_stock_picking_type_group +#: model:ir.model.fields,field_description:app_stock_picking_type_group.field_stock_picking_type_picking_type_group_id +#: model:ir.ui.view,arch_db:app_stock_picking_type_group.app_view_pickingtype_filter +msgid "Picking Type Group" +msgstr "作业类型分组" + +#. module: app_stock_picking_type_group +#: model:ir.model.fields,field_description:app_stock_picking_type_group.field_stock_picking_type_group_name +msgid "Picking Type Group Name" +msgstr "分组名称" + +#. module: app_stock_picking_type_group +#: model:ir.ui.menu,name:app_stock_picking_type_group.menu_pickingtype_group +#: model:ir.ui.view,arch_db:app_stock_picking_type_group.app_view_picking_type_group_form +#: model:ir.ui.view,arch_db:app_stock_picking_type_group.app_view_picking_type_group_tree +msgid "Picking Types Group" +msgstr "作业类型分组" + +#. module: app_stock_picking_type_group +#: model:stock.picking.type.group,name:app_stock_picking_type_group.stock_picking_type_group_purchase +msgid "Purchase" +msgstr "采购组" + +#. module: app_stock_picking_type_group +#: model:stock.picking.type.group,name:app_stock_picking_type_group.stock_picking_type_group_sale +msgid "Sales" +msgstr "销售组" + +#. module: app_stock_picking_type_group +#: model:ir.model.fields,field_description:app_stock_picking_type_group.field_stock_picking_type_group_sequence +msgid "Sequence" +msgstr "序列" + +#. module: app_stock_picking_type_group +#: model:stock.picking.type.group,name:app_stock_picking_type_group.stock_picking_type_group_stock +msgid "Stock" +msgstr "库存组" + +#. module: app_stock_picking_type_group +#: model:ir.model,name:app_stock_picking_type_group.model_stock_picking_type +msgid "The operation type determines the picking view" +msgstr "操作类型决定分拣视图" + +#. module: app_stock_picking_type_group +#: model:ir.model.fields,help:app_stock_picking_type_group.field_stock_picking_type_group_sequence +msgid "Used to order the 'All Operations' kanban view" +msgstr "用于订购“所有作业”看板视图" + +#. module: app_stock_picking_type_group +#: model:ir.ui.view,arch_db:app_stock_picking_type_group.app_view_pickingtype_filter +msgid "Warehouse" +msgstr "仓库" + diff --git a/app_stock_picking_type_group/ir/__init__.py b/app_stock_picking_type_group/ir/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/app_stock_picking_type_group/ir/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/app_stock_picking_type_group/models/__init__.py b/app_stock_picking_type_group/models/__init__.py new file mode 100644 index 00000000..81a9af2a --- /dev/null +++ b/app_stock_picking_type_group/models/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- + +from . import stock_picking_type_group +from . import stock_picking_type diff --git a/app_stock_picking_type_group/models/stock_picking_type.py b/app_stock_picking_type_group/models/stock_picking_type.py new file mode 100644 index 00000000..a8808b38 --- /dev/null +++ b/app_stock_picking_type_group/models/stock_picking_type.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- + +from odoo import api, fields, models, _ +from odoo.exceptions import UserError + + +class PickingType(models.Model): + _inherit = "stock.picking.type" + + picking_type_group_id = fields.Many2one('stock.picking.type.group', 'Picking Type Group') + diff --git a/app_stock_picking_type_group/models/stock_picking_type_group.py b/app_stock_picking_type_group/models/stock_picking_type_group.py new file mode 100644 index 00000000..9d3c276f --- /dev/null +++ b/app_stock_picking_type_group/models/stock_picking_type_group.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from collections import namedtuple +import json +import time + +from odoo import api, fields, models, _ +from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT +from odoo.exceptions import UserError + + +class PickingTypeGroup(models.Model): + _name = "stock.picking.type.group" + _description = "Group the picking view" + _order = 'sequence, id' + + name = fields.Char('Picking Type Group Name', required=True, translate=True) + color = fields.Integer('Color') + sequence = fields.Integer('Sequence', help="Used to order the 'All Operations' kanban view") + active = fields.Boolean('Active', default=True) diff --git a/app_stock_picking_type_group/report/__init__.py b/app_stock_picking_type_group/report/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/app_stock_picking_type_group/report/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/app_stock_picking_type_group/res/__init__.py b/app_stock_picking_type_group/res/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/app_stock_picking_type_group/res/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/app_stock_picking_type_group/security/ir.model.access.csv b/app_stock_picking_type_group/security/ir.model.access.csv new file mode 100644 index 00000000..812b4fa2 --- /dev/null +++ b/app_stock_picking_type_group/security/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_stock_picking_type_group_all,stock.picking.type.group all users,model_stock_picking_type_group,base.group_user,1,0,0,0 +access_stock_picking_type_group_user,stock.picking.type.group user,model_stock_picking_type_group,stock.group_stock_user,1,0,0,0 +access_stock_picking_type_group_manager,stock.picking.type.group manager,model_stock_picking_type_group,stock.group_stock_manager,1,1,1,1 diff --git a/app_stock_picking_type_group/static/description/demo1.jpg b/app_stock_picking_type_group/static/description/demo1.jpg new file mode 100644 index 00000000..3c669442 Binary files /dev/null and b/app_stock_picking_type_group/static/description/demo1.jpg differ diff --git a/app_stock_picking_type_group/static/description/demo2.jpg b/app_stock_picking_type_group/static/description/demo2.jpg new file mode 100644 index 00000000..9602df13 Binary files /dev/null and b/app_stock_picking_type_group/static/description/demo2.jpg differ diff --git a/app_stock_picking_type_group/static/description/demo4.jpg b/app_stock_picking_type_group/static/description/demo4.jpg new file mode 100644 index 00000000..11f74272 Binary files /dev/null and b/app_stock_picking_type_group/static/description/demo4.jpg differ diff --git a/app_stock_picking_type_group/static/description/icon.png b/app_stock_picking_type_group/static/description/icon.png new file mode 100644 index 00000000..2a04f219 Binary files /dev/null and b/app_stock_picking_type_group/static/description/icon.png differ diff --git a/app_stock_picking_type_group/static/description/index.html b/app_stock_picking_type_group/static/description/index.html new file mode 100644 index 00000000..8d53dcc0 --- /dev/null +++ b/app_stock_picking_type_group/static/description/index.html @@ -0,0 +1,71 @@ +
+
+
+

App stock picking type group

+
+

This moduld allows user to .

+

More Powerful addons: + Supop.cn Odoo Addons +

+
+

Lastest update: v10.0.3.27, 2018-03-27

+
    +
  • 1. Manager picking type groups
  • +
  • 2. Group by picking type groups in stock dashboard
  • +
+
+ +
+

Base setup:

+
    +
  • 1. Go to Inventory->Configuration->Warehouse Management
  • +
  • 2. Set Picking Type Group for the certain type
  • +
+ +
+
+ +
+

After setup, the view would look like:

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

Technical Help & Support

+
+
+
+

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

+ + guohuadeng@hotmail.com +

+ Via QQ: 300883

+ + 300883@qq.com +
+
+

+ Visit our website for more support.

+ + http://www.sunpop.cn +
+
+
+
+ diff --git a/app_stock_picking_type_group/static/description/setup.jpg b/app_stock_picking_type_group/static/description/setup.jpg new file mode 100644 index 00000000..b1a4aff9 Binary files /dev/null and b/app_stock_picking_type_group/static/description/setup.jpg differ diff --git a/app_stock_picking_type_group/views/stock_picking_type_group_views.xml b/app_stock_picking_type_group/views/stock_picking_type_group_views.xml new file mode 100644 index 00000000..54c3069a --- /dev/null +++ b/app_stock_picking_type_group/views/stock_picking_type_group_views.xml @@ -0,0 +1,55 @@ + + + + Picking types group + stock.picking.type.group + + + + + + + + + + + Picking types group + stock.picking.type.group + +
+ +
+ +
+ + + + + + + + +
+
+
+
+ + + All Picking Types Group + stock.picking.type.group + ir.actions.act_window + form + list,form + +

+ Click to define a new picking type group. +

+
+ +
+ + +
diff --git a/app_stock_picking_type_group/views/stock_picking_type_views.xml b/app_stock_picking_type_group/views/stock_picking_type_views.xml new file mode 100644 index 00000000..3149a402 --- /dev/null +++ b/app_stock_picking_type_group/views/stock_picking_type_views.xml @@ -0,0 +1,57 @@ + + + + stock.picking.type.filter + stock.picking.type + + + + + + + + + + Picking types + stock.picking.type + + + + + + + + + + Operation Types + stock.picking.type + + + + + + + + + + {"search_default_groupby_picking_type_group_id":1} + + + + + + + + + + + + + + + + + + + + diff --git a/app_stock_superbar/__init__.py b/app_stock_superbar/__init__.py new file mode 100644 index 00000000..86764a0e --- /dev/null +++ b/app_stock_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_stock_superbar/__manifest__.py b/app_stock_superbar/__manifest__.py new file mode 100644 index 00000000..553870e4 --- /dev/null +++ b/app_stock_superbar/__manifest__.py @@ -0,0 +1,61 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-08-15 +# author: 广州尚鹏,http://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# http://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# http://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +{ + 'name': "Stock Superbar ztree, parent children tree", + 'version': '12.0.10.15', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'http://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'summary': """ + Use for parent children tree list select navigator. stock location tree. + ztree widget. + """, + 'description': """ + zTree widget. + Advance search with real parent children tree, ListView or KanbanView , + eg: Product category tree ,Department tree, stock location tree. + 超级方便的查询,树状视图。 + """, + 'price': 0.00, + 'currency': 'EUR', + 'depends': [ + 'stock', + ], + 'images': ['static/description/banner.gif'], + 'data': [ + 'views/stock_views.xml', + ], + 'demo': [ + ], + 'test': [ + ], + 'css': [ + ], + 'qweb': [ + 'static/src/xml/*.xml', + ], + 'js': [ + ], + 'post_load': None, + 'post_init_hook': 'post_init_hook', + 'installable': True, + 'application': True, + 'auto_install': False, +} diff --git a/app_stock_superbar/hooks.py b/app_stock_superbar/hooks.py new file mode 100644 index 00000000..3f9582b9 --- /dev/null +++ b/app_stock_superbar/hooks.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-10-12 +# author: 广州尚鹏,http://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo在线中文用户手册(长期更新) +# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# http://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# http://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +def post_init_hook(cr, pool): + pass + # cr.execute("") diff --git a/app_stock_superbar/i18n/zh_CN.po b/app_stock_superbar/i18n/zh_CN.po new file mode 100644 index 00000000..f1e36e3e --- /dev/null +++ b/app_stock_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_stock_superbar/models/__init__.py b/app_stock_superbar/models/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/app_stock_superbar/models/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/app_stock_superbar/report/__init__.py b/app_stock_superbar/report/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/app_stock_superbar/report/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/app_stock_superbar/static/description/banner.gif b/app_stock_superbar/static/description/banner.gif new file mode 100644 index 00000000..ac3c0327 Binary files /dev/null and b/app_stock_superbar/static/description/banner.gif differ diff --git a/app_stock_superbar/static/description/demo1.jpg b/app_stock_superbar/static/description/demo1.jpg new file mode 100644 index 00000000..fd538628 Binary files /dev/null and b/app_stock_superbar/static/description/demo1.jpg differ diff --git a/app_stock_superbar/static/description/demo11.jpg b/app_stock_superbar/static/description/demo11.jpg new file mode 100644 index 00000000..72ad356b Binary files /dev/null and b/app_stock_superbar/static/description/demo11.jpg differ diff --git a/app_stock_superbar/static/description/demo12.jpg b/app_stock_superbar/static/description/demo12.jpg new file mode 100644 index 00000000..ecc58186 Binary files /dev/null and b/app_stock_superbar/static/description/demo12.jpg differ diff --git a/app_stock_superbar/static/description/demo2.jpg b/app_stock_superbar/static/description/demo2.jpg new file mode 100644 index 00000000..b856e71d Binary files /dev/null and b/app_stock_superbar/static/description/demo2.jpg differ diff --git a/app_stock_superbar/static/description/demo3.jpg b/app_stock_superbar/static/description/demo3.jpg new file mode 100644 index 00000000..e82b0990 Binary files /dev/null and b/app_stock_superbar/static/description/demo3.jpg differ diff --git a/app_stock_superbar/static/description/demo4.jpg b/app_stock_superbar/static/description/demo4.jpg new file mode 100644 index 00000000..4a4abce1 Binary files /dev/null and b/app_stock_superbar/static/description/demo4.jpg differ diff --git a/app_stock_superbar/static/description/demo5.jpg b/app_stock_superbar/static/description/demo5.jpg new file mode 100644 index 00000000..849b7841 Binary files /dev/null and b/app_stock_superbar/static/description/demo5.jpg differ diff --git a/app_stock_superbar/static/description/icon.png b/app_stock_superbar/static/description/icon.png new file mode 100644 index 00000000..57e223d0 Binary files /dev/null and b/app_stock_superbar/static/description/icon.png differ diff --git a/app_stock_superbar/static/description/index.html b/app_stock_superbar/static/description/index.html new file mode 100644 index 00000000..96083879 --- /dev/null +++ b/app_stock_superbar/static/description/index.html @@ -0,0 +1,181 @@ +
+
+

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

+

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

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

Use in stock location.

+
+ +
+
+
+ +
+
+

Use in product.

+
+ +
+
+
+ +
+
+

Use in product category.

+
+ +
+
+
+ + +
+
+

Use in hr department.

+
+ +
+
+
+ +
+
+

Use in hr employee.

+
+ +
+
+
+ + +
+
+

 

+

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

+

Product, employee in kanban view

+
+ +
+
+
+ +
+
+

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

+
+ +
+
+
+ +
+
+

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

+
+ +
+


Use follow param to setup widget:

+

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

+

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

+

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

+

order: --the field to order by

+
+
+
+
+
+

Technical Help & Support

+
+
+
+

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

+ + guohuadeng@hotmail.com +

+ Via QQ: 300883

+ + 300883@qq.com +
+
+

+ Visit our website for more support.

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