add free superbar

This commit is contained in:
Ivan Office
2024-07-18 17:33:31 +08:00
parent f069ebb88f
commit b8a91c9bd8
48 changed files with 1106 additions and 364 deletions

View File

@@ -1,109 +1,54 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Created on 2023-10-06 # Created on 2018-08-15
# author: 欧度智能https://www.odooai.cn # author: 欧度智能https://www.odooai.cn
# email: 300883@qq.com # email: 300883@qq.com
# Copyright (C) 2009~2023 odooAi.cn # resource of odooai
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
# Odoo16在线用户手册(长期更新) # Odoo在线中文用户手册(长期更新)
# https://www.odooai.cn/documentation/16.0/zh_CN/index.html # https://www.odooai.cn/documentation/user/10.0/zh_CN/index.html
# Odoo16在线开发者手册长期更新 # Odoo10离线中文用户手册下载
# https://www.odooai.cn/documentation/16.0/zh_CN/developer.html # https://www.odooai.cn/odoo10_user_manual_document_offline/
# Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备
############################################################################## # https://www.odooai.cn/odoo10_developer_document_offline/
# Copyright (C) 2009-TODAY odooAi.cn Ltd. https://www.odooai.cn # description:
# Author: Ivan Deng300883@qq.com
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
# See <http://www.gnu.org/licenses/>.
#
# It is forbidden to publish, distribute, sublicense, or sell copies
# of the Software or modified copies of the Software.
##############################################################################
{ {
'name': 'App Event browse by stage and starting date', 'name': "Event advance search browse by stage",
'version': '24.07.18', 'version': '24.07.18',
'author': 'odooai.cn', 'author': 'odooai.cn',
'category': 'Extra tools', 'category': 'Extra tools',
'website': 'https://www.odooai.cn', 'website': 'https://www.odooai.cn',
'live_test_url': 'https://demo.odooapp.cn', 'live_test_url': 'https://demo.odooapp.cn',
'license': 'OPL-1', 'license': 'LGPL-3',
'sequence': 2, '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, 'price': 0.00,
'currency': 'EUR', 'currency': 'EUR',
'images': ['static/description/banner.gif'],
'summary': '''
Odoo module template. module sample with 170+ widget list. Clone this sample to your name to quick create your odoo addons.
Developer reference guides, Developer Tutorials.
Sample manifest, .py, .xml views and data. report, action, menu..
''',
'description': '''
Just Rename the sample app to your name to quick create new module.
All file follow odoo rule with comments.
Support Odoo 17,16,15,14,13,12, Enterprise and Community and odoo.sh Edition
Odoo Developr rule from here
https://www.odooai.cn/documentation/16.0/developer.html
1. A full Sample module app of odoo addons. All the code, views, data ,banner, icon and description sample follow the odoo rule.
2. Sample manifest file. Including structure and name and description etc, all field sample. Security xml and csv file for role group access rule.
Sample icon, banner, index.html, install/uninstall hooks.
Follow most odoo rule follow
https://www.odooai.cn/documentation/16.0/contributing/development/coding_guidelines.html
3. Sample .py models file, for new model and inherit model
4. Sample .xml views file for models, with list, kanban, form, search
5. Sample controllers file for website data publish and api developer. including how inherit odoo portal home.
6. Sample report design file. .py file with how sql define. .xml file for graph and pivot.
7. Sample action and menu file. Root menu and menu group and action menu.
8. Ui misc sample. Alert like info and special field setup.
9. Odoo Widget sample. 170+ widget list document and Frequently Used Sample.
10. Quick access odoo developer Tutorials online. Document online for chinese and english. Fast visit in China.
11. Multi-language Support. Multi-Company Support.
12. Support Odoo 17,16,15,14,13,12, Enterprise and Community and odoo.sh Edition.
13. Full Open Source.
========== 中文说明
1. 一个完整的odoo插件模块应用程序示例所有代码、视图和数据都遵循odoo规则
2. Manifest示例清单文件。包括结构、名称和描述等所有字段样例。安全xml和csv文件用于控制访问规则
全部遵循odoo规则 https://www.odooai.cn/documentation/16.0/zh_CN/developer/reference/backend/module.html#reference-module-manifest
3. .py 示例文件,包括新模型和继承模型的示例
4. .xml 示例视图文件,包括列表、看板、表单、搜索等
5. controllers 示例文件,用于门户网站对外数据发布及 api 接口开发。例子包含对 odoo portal 门户的继承处理
6. report报告设计文件示例。包括如何定义 sql 生成视图的.py文件用于 graph 和 pivot的.xml文件。
7. action 动作 和 menu 菜单文件示例。
8. 特殊Ui样例包括 Alert role 信息及特殊字段展现设置。
9. Odoo Widget 使用指导,包括 170+小部件清单,常用 widget 用法。
10.快速访问在线Odoo开发人员教程。
11. 多语言支持,多公司支持
12. Odoo 17,16,15,14,13,12, 企业版社区版在线SaaS.sh版等全版本支持
13. 代码完全开源
''',
'depends': [ 'depends': [
'event', 'event',
'app_web_superbar_pro'
], ],
'images': ['static/description/banner.png'],
'data': [ 'data': [
# please add your file
# please comment follow on ur produce odoo
# 'security/app_security.xml',
# 'security/ir.model.access.csv',
'views/event_event_views.xml', 'views/event_event_views.xml',
# 'views/menu_views.xml',
# 'views/website_templates.xml',
], ],
'assets': {
'web.assets_frontend': [
# 'app_/static/src/scss/style.scss',
],
'web.assets_backend': [
# 'app_/static/src/js/*.js',
],
},
'demo': [ 'demo': [
# 'views/website_templates.xml',
], ],
# 'pre_init_hook': 'pre_init_hook', 'test': [
# 'post_init_hook': 'post_init_hook', ],
# 'uninstall_hook': 'uninstall_hook', 'post_load': None,
'post_init_hook': 'post_init_hook',
'installable': True, 'installable': True,
'application': True, 'application': True,
'auto_install': False, 'auto_install': False,

View File

@@ -14,16 +14,16 @@
from odoo import api, SUPERUSER_ID, _ from odoo import api, SUPERUSER_ID, _
def pre_init_hook(cr): def pre_init_hook(env):
pass pass
# cr.execute("") # cr.execute("")
def post_init_hook(cr, registry): def post_init_hook(env):
pass pass
# cr.execute("") # cr.execute("")
def uninstall_hook(cr, registry): def uninstall_hook(env):
pass pass
# cr.execute("") # cr.execute("")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -8,39 +8,98 @@
<html> <html>
<!-- begin title--> <!-- begin title-->
<section class="oe_container container o_cc o_cc2"> <section class="oe_container container o_cc o_cc2">
<h2 class="text-center bg-warning text-white pt24 pb24">Odoo Module Template. App sample with widget. </h2> <h2 class="text-center bg-warning text-white pt24 pb24">Event Advance search, Event addon for Superbar</h2>
<h3 class="text-center">Odoo开发规范模板,Widget清单与使用样例</h3> <h3 class="text-center">Free to use. Get extra paid Apps for more powerful.</h3>
<h4 class="text-center">Sample Description of app. video and brief and detail demo snap and text</h4> <h4 class="text-center">Advance quick search for various field in all odoo app.Support list, kanban, pivot, graph, search more views.</h4>
</section> </section>
<!-- end title--> <!-- end title-->
<!-- begin video--> <!-- begin features-->
<section class="s_text_block o_colored_level pt16 pb16"> <section class="oe_container container s_text_block o_colored_level pt16 pb16">
<div class="container s_allow_columns"> <h2 class="text-center bg-info text-white pt16 pb16">
<p class="text-center bg-info text-white pt16 pb16">Just Clone this sample to your name to quick create your odoo addons</p> - Get
<h2 class="text-center bg-info text-white pt16 pb16">- Sample Local Video. Change to your video -</h2> <a href="https://www.odoo.com/apps/modules/17.0/app_web_superbar/"> app_web_super </a>
</div> for more Features -
<!-- local video--> </h2>
</section>
<section class="s_features_grid pt24 pb24 o_colored_level" data-snippet="s_features_grid" data-name="Features Grid">
<div class="container"> <div class="container">
<div class="row s_nb_column_fixed"> <div class="row">
<div class="o_colored_level col-lg-12"> <div class="col-lg-6 s_col_no_bgcolor pb24">
<video controls="controls" loop="1" preload="auto" muted autoplay src="odoo17.mp4" class="o_video" style="width: 100%; height: 100%;"> <div class="row">
<source type="video/mp4" src="odoo17.mp4"/>
<a href=""> <div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
Download the demo video. <i class="fa bg-primary text-white s_features_grid_icon rounded fa-2x">1</i>
</a> <div class="s_features_grid_content">
</video> <h4 class="pt16">Quick Advance Search and navigator for all app data.</h4>
<p>30+ free odoo app search in box.<br></p></div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">2</i>
<div class="s_features_grid_content">
<h4 class="pt16">Quick search in tree list header.&nbsp;</h4>
<p>Date range, Datetime, selection, number supported.<br></p>
</div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa bg-primary text-white s_features_grid_icon rounded fa-2x">3</i>
<div class="s_features_grid_content">
<h4 class="pt16">Advance search sidebar for many2one, many2many field.</h4>
<p>m2o search, m2m search for multi select.</p></div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa bg-primary text-white s_features_grid_icon rounded fa-2x">4</i>
<div class="s_features_grid_content">
<h4 class="pt16">Advance siderbar for date range search, datetime search.</h4>
<p>Extra for boolean search, selection search, number search.<br></p></div>
</div>
</div>
</div>
<div class="col-lg-6 s_col_no_bgcolor pb24">
<div class="row">
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">5</i>
<div class="s_features_grid_content">
<h4 class="pt16">Search sidebar for list, kanban.</h4>
<p>Add more pivot, graph views than origin odoo.<br></p></div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">6</i>
<div class="s_features_grid_content">
<h4 class="pt16">Support navigate in search more.</h4>
<p>Quick filter and search for m2o or m2m field.</p></div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">7</i>
<div class="s_features_grid_content">
<h4 class="pt16">Easy customize for any app. any module.&nbsp;</h4>
<p>Extra param for searchpanel. view_types, class, name_field, icon</p>
</div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">8</i>
<div class="s_features_grid_content">
<h4 class="pt16">All app Advance search Out-of-Box.</h4>
<p>Product, CRM, Sales, Purchase, MRP, Stock, Accounting, HR, Project, Etc.<br></p></div>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
</section> </section>
<!-- end features-->
<section class="oe_container container s_text_block pt24 pb24 o_colored_level" data-snippet="s_text_block" data-name="文本"> <!-- begin video-->
<!-- remote video--> <section class="s_text_block o_colored_level pt16 pb16">
<div class="s_allow_columns container">
<div class="container s_allow_columns"> <div class="container s_allow_columns">
<h2 class="text-center bg-info text-white pt16 pb16">- Sample Video on youtube remote. Change to your video -</h2> <h2 class="text-center bg-info text-white pt16 pb16">- Demo Video -</h2>
</div> </div>
</section>
<section class="oe_container container s_text_block pt24 pb24 o_colored_level" data-snippet="s_text_block" data-name="文本">
<div class="s_allow_columns container">
<div data-oe-expression="//www.youtube.com/embed/whnmkTWsQkQ?rel=0&amp;autoplay=0" class="media_iframe_video"> <div data-oe-expression="//www.youtube.com/embed/whnmkTWsQkQ?rel=0&amp;autoplay=0" class="media_iframe_video">
<div class="css_editable_mode_display"></div> <div class="css_editable_mode_display"></div>
<div class="media_iframe_video_size"></div> <div class="media_iframe_video_size"></div>
@@ -49,150 +108,17 @@
<p class="o_default_snippet_text"><br></p> <p class="o_default_snippet_text"><br></p>
</div> </div>
<div class="oe_row text-center"> <div class="oe_row text-center">
<span>Click above Play. or go </span> <span>Click above to Play. or go </span>
<a href="https://youtu.be/whnmkTWsQkQ" target="_blank" role="button" class="btn btn-link btn-lg">Youtube Video of odoo Advance Search Superbar</a> <a href="https://youtu.be/whnmkTWsQkQ" target="_blank" role="button"> Youtube Video of odoo Advance Search Superbar</a>
</div> </div>
<div class="oe_row text-center"> <div class="oe_row text-center">
<p class="o_default_snippet_text">Demo Gif Animation if you can not get video</p> <p class="o_default_snippet_text">Demo Gif Animation if you can not get video</p>
<img class="oe_demo oe_screenshot img img-fluid" src="banner.gif"> <img class="oe_demo oe_screenshot img img-fluid" src="https://apps.odoocdn.com/apps/assets/17.0/app_web_superbar/superbar.gif">
</div> </div>
</section> </section>
<!-- end video--> <!-- end video-->
<!-- begin grid features-->
<section class="oe_container container s_text_block o_colored_level pt16 pb16">
<h2 class="text-center bg-info text-white pt16 pb16">- Features -</h2>
</section>
<section class="s_features_grid pt24 pb24 o_colored_level" data-snippet="s_features_grid" data-name="Features Grid">
<div class="container">
<div class="row">
<div class="col-lg-6 s_col_no_bgcolor pb24">
<div class="row">
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa bg-primary text-white s_features_grid_icon rounded fa-2x">1</i>
<div class="s_features_grid_content">
<h4 class="pt16">
A full Sample module app of odoo addons.
</h4>
<p>All the code, views, data ,banner, icon and description sample follow the odoo rule.</p>
</div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">2</i>
<div class="s_features_grid_content">
<h4 class="pt16">
Sample manifest file.
</h4>
<p>Including structure and name and description etc, all field sample. Security xml and csv file for role group access rule. Follow most odoo rule follow </p>
<p>https://www.odooai.cn/documentation/16.0/contributing/development/coding_guidelines.html</p>
</div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa bg-primary text-white s_features_grid_icon rounded fa-2x">3</i>
<div class="s_features_grid_content">
<h4 class="pt16">
Sample .py models file
</h4>
<p>for new model and inherit model<br></p>
</div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa bg-primary text-white s_features_grid_icon rounded fa-2x">4</i>
<div class="s_features_grid_content">
<h4 class="pt16">
Sample .xml views file for models
</h4>
<p>Sample xml views file for models, with list, kanban, form, search<br></p>
</div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa bg-primary text-white s_features_grid_icon rounded fa-2x">5</i>
<div class="s_features_grid_content">
<h4 class="pt16">
Sample controllers file
</h4>
<p> for website data publish and api developer. including how inherit odoo portal home<br></p>
</div>
</div>
</div>
</div>
<div class="col-lg-6 s_col_no_bgcolor pb24">
<div class="row">
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa bg-primary text-white s_features_grid_icon rounded fa-2x">6</i>
<div class="s_features_grid_content">
<h4 class="pt16">
Sample report design file
</h4>
<p> .py file with how sql define. .xml file for graph and pivot</p>
</div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">7</i>
<div class="s_features_grid_content">
<h4 class="pt16">
Sample action and menu file
</h4>
<p>Root menu and menu group and action menu</p>
</div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">8</i>
<div class="s_features_grid_content">
<h4 class="pt16">
Ui misc sample
</h4>
<p>Alert like info and special field setup.</p>
</div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">9</i>
<div class="s_features_grid_content">
<h4 class="pt16">
Odoo Widget sample
</h4>
<p>170+ widget list document and Frequently Used Sample.</p>
</div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">10</i>
<div class="s_features_grid_content">
<h4 class="pt16">
Quick access odoo developer Tutorials online.
</h4>
<p>Document online for chinese and english. Fast visit in China.</p>
</div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">11</i>
<div class="s_features_grid_content">
<h4 class="pt16">
Full Open Source.Multi-language Support. Multi-Company Support
</h4>
<p>Support Odoo 17,16,15,14,13,12, Enterprise and Community and odoo.sh Edition.</p>
<p>代码完全开源多语言支持多公司支持。Odoo 17,16,15,14,13,12, 企业版社区版在线SaaS.sh版等全版本支持</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- end grid features-->
<!-- begin snapshot--> <!-- begin snapshot-->
<!-- quick demo-->
<section class="oe_container container">
<div class="oe_row oe_spaced">
<h2 class="bg-warning text-center pt8 pb8">So Easy to navigator and search any data.</h2>
<h4 class="oe_slogan"> </h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src=".jpg"/>
</div>
</div>
</section>
<!-- end quick demo-->
<section class="s_text_block o_colored_level pt16 pb16"> <section class="s_text_block o_colored_level pt16 pb16">
<div class="container s_allow_columns"> <div class="container s_allow_columns">
<h2 class="text-center bg-info text-white pt16 pb16">- Feature Guide -</h2> <h2 class="text-center bg-info text-white pt16 pb16">- Feature Guide -</h2>
@@ -201,159 +127,193 @@
<section class="s_table_of_content pt24 pb24 o_cc o_cc1 o_colored_level" data-snippet="s_table_of_content" data-name="Table of Content"> <section class="s_table_of_content pt24 pb24 o_cc o_cc1 o_colored_level" data-snippet="s_table_of_content" data-name="Table of Content">
<div class="container"> <div class="container">
<div class="row s_nb_column_fixed"> <div class="row s_nb_column_fixed">
<div class="col-lg-2 col-md-3 s_table_of_content_navbar_wrap s_table_of_content_navbar_sticky s_table_of_content_vertical_navbar d-print-none d-none d-lg-block o_not_editable o_cc o_cc1 o_colored_level" <div class="col-lg-2 col-md3 s_table_of_content_navbar_wrap s_table_of_content_navbar_sticky s_table_of_content_vertical_navbar d-print-none d-none d-lg-block o_not_editable o_cc o_cc1 o_colored_level"
data-name="Navbar"> data-name="Navbar">
<div class="s_table_of_content_navbar list-group o_no_link_popover" style="top: 82px; max-height: calc(100vh - 102px);"> <div class="s_table_of_content_navbar list-group o_no_link_popover" style="top: 82px; max-height: calc(100vh - 102px);">
<a href="#toc_01" class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0 active"> <a href="#toc_01"
A full Sample app class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0 active">All in One Search</a>
</a> <a href="#toc_02"
<a href="#toc_02" class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0"> class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Product Search</a>
Sample manifest <a href="#toc_03"
</a> class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Sale Search</a>
<a href="#toc_03" class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0"> <a href="#toc_04"
Sample .py class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Purchase Search</a>
</a> <a href="#toc_05"
<a href="#toc_04" class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0"> class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Stock Search</a>
Sample .xml <a href="#toc_06"
</a> class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">CRM Search</a>
<a href="#toc_05" class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0"> <a href="#toc_07"
Sample controllers class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">MRP Search</a>
</a> <a href="#toc_08"
<a href="#toc_06" class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0"> class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">POS Search</a>
Sample report <a href="#toc_09"
</a> class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">HR Search</a>
<a href="#toc_07" class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0"> <a href="#toc_10"
Sample action and menu class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Account Search</a>
</a> <a href="#toc_11"
<a href="#toc_08" class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0"> class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Project Search</a>
Ui misc sample <a href="#toc_12"
</a> class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Contacts Search</a>
<a href="#toc_09" class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0"> <a href="#toc_13"
Odoo Widget sample class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Admin Search</a>
</a>
<a href="#toc_10" class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">
Quick developer Tutorials
</a>
<a href="#toc_11" class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">
Multi-language,Multi-Company
</a>
</div> </div>
</div> </div>
<div class="col-lg-10 col-md9 s_table_of_content_main oe_structure oe_empty o_colored_level" data-name="Content"> <div class="col-lg-10 col-md2 s_table_of_content_main oe_structure oe_empty o_colored_level" data-name="Content">
<section class="pb16 o_colored_level" style="background-image: none;"> <section class="pb16 o_colored_level" style="background-image: none;">
<h3 data-anchor="true" id="toc_01"> <h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_01">All in One Search</h3>
A full Sample module app of odoo addons. <h4 class="oe_slogan">Quick Advance Search and navigator for all app data.</h4>
</h3>
<h4 class="oe_slogan">All the code, views, data ,banner, icon and description sample follow the odoo rule.</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo1.jpg"> <img src="../app_web_superbar/banner.png">
</div>
<h4 class="oe_slogan">Quick search in tree list header.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/banner_header_search.jpg">
</div>
<h4 class="oe_slogan">Search sidebar for M2O M2M, date range, boolean search, selection search, number search.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/banner_sidebar_search.jpg">
</div>
<h4 class="oe_slogan">Filter any data like product in search more windows</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/banner_searchmore.jpg">
</div> </div>
</section> </section>
<section class="pb16 o_colored_level" style="background-image: none;"> <section class="pb16 o_colored_level" style="background-image: none;">
<h3 data-anchor="true" id="toc_02"> <h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_02">Product Search</h3>
Sample manifest file. <h4 class="oe_slogan">Use in product and Category.</h4>
</h3>
<h4 class="oe_slogan">Including structure and name and description etc, all field sample. </h4>
<p>Security xml and csv file for role group access rule.
Sample icon, banner, index.html, install/uninstall hooks.
Follow most odoo rule follow</p>
<p>https://www.odooai.cn/documentation/16.0/contributing/development/coding_guidelines.html</p>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo2.jpg"> <img src="../app_web_superbar/product1.jpg">
</div>
<h4 class="oe_slogan">Filter product or any data in search more windows</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/searchmore.jpg">
</div> </div>
</section> </section>
<section class="pb16 o_colored_level" style="background-image: none;"> <section class="pb16 o_colored_level" style="background-image: none;">
<h3 data-anchor="true" id="toc_03"> <h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_03">Sale Search with list header</h3>
Sample .py models file, for new model and inherit model
</h3>
<p>Please comment the inherit .py file of product_template.py in produce odoo.</p>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo3.jpg"> <img src="../app_web_superbar/sale1.jpg">
</div>
<h4 class="pt16">Sale Search with sidebar</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/sale2.jpg">
</div> </div>
</section> </section>
<section class="pb16 o_colored_level" style="background-image: none;"> <section class="pb16 o_colored_level" style="background-image: none;">
<h3 data-anchor="true" id="toc_04"> <h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_04">Purchase Search with sidebar and list header</h3>
Sample .xml views file for models, with list, kanban, form, search
</h3>
<p>List</p>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo_list.jpg"> <img src="../app_web_superbar/purchase1.jpg">
</div> </div>
<p>Kanban</p> <h4 class="pt16">Vender Price Search</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo_kanban.jpg"> <img src="../app_web_superbar/purchase2.jpg">
</div> </div>
<p>Form</p> <h4 class="pt16">Purchase report Search</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo_form.jpg"> <img src="../app_web_superbar/purchase3.jpg">
</div>
<p>Search</p>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="demo_search.jpg">
</div> </div>
</section> </section>
<section class="pb16 o_colored_level" style="background-image: none;"> <section class="pb16 o_colored_level" style="background-image: none;">
<h3 data-anchor="true" id="toc_05"> <h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_05">Stock Inventory Search</h3>
Sample controllers file for website data publish and api developer
</h3>
<p>including how inherit odoo portal home.</p>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo_controler.jpg"> <img src="../app_web_superbar/stock1.jpg">
</div>
<h4 class="pt16">Operation Type Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/stock2.jpg">
</div>
<h4 class="pt16">Lot Serial Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/stock3.jpg">
</div> </div>
</section> </section>
<section class="pb16 o_colored_level" style="background-image: none;"> <section class="pb16 o_colored_level" style="background-image: none;">
<h3 data-anchor="true" id="toc_06"> <h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_06">CRM Search</h3>
Sample report design file.
</h3>
<p> .py file with how sql define.</p>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo_report.jpg"> <img src="../app_web_superbar/crm1.jpg">
</div> </div>
<p> .xml file for graph and pivot.</p> <h4 class="pt16">Leads Report Search</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo_graph.jpg"> <img src="../app_web_superbar/crm2.jpg">
</div>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="demo_pivot.jpg">
</div> </div>
</section> </section>
<section class="pb16 o_colored_level" style="background-image: none;"> <section class="pb16 o_colored_level" style="background-image: none;">
<h3 data-anchor="true" id="toc_07"> <h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_07">MRP Search</h3>
Sample action and menu file.
</h3>
<p>Root menu and menu group and action menu.</p>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo_menu.jpg"> <img src="../app_web_superbar/mrp1.jpg">
</div>
<h4 class="pt16">Work Order</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/mrp2.jpg">
</div> </div>
</section> </section>
<section class="pb16 o_colored_level" style="background-image: none;"> <section class="pb16 o_colored_level" style="background-image: none;">
<h3 data-anchor="true" id="toc_08"> <h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_08">POS point of sale Search</h3>
Ui misc sample. Alert like info and special field setup.
</h3>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo_ui.jpg"> <img src="../app_web_superbar/pos1.jpg">
</div>
<h4 class="pt16">POS Report</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/pos3.jpg">
</div> </div>
</section> </section>
<section class="pb16 o_colored_level" style="background-image: none;"> <section class="pb16 o_colored_level" style="background-image: none;">
<h3 data-anchor="true" id="toc_09"> <h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_09">HR employee Search</h3>
Odoo Widget sample.
</h3>
<p>170+ widget list document</p>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo_widget_list.jpg"> <img src="../app_web_superbar/hr1.jpg">
</div>
<p> Frequently Used Sample.</p>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="demo_widget_use.jpg">
</div> </div>
</section> </section>
<section class="pb16 o_colored_level" style="background-image: none;"> <section class="pb16 o_colored_level" style="background-image: none;">
<h3 data-anchor="true" id="toc_10"> <h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_10">Account Search</h3>
Quick access odoo developer Tutorials online.
</h3>
<p>Click alert info to visit. Document online for chinese and english. Fast visit in China.</p>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo10.jpg"> <img src="../app_web_superbar/account1.jpg">
</div>
<h4 class="pt16">Customer Invoice, Vendor Bill, Journal Entries Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/account2.jpg">
</div>
<h4 class="pt16">Journal Item Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/account3.jpg">
</div>
</section>
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_11">Project Search</h3>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/project1.jpg">
</div>
<h4 class="pt16">Task Report Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/project2.jpg">
</div>
</section>
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_12">Partner contacts Search</h3>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/contacts1.jpg">
</div>
</section>
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_13">Admin Search</h3>
<h4 class="pt16">Menu Quick Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/base1.jpg">
</div>
<h4 class="pt16">Action Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/base2.jpg">
</div>
<h4 class="pt16">Report Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/base3.jpg">
</div>
<h4 class="pt16">Views Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/base6.jpg">
</div>
<h4 class="pt16">Attachment Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/base9.jpg">
</div> </div>
</section> </section>
</div> </div>
@@ -363,8 +323,118 @@
<!-- end snapshot--> <!-- end snapshot-->
<!-- begin free--> <!-- begin free-->
<section class="oe_container container s_text_block o_colored_level pt16 pb16">
<h2 class="text-center bg-info text-white pt16 pb16">Get
<a href="https://www.odoo.com/apps/modules/browse?search=ztree" target="_blank">
free 20+ Free related apps.
</a>
</h2>
<h3 class="oe_slogan">Visit to get our [app_web_superbar] Demo</h3>
<h4 class="pt16">https://demo.odooapp.cn</h4>
</section>
<section class="oe_container container">
<div class="alert alert-info">
<i class="fa fa-hand-o-right"></i><b> Free download: </b>
<ul class="list-unstyled">
<li>
<i class="fa fa-check-square-o text-primary"></i>
Product navigate by category or type is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_product_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Sale order navigate by partner and channel is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_sale_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Purchase order navigate by partner is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_purchase_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Stock location navigate by parent, Picking by type is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_stock_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
CRM browse by stage and team is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_crm_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
MRP manufacture order navigate by state workcenter is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_mrp_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Pos navigate by category or store is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_pos_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
HR employee navigate by department is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_hr_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Account chart navigate by type is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_account_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Project Advance search with superbar is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_project_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Contacts navigate by company is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_contacts_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Admin Navigator with menu, report, etc. is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_base_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
There is also 10+ free ztree widget addons of product, sale, stock ready for you.
<a href="https://apps.odoo.com/apps/modules/browse?search=ztree" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
It is so easy to customize, you can use it in anywhere in odoo<div class="row">.
</li>
</ul>
</div>
</section>
<!-- end free--> <!-- end free-->
<!-- begin howto--> <!-- begin howto-->
<section class="oe_container container s_text_block o_colored_level pt16 pb16"> <section class="oe_container container s_text_block o_colored_level pt16 pb16">
<h2 class="text-center bg-info text-white pt16 pb16">- How to setup and use -</h2> <h2 class="text-center bg-info text-white pt16 pb16">- How to setup and use -</h2>
@@ -373,28 +443,37 @@
<section class="oe_container container"> <section class="oe_container container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h4 class="pt16"> <h4 class="pt16">
1. Buy and Install 1. Buy and Install <a href="http://www.odoo.com/apps/modules/17.0/app_web_superbar/" target="_blank">app_web_superbar. </a>
</h4> </h4>
<h4 class="pt16"> <h4 class="pt16">2. Easy use of superbar</h4>
2. Clone this sample and rename to your module name to quick create your odoo addons.
</h4>
<h4 class="pt16">3. Check the demo we create</h4>
<div class="row"> <div class="row">
<h4 class="pt16">Show superbar in list view.</h4>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo_use.jpg"> <img src="../app_web_superbar/use7.jpg">
</div>
<h4 class="pt16">Show superbar in kanban view.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/use8.jpg">
</div>
<h4 class="pt16">Show superbar in pivot view.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/use9.jpg">
</div>
<h4 class="pt16">Show superbar in graph view.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/usea.jpg">
</div> </div>
</div> </div>
<h4 class="pt16">4. More information in our FAQ</h4> <h4 class="pt16">3. If you want to customize, Use follow param to setup widget<div class="row">:</h4>
<div class="row"> <div class="row">
https://www.odooai.cn/faq <div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/superbar_use.png">
</div>
</div> </div>
</div> </div>
</section> </section>
<!-- end howto--> <!-- end howto-->
<!-- begin upsell-->
<!-- end upsell-->
<!-- begin support--> <!-- begin support-->
<section class="container oe_dark"> <section class="container oe_dark">
<div class="oe_row oe_spaced text-center"> <div class="oe_row oe_spaced text-center">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -9,7 +9,6 @@
<xpath expr="//search" position="inside"> <xpath expr="//search" position="inside">
<searchpanel view_types="list,kanban,pivot,graph,calendar"> <searchpanel view_types="list,kanban,pivot,graph,calendar">
<field name="stage_id" enable_counters="1" select="multi"/> <field name="stage_id" enable_counters="1" select="multi"/>
<field name="date_begin"/>
</searchpanel> </searchpanel>
</xpath> </xpath>
</field> </field>

View File

@@ -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

View File

@@ -0,0 +1,55 @@
# -*- 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 and date",
'version': '24.07.18',
'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',
],
'demo': [
],
'test': [
],
'post_load': None,
'post_init_hook': 'post_init_hook',
'installable': True,
'application': True,
'auto_install': False,
}

View File

@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
# from . import main

View File

@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
from odoo import http
from odoo.addons.portal.controllers.portal import CustomerPortal
class appCustomerPortal(CustomerPortal):
# Controler sample
@http.route('/my/webclient/locale/<string:lang>', type='http', auth="none")
def index(self, **kw):
return "Hello, world"
@http.route('/default/default/objects/', auth='public')
def list(self, **kw):
return http.request.render('default.listing', {
'root': '/default/default',
'objects': http.request.env['default.default'].search([]),
})
@http.route('/default/default/objects/<model("default.default"):obj>/', auth='public')
def object(self, obj, **kw):
return http.request.render('default.object', {
'object': obj
})

View File

@@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
# Created on 2023-10-06
# author: 欧度智能https://www.odooai.cn
# email: 300883@qq.com
# Copyright (C) 2009~2023 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("")

View File

@@ -0,0 +1,2 @@
Please follow this tutorial for more guides:
https://www.odoo.com/documentation/master/developer/misc/i18n/translations.html

View File

@@ -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"

View File

@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
# Part of odooAi.cn. See LICENSE file for full copyright and licensing details.
# from . import product_template

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<!-- Create new App security category, 创建应用 -->
<record model="ir.module.category" id="app_module_category_1">
<field name="name">App...</field>
<field name="description">Helps you manage your ...</field>
<field name="sequence">8</field>
</record>
<!-- Cretate new App security group, 权限组 -->
<!-- User group, 普通用记 -->
<record id="group_app_user" model="res.groups">
<field name="name">App User</field>
<field name="category_id" ref="app_module_category_1"/>
<field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
<field name="comment">The user will be able to ...</field>
</record>
<!-- Admin group管理员可以配置 -->
<record id="group_app_admin" model="res.groups">
<field name="name">App Admin</field>
<field name="category_id" ref="app_module_category_1"/>
<field name="implied_ids" eval="[(4, ref('group_app_user'))]"/>
<field name="comment">The user will be able to config ...</field>
</record>
<!-- Auto set erp admin full accessgroup_erp_manager自动有完整权限 -->
<record id="base.group_erp_manager" model="res.groups">
<field name="implied_ids" eval="[(4, ref('group_app_admin'))]"/>
</record>
<!-- IR Rules, user can only see my record记录集权限用户只能见到自已的记录 -->
<!-- <record id="rule_user" model="ir.rule">-->
<!-- <field name="name">Users are allowed to access their own record</field>-->
<!-- <field name="model_id" ref="model_app_order"/>-->
<!-- <field name="domain_force">['|', ('partner_id', 'in', [user.partner_id.id]), ('user_id.id', '=', user.id)]</field>-->
<!-- <field name="groups" eval="[(4, ref('base.group_user'))]"/>-->
<!-- </record>-->
<!--End -->
</data>
</odoo>

View File

@@ -0,0 +1 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -0,0 +1,506 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
# -*- coding: utf-8 -*-
##############################################################################
# Copyright (C) 2009~2023 odooAi.cn
##############################################################################
-->
<html>
<!-- begin title-->
<section class="oe_container container o_cc o_cc2">
<h2 class="text-center bg-warning text-white pt24 pb24">Event Advance search, Event addon for Superbar</h2>
<h3 class="text-center">Free to use. Get extra paid Apps for more powerful.</h3>
<h4 class="text-center">Advance quick search for various field in all odoo app.Support list, kanban, pivot, graph, search more views.</h4>
</section>
<!-- end title-->
<!-- begin features-->
<section class="oe_container container s_text_block o_colored_level pt16 pb16">
<h2 class="text-center bg-info text-white pt16 pb16">
- Get
<a href="https://www.odoo.com/apps/modules/16.0/app_web_superbar/"> app_web_super </a>
for more Features -
</h2>
</section>
<section class="s_features_grid pt24 pb24 o_colored_level" data-snippet="s_features_grid" data-name="Features Grid">
<div class="container">
<div class="row">
<div class="col-lg-6 s_col_no_bgcolor pb24">
<div class="row">
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa bg-primary text-white s_features_grid_icon rounded fa-2x">1</i>
<div class="s_features_grid_content">
<h4 class="pt16">Quick Advance Search and navigator for all app data.</h4>
<p>30+ free odoo app search in box.<br></p></div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">2</i>
<div class="s_features_grid_content">
<h4 class="pt16">Quick search in tree list header.&nbsp;</h4>
<p>Date range, Datetime, selection, number supported.<br></p>
</div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa bg-primary text-white s_features_grid_icon rounded fa-2x">3</i>
<div class="s_features_grid_content">
<h4 class="pt16">Advance search sidebar for many2one, many2many field.</h4>
<p>m2o search, m2m search for multi select.</p></div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa bg-primary text-white s_features_grid_icon rounded fa-2x">4</i>
<div class="s_features_grid_content">
<h4 class="pt16">Advance siderbar for date range search, datetime search.</h4>
<p>Extra for boolean search, selection search, number search.<br></p></div>
</div>
</div>
</div>
<div class="col-lg-6 s_col_no_bgcolor pb24">
<div class="row">
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">5</i>
<div class="s_features_grid_content">
<h4 class="pt16">Search sidebar for list, kanban.</h4>
<p>Add more pivot, graph views than origin odoo.<br></p></div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">6</i>
<div class="s_features_grid_content">
<h4 class="pt16">Support navigate in search more.</h4>
<p>Quick filter and search for m2o or m2m field.</p></div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">7</i>
<div class="s_features_grid_content">
<h4 class="pt16">Easy customize for any app. any module.&nbsp;</h4>
<p>Extra param for searchpanel. view_types, class, name_field, icon</p>
</div>
</div>
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box">
<i class="fa fa-2x rounded bg-primary text-white s_features_grid_icon">8</i>
<div class="s_features_grid_content">
<h4 class="pt16">All app Advance search Out-of-Box.</h4>
<p>Product, CRM, Sales, Purchase, MRP, Stock, Accounting, HR, Project, Etc.<br></p></div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- end features-->
<!-- begin video-->
<section class="s_text_block o_colored_level pt16 pb16">
<div class="container s_allow_columns">
<h2 class="text-center bg-info text-white pt16 pb16">- Demo Video -</h2>
</div>
</section>
<section class="oe_container container s_text_block pt24 pb24 o_colored_level" data-snippet="s_text_block" data-name="文本">
<div class="s_allow_columns container">
<div data-oe-expression="//www.youtube.com/embed/whnmkTWsQkQ?rel=0&amp;autoplay=0" class="media_iframe_video">
<div class="css_editable_mode_display"></div>
<div class="media_iframe_video_size"></div>
<iframe src="//www.youtube.com/embed/whnmkTWsQkQ?rel=0&amp;autoplay=1" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
</div>
<p class="o_default_snippet_text"><br></p>
</div>
<div class="oe_row text-center">
<span>Click above to Play. or go </span>
<a href="https://youtu.be/whnmkTWsQkQ" target="_blank" role="button"> Youtube Video of odoo Advance Search Superbar</a>
</div>
<div class="oe_row text-center">
<p class="o_default_snippet_text">Demo Gif Animation if you can not get video</p>
<img class="oe_demo oe_screenshot img img-fluid" src="https://apps.odoocdn.com/apps/assets/16.0/app_web_superbar/superbar.gif">
</div>
</section>
<!-- end video-->
<!-- begin snapshot-->
<section class="s_text_block o_colored_level pt16 pb16">
<div class="container s_allow_columns">
<h2 class="text-center bg-info text-white pt16 pb16">- Feature Guide -</h2>
</div>
</section>
<section class="s_table_of_content pt24 pb24 o_cc o_cc1 o_colored_level" data-snippet="s_table_of_content" data-name="Table of Content">
<div class="container">
<div class="row s_nb_column_fixed">
<div class="col-lg-2 col-md3 s_table_of_content_navbar_wrap s_table_of_content_navbar_sticky s_table_of_content_vertical_navbar d-print-none d-none d-lg-block o_not_editable o_cc o_cc1 o_colored_level"
data-name="Navbar">
<div class="s_table_of_content_navbar list-group o_no_link_popover" style="top: 82px; max-height: calc(100vh - 102px);">
<a href="#toc_01"
class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0 active">All in One Search</a>
<a href="#toc_02"
class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Product Search</a>
<a href="#toc_03"
class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Sale Search</a>
<a href="#toc_04"
class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Purchase Search</a>
<a href="#toc_05"
class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Stock Search</a>
<a href="#toc_06"
class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">CRM Search</a>
<a href="#toc_07"
class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">MRP Search</a>
<a href="#toc_08"
class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">POS Search</a>
<a href="#toc_09"
class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">HR Search</a>
<a href="#toc_10"
class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Account Search</a>
<a href="#toc_11"
class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Project Search</a>
<a href="#toc_12"
class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Contacts Search</a>
<a href="#toc_13"
class="table_of_content_link list-group-item list-group-item-action py-2 border-0 rounded-0">Admin Search</a>
</div>
</div>
<div class="col-lg-10 col-md2 s_table_of_content_main oe_structure oe_empty o_colored_level" data-name="Content">
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_01">All in One Search</h3>
<h4 class="oe_slogan">Quick Advance Search and navigator for all app data.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/banner.png">
</div>
<h4 class="oe_slogan">Quick search in tree list header.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/banner_header_search.jpg">
</div>
<h4 class="oe_slogan">Search sidebar for M2O M2M, date range, boolean search, selection search, number search.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/banner_sidebar_search.jpg">
</div>
<h4 class="oe_slogan">Filter any data like product in search more windows</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/banner_searchmore.jpg">
</div>
</section>
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_02">Product Search</h3>
<h4 class="oe_slogan">Use in product and Category.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/product1.jpg">
</div>
<h4 class="oe_slogan">Filter product or any data in search more windows</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/searchmore.jpg">
</div>
</section>
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_03">Sale Search with list header</h3>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/sale1.jpg">
</div>
<h4 class="pt16">Sale Search with sidebar</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/sale2.jpg">
</div>
</section>
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_04">Purchase Search with sidebar and list header</h3>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/purchase1.jpg">
</div>
<h4 class="pt16">Vender Price Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/purchase2.jpg">
</div>
<h4 class="pt16">Purchase report Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/purchase3.jpg">
</div>
</section>
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_05">Stock Inventory Search</h3>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/stock1.jpg">
</div>
<h4 class="pt16">Operation Type Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/stock2.jpg">
</div>
<h4 class="pt16">Lot Serial Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/stock3.jpg">
</div>
</section>
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_06">CRM Search</h3>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/crm1.jpg">
</div>
<h4 class="pt16">Leads Report Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/crm2.jpg">
</div>
</section>
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_07">MRP Search</h3>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/mrp1.jpg">
</div>
<h4 class="pt16">Work Order</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/mrp2.jpg">
</div>
</section>
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_08">POS point of sale Search</h3>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/pos1.jpg">
</div>
<h4 class="pt16">POS Report</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/pos3.jpg">
</div>
</section>
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_09">HR employee Search</h3>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/hr1.jpg">
</div>
</section>
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_10">Account Search</h3>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/account1.jpg">
</div>
<h4 class="pt16">Customer Invoice, Vendor Bill, Journal Entries Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/account2.jpg">
</div>
<h4 class="pt16">Journal Item Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/account3.jpg">
</div>
</section>
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_11">Project Search</h3>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/project1.jpg">
</div>
<h4 class="pt16">Task Report Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/project2.jpg">
</div>
</section>
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_12">Partner contacts Search</h3>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/contacts1.jpg">
</div>
</section>
<section class="pb16 o_colored_level" style="background-image: none;">
<h3 class="text-center bg-gray text-white pt16 pb16" data-anchor="true" id="toc_13">Admin Search</h3>
<h4 class="pt16">Menu Quick Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/base1.jpg">
</div>
<h4 class="pt16">Action Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/base2.jpg">
</div>
<h4 class="pt16">Report Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/base3.jpg">
</div>
<h4 class="pt16">Views Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/base6.jpg">
</div>
<h4 class="pt16">Attachment Search</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/base9.jpg">
</div>
</section>
</div>
</div>
</div>
</section>
<!-- end snapshot-->
<!-- begin free-->
<section class="oe_container container s_text_block o_colored_level pt16 pb16">
<h2 class="text-center bg-info text-white pt16 pb16">Get
<a href="https://www.odoo.com/apps/modules/browse?search=ztree" target="_blank">
free 20+ Free related apps.
</a>
</h2>
<h3 class="oe_slogan">Visit to get our [app_web_superbar] Demo</h3>
<h4 class="pt16">https://demo.odooapp.cn</h4>
</section>
<section class="oe_container container">
<div class="alert alert-info">
<i class="fa fa-hand-o-right"></i><b> Free download: </b>
<ul class="list-unstyled">
<li>
<i class="fa fa-check-square-o text-primary"></i>
Product navigate by category or type is ready.
<a href="http://www.odoo.com/apps/modules/16.0/app_product_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Sale order navigate by partner and channel is ready.
<a href="http://www.odoo.com/apps/modules/16.0/app_sale_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Purchase order navigate by partner is ready.
<a href="http://www.odoo.com/apps/modules/16.0/app_purchase_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Stock location navigate by parent, Picking by type is ready.
<a href="http://www.odoo.com/apps/modules/16.0/app_stock_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
CRM browse by stage and team is ready.
<a href="http://www.odoo.com/apps/modules/16.0/app_crm_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
MRP manufacture order navigate by state workcenter is ready.
<a href="http://www.odoo.com/apps/modules/16.0/app_mrp_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Pos navigate by category or store is ready.
<a href="http://www.odoo.com/apps/modules/16.0/app_pos_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
HR employee navigate by department is ready.
<a href="http://www.odoo.com/apps/modules/16.0/app_hr_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Account chart navigate by type is ready.
<a href="http://www.odoo.com/apps/modules/16.0/app_account_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Project Advance search with superbar is ready.
<a href="http://www.odoo.com/apps/modules/16.0/app_project_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Contacts navigate by company is ready.
<a href="http://www.odoo.com/apps/modules/16.0/app_contacts_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Admin Navigator with menu, report, etc. is ready.
<a href="http://www.odoo.com/apps/modules/16.0/app_base_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
There is also 10+ free ztree widget addons of product, sale, stock ready for you.
<a href="https://apps.odoo.com/apps/modules/browse?search=ztree" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
It is so easy to customize, you can use it in anywhere in odoo<div class="row">.
</li>
</ul>
</div>
</section>
<!-- end free-->
<!-- begin howto-->
<section class="oe_container container s_text_block o_colored_level pt16 pb16">
<h2 class="text-center bg-info text-white pt16 pb16">- How to setup and use -</h2>
<h3>This app need no extra module. The price already included</h3>
</section>
<section class="oe_container container">
<div class="oe_row oe_spaced">
<h4 class="pt16">
1. Buy and Install <a href="http://www.odoo.com/apps/modules/16.0/app_web_superbar/" target="_blank">app_web_superbar. </a>
</h4>
<h4 class="pt16">2. Easy use of superbar</h4>
<div class="row">
<h4 class="pt16">Show superbar in list view.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/use7.jpg">
</div>
<h4 class="pt16">Show superbar in kanban view.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/use8.jpg">
</div>
<h4 class="pt16">Show superbar in pivot view.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/use9.jpg">
</div>
<h4 class="pt16">Show superbar in graph view.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/usea.jpg">
</div>
</div>
<h4 class="pt16">3. If you want to customize, Use follow param to setup widget<div class="row">:</h4>
<div class="row">
<div class="oe_demo oe_screenshot img img-fluid">
<img src="../app_web_superbar/superbar_use.png">
</div>
</div>
</div>
</section>
<!-- end howto-->
<!-- begin support-->
<section class="container oe_dark">
<div class="oe_row oe_spaced text-center">
<div class="row">
<h2 class="oe_slogan">Technical Help & Support</h2>
</div>
<div class="col-md-12 pad0">
<div class="oe_mt16">
<p><h4 class="pt16">
For any type of technical help & support requests, Feel free to contact us</h4></p>
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:odoo@china.com"><span
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
<i class="fa fa-envelope"></i> odoo@china.com</a>
<p><h4 class="pt16">
Via QQ: 300883 (App user would not get QQ or any other IM support. Only for odoo project customize.)</h4></p>
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:300883@qq.com"><span
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
<i class="fa fa-envelope"></i> 300883@qq.com</a>
</div>
<div class="oe_mt16">
<h4 class="pt16">Visit our website for more support.</h4>
<h4 class="pt16">https://www.odooai.cn</h4>
</div>
</div>
</div>
</section>
<!-- end support-->
</html>

View File

@@ -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);
}
}
}

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Search -->
<record id="app_event_event_search_superbar_pro" model="ir.ui.view">
<field name="name">app.event.event.search.superbar.pro</field>
<field name="model">event.event</field>
<field name="inherit_id" ref="event.view_event_search"/>
<field name="arch" type="xml">
<xpath expr="//searchpanel" position="inside">
<field name="date_begin"/>
</xpath>
</field>
</record>
</odoo>

View File

View File

@@ -18,15 +18,15 @@
from odoo import api, SUPERUSER_ID, _ from odoo import api, SUPERUSER_ID, _
def pre_init_hook(cr): def pre_init_hook(env):
pass pass
# cr.execute("") # cr.execute("")
def post_init_hook(cr, registry): def post_init_hook(env):
pass pass
# cr.execute("") # cr.execute("")
def uninstall_hook(cr, registry): def uninstall_hook(env):
pass pass
# cr.execute("") # cr.execute("")