diff --git a/app_event_superbar/__init__.py b/app_event_superbar/__init__.py new file mode 100644 index 00000000..ba9b1b49 --- /dev/null +++ b/app_event_superbar/__init__.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- + +# please comment follow for produce +from . import models +from . import controllers + +# hook form install and uninstall + +from .hooks import pre_init_hook +from .hooks import post_init_hook +from .hooks import uninstall_hook diff --git a/app_event_superbar/__manifest__.py b/app_event_superbar/__manifest__.py new file mode 100644 index 00000000..75f7f735 --- /dev/null +++ b/app_event_superbar/__manifest__.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-08-15 +# author: 欧度智能,https://www.odooai.cn +# email: 300883@qq.com +# resource of odooai +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.odooai.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.odooai.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.odooai.cn/odoo10_developer_document_offline/ +# description: + +{ + 'name': "Event advance search browse by stage", + 'version': '18.0.24.11.12', + 'author': 'odooai.cn', + 'category': 'Extra tools', + 'website': 'https://www.odooai.cn', + 'live_test_url': 'https://demo.odooapp.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'summary': """ + Browse event by stage. Use for parent children tree list kanban navigator. + ztree widget. + """, + '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': [ + 'event', + ], + 'images': ['static/description/banner.png'], + 'data': [ + 'views/event_event_views.xml', + 'views/event_tag_views.xml', + ], + 'demo': [ + ], + 'test': [ + ], + 'post_load': None, + 'post_init_hook': 'post_init_hook', + 'installable': True, + 'application': True, + 'auto_install': False, +} diff --git a/app_event_superbar/controllers/__init__.py b/app_event_superbar/controllers/__init__.py new file mode 100644 index 00000000..83118e09 --- /dev/null +++ b/app_event_superbar/controllers/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +# from . import main diff --git a/app_event_superbar/controllers/main.py b/app_event_superbar/controllers/main.py new file mode 100644 index 00000000..40f7c0fb --- /dev/null +++ b/app_event_superbar/controllers/main.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from odoo import http diff --git a/app_event_superbar/hooks.py b/app_event_superbar/hooks.py new file mode 100644 index 00000000..8f76cdea --- /dev/null +++ b/app_event_superbar/hooks.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- + +# Created on 2023-10-06 +# author: 欧度智能,https://www.odooai.cn +# email: 300883@qq.com +# Copyright (C) 2009~2024 odooAi.cn + +# Odoo16在线用户手册(长期更新) +# https://www.odooai.cn/documentation/16.0/zh_CN/index.html + +# Odoo16在线开发者手册(长期更新) +# https://www.odooai.cn/documentation/16.0/zh_CN/developer.html + +from odoo import api, SUPERUSER_ID, _ + + +def pre_init_hook(env): + pass + # cr.execute("") + + +def post_init_hook(env): + pass + # cr.execute("") + + +def uninstall_hook(env): + pass + # cr.execute("") diff --git a/app_event_superbar/i18n/README.txt b/app_event_superbar/i18n/README.txt new file mode 100644 index 00000000..222b84cd --- /dev/null +++ b/app_event_superbar/i18n/README.txt @@ -0,0 +1,2 @@ +Please follow this tutorial for more guides: +https://www.odoo.com/documentation/master/developer/misc/i18n/translations.html \ No newline at end of file diff --git a/app_event_superbar/i18n/zh_CN.po b/app_event_superbar/i18n/zh_CN.po new file mode 100644 index 00000000..dbf751e2 --- /dev/null +++ b/app_event_superbar/i18n/zh_CN.po @@ -0,0 +1,15 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0+e-20231124\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-11-28 09:01+0000\n" +"PO-Revision-Date: 2023-11-28 09:01+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_event_superbar/models/__init__.py b/app_event_superbar/models/__init__.py new file mode 100644 index 00000000..13aa9e49 --- /dev/null +++ b/app_event_superbar/models/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- +# Part of odooAi.cn. See LICENSE file for full copyright and licensing details. + +# from . import product_template diff --git a/app_event_superbar/security/app_security.xml b/app_event_superbar/security/app_security.xml new file mode 100644 index 00000000..99b55a21 --- /dev/null +++ b/app_event_superbar/security/app_security.xml @@ -0,0 +1,41 @@ + + + + + + App... + Helps you manage your ... + 8 + + + + + App User + + + The user will be able to ... + + + + + App Admin + + + The user will be able to config ... + + + + + + + + + + + + + + + + + diff --git a/app_event_superbar/security/ir.model.access.csv b/app_event_superbar/security/ir.model.access.csv new file mode 100644 index 00000000..58262d44 --- /dev/null +++ b/app_event_superbar/security/ir.model.access.csv @@ -0,0 +1 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink \ No newline at end of file diff --git a/app_event_superbar/static/description/banner.png b/app_event_superbar/static/description/banner.png new file mode 100644 index 00000000..e3491918 Binary files /dev/null and b/app_event_superbar/static/description/banner.png differ diff --git a/app_event_superbar/static/description/icon.png b/app_event_superbar/static/description/icon.png new file mode 100644 index 00000000..23ac0bd7 Binary files /dev/null and b/app_event_superbar/static/description/icon.png differ diff --git a/app_event_superbar/static/description/index.html b/app_event_superbar/static/description/index.html new file mode 100644 index 00000000..c7699174 --- /dev/null +++ b/app_event_superbar/static/description/index.html @@ -0,0 +1,498 @@ + + + +
+

Event Advance search, Event addon for Superbar

+

Free to use. Get extra paid Apps for more powerful.

+

Advance quick search for various field in all odoo app.Support list, kanban, pivot, graph, search more views.

+
+ + + +
+

+ - Get + app_web_super + for more Features - +

+
+
+
+
+
+
+ +
+ 1 +
+

Quick Advance Search and navigator for all app data.

+

10+ free odoo app search in box.

+
+
+ 2 +
+

Quick search in tree list header. 

+

Date range, Datetime, selection, number supported.

+
+
+
+ 3 +
+

Advance search sidebar for many2one, many2many field.

+

m2o search, m2m search for multi select.

+
+
+ 4 +
+

Advance siderbar for date range search, datetime search.

+

Extra for boolean search, selection search, number search.

+
+ + +
+
+
+
+ +
+ 5 +
+

Search sidebar for list, kanban.

+

Add more pivot, graph views than origin odoo.

+
+
+ 6 +
+

Support navigate in search more.

+

Quick filter and search for m2o or m2m field.

+
+
+ 7 +
+

Easy customize for any app. any module. 

+

Extra param for searchpanel. view_types, class, name_field, icon

+
+
+
+ 8 +
+

All app Advance search Out-of-Box.

+

Product, CRM, Sales, Purchase, MRP, Stock, Accounting, HR, Project, Etc.

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

- Demo Video -

+
+
+
+
+
+
+
+ +
+


+
+
+ Click above to Play. or go + Youtube Video of odoo Advance Search Superbar +
+
+

Demo Gif Animation if you can not get video

+ +
+
+ + + +
+
+

- Feature Guide -

+
+
+
+
+
+ +
+
+

All in One Search

+

Quick Advance Search and navigator for all app data.

+
+ +
+

Quick search in tree list header.

+
+ +
+

Search sidebar for M2O M2M, date range, boolean search, selection search, number search.

+
+ +
+

Filter any data like product in search more windows

+
+ +
+
+
+

Product Search

+

Use in product and Category.

+
+ +
+

Filter product or any data in search more windows

+
+ +
+
+
+

Sale Search with list header

+
+ +
+

Sale Search with sidebar

+
+ +
+
+
+

Purchase Search with sidebar and list header

+
+ +
+

Vender Price Search

+
+ +
+

Purchase report Search

+
+ +
+
+
+

Stock Inventory Search

+
+ +
+

Operation Type Search

+
+ +
+

Lot Serial Search

+
+ +
+
+
+

CRM Search

+
+ +
+

Leads Report Search

+
+ +
+
+
+

MRP Search

+
+ +
+

Work Order

+
+ +
+
+
+

POS point of sale Search

+
+ +
+

POS Report

+
+ +
+
+
+

HR employee Search

+
+ +
+
+
+

Account Search

+
+ +
+

Customer Invoice, Vendor Bill, Journal Entries Search

+
+ +
+

Journal Item Search

+
+ +
+
+
+

Project Search

+
+ +
+

Task Report Search

+
+ +
+
+
+

Partner contacts Search

+
+ +
+
+
+

Admin Search

+

Menu Quick Search

+
+ +
+

Action Search

+
+ +
+

Report Search

+
+ +
+

Views Search

+
+ +
+

Attachment Search

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

Get + + free 20+ Free related apps. + +

+

Visit to get our [app_web_superbar] Demo

+

https://demo.odooapp.cn

+
+
+
+ Free download: + +
+
+ + +
+

- How to setup and use -

+

This app need no extra module. The price already included

+
+
+
+

+ 1. Buy and Install app_web_superbar. +

+

2. Easy use of superbar

+
+

Show superbar in list view.

+
+ +
+

Show superbar in kanban view.

+
+ +
+

Show superbar in pivot view.

+
+ +
+

Show superbar in graph view.

+
+ +
+
+

3. If you want to customize, Use follow param to setup widget

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

Technical Help & Support

+
+
+
+

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

+ + odoo@china.com +

+ Via QQ: 300883 (App user would not get QQ or any other IM support. Only for odoo project customize.)

+ + 300883@qq.com +
+
+

Visit our website for more support.

+

https://www.odooai.cn

+
+
+
+
+ + diff --git a/app_event_superbar/static/img/icon_odooai.png b/app_event_superbar/static/img/icon_odooai.png new file mode 100644 index 00000000..e69de29b diff --git a/app_event_superbar/static/img/icon_odooapp.png b/app_event_superbar/static/img/icon_odooapp.png new file mode 100644 index 00000000..e69de29b diff --git a/app_event_superbar/static/img/logo_odooai.png b/app_event_superbar/static/img/logo_odooai.png new file mode 100644 index 00000000..e69de29b diff --git a/app_event_superbar/static/src/js/odooai.cn b/app_event_superbar/static/src/js/odooai.cn new file mode 100644 index 00000000..e69de29b diff --git a/app_event_superbar/static/src/scss/odooai.cn b/app_event_superbar/static/src/scss/odooai.cn new file mode 100644 index 00000000..e69de29b diff --git a/app_event_superbar/static/src/scss/style.scss b/app_event_superbar/static/src/scss/style.scss new file mode 100644 index 00000000..02d893e9 --- /dev/null +++ b/app_event_superbar/static/src/scss/style.scss @@ -0,0 +1,18 @@ +// scss sample, 样例navbar在下方的特殊处理 +.o_web_client { + //userMenu + .o_burger_menu { + width: 80%; + .o_burger_menu_topbar { + height: var(--o-navbar-height); + } + &.flex-column { + flex-direction: column-reverse!important; + } + .oi:before, .fa:before, .dropdown-toggle { + font-size: 2em; + line-height: var(--o-navbar-height); + } + } +} + diff --git a/app_event_superbar/static/src/xml/odooai.cn b/app_event_superbar/static/src/xml/odooai.cn new file mode 100644 index 00000000..e69de29b diff --git a/app_event_superbar/views/event_event_views.xml b/app_event_superbar/views/event_event_views.xml new file mode 100644 index 00000000..8f890a18 --- /dev/null +++ b/app_event_superbar/views/event_event_views.xml @@ -0,0 +1,16 @@ + + + + + app.event.event.search.superbar + event.event + + + + + + + + + + diff --git a/app_event_superbar/views/event_tag_views.xml b/app_event_superbar/views/event_tag_views.xml new file mode 100644 index 00000000..fd07f26e --- /dev/null +++ b/app_event_superbar/views/event_tag_views.xml @@ -0,0 +1,16 @@ + + + + app.event.tag.search + event.tag + + + + + + + + + + + \ No newline at end of file diff --git a/app_event_superbar/wizard/odooai.cn b/app_event_superbar/wizard/odooai.cn new file mode 100644 index 00000000..e69de29b