[app_stock_superbar] v18

This commit is contained in:
Chill
2024-11-12 10:30:46 +08:00
parent 29eccec09a
commit 856bcea648
71 changed files with 470 additions and 10 deletions

View File

@@ -8,7 +8,7 @@
</div>
<p>
<a href="http://www.odoo.com/apps/modules/17.0/app_web_superbar/" target="_blank">
<a href="http://www.odoo.com/apps/modules/18.0/app_web_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>odoo Advance Search Superbar. Quick search any data for any Apps. Click to download.
</a>
</p>
@@ -45,45 +45,45 @@
<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">
<a href="http://www.odoo.com/apps/modules/18.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>
Pos navigate by category or store is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_pos_superbar/" target="_blank">
<a href="http://www.odoo.com/apps/modules/18.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>
Account chart navigate by type is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_account_superbar/" target="_blank">
<a href="http://www.odoo.com/apps/modules/18.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>
Contacts navigate by company is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_contacts_superbar/" target="_blank">
<a href="http://www.odoo.com/apps/modules/18.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>
Sale order navigate by partner and channel is ready.
<a href="http://www.odoo.com/apps/modules/17.0/app_sale_superbar/" target="_blank">
<a href="http://www.odoo.com/apps/modules/18.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">
<a href="http://www.odoo.com/apps/modules/18.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> 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><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/18.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>
It is so easy to customize, you can use it in anywhere in odoo
@@ -171,13 +171,13 @@
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">How to use! This app do need extra module. The price already included</h2>
<div class="row">
<h4 class="oe_slogan oe_spaced">1. Buy and Install zTree widget.
<a href="http://www.odoo.com/apps/modules/17.0/app_web_widget_ztree/" target="_blank">
<a href="http://www.odoo.com/apps/modules/18.0/app_web_widget_ztree/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</h4>
</div>
<div class="row">
<h4 class="oe_slogan oe_spaced">2. Buy and Install <a href="http://www.odoo.com/apps/modules/17.0/app_web_superbar/" target="_blank">app_web_superbar. </a> <span class="text-warning">Important! Reboot odoo after installed.</span>
<h4 class="oe_slogan oe_spaced">2. Buy and Install <a href="http://www.odoo.com/apps/modules/18.0/app_web_superbar/" target="_blank">app_web_superbar. </a> <span class="text-warning">Important! Reboot odoo after installed.</span>
</h4>
</div>
<div class="row">

View File

@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
from . import models
from .hooks import post_init_hook

View File

@@ -0,0 +1,64 @@
# -*- coding: utf-8 -*-
# Created on 2018-08-15
# author: 欧度智能https://www.odooai.cn
# email: 300883@qq.com
# resource of odooai
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# 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': "Stock Superbar ztree, parent children tree",
'version': '18.0.24.11.12',
'author': 'odooai.cn',
'category': 'Warehouse',
'website': 'https://www.odooai.cn',
'live_test_url': 'https://demo.odooapp.cn',
'license': 'LGPL-3',
'sequence': 2,
'summary': """
Use for parent children tree list select navigator. stock location tree, filter by parent location.
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',
'stock_picking_batch',
],
'images': ['static/description/banner.gif'],
'data': [
'views/stock_location_views.xml',
'views/stock_picking_views.xml',
'views/stock_picking_batch_views.xml',
'views/stock_picking_type_views.xml',
'views/stock_warehouse_orderpoint_views.xml',
'views/stock_rule_views.xml',
'views/stock_lot_views.xml',
# todo: 以下两个模型调整了
# 'views/stock_location_route_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,20 @@
# -*- coding: utf-8 -*-
# Created on 2018-10-12
# author: 欧度智能https://www.odooai.cn
# email: 300883@qq.com
# resource of odooai
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# 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:
def post_init_hook(env):
pass
# cr.execute("")

View File

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

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -0,0 +1,207 @@
<section class="oe_container container">
<div class="oe_row oe_spaced" style="max-width: 95%;">
<h2 class="oe_slogan" style="color:#875A7B;">Stock search for Advance Search Superbar</h2>
</div>
<div class="oe_row text-center">
<h2>Free addons of Superbar. !This moduld Do Need extra paid Apps.</h2>
</div>
<p>
<a href="http://www.odoo.com/apps/modules/18.0/app_web_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>odoo Advance Search Superbar. Quick search any data for any Apps. Click to download.
</a>
</p>
</section>
<section class="oe_container container s_text_block pt40 pb40 o_colored_level" data-snippet="s_text_block" data-name="文本" style="background-image: none;" data-tilt-feature="">
<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 video to Play. or go </span>
<a href="https://youtu.be/whnmkTWsQkQ" target="_blank" role="button" class="btn btn-primary btn-lg">Youtube Video of odoo Advance Search Superbar</a>
</div>
</section>
<section class="oe_container container">
<div class="oe_row oe_spaced">
<div class="row">
<div class="alert alert-info" style="padding:8px;font-weight: 300; font-size: 20px;">
<i class="fa fa-hand-o-right"></i><b> Key features: </b>
<ul class="list-unstyled">
<li>
<i class="fa fa-check-square-o text-primary"></i>
Easy to make custom parent children tree.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Free to Use in product category.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Free to Use in stock location.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Free to Use in hr department, employee.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
It's a widget, you can use it in anywhere in odoo.
</li>
</ul>
</div>
<div class="alert alert-info" style="padding:8px;font-weight: 300; font-size: 20px;">
<i class="fa fa-hand-o-right"></i>
<b>
<a href="http://www.odoo.com/apps/modules/18.0/app_web_superbar/" target="_blank" class="text-danger">
Extend features. superbar advance search navigator
</a>
</b>
<ul class="list-unstyled">
<li>
<i class="fa fa-check-square-o text-primary"></i>
Easy to navigate product, employee in tree or kanban view.
</li>
</ul>
</div>
<div class="alert alert-info" style="padding:8px;font-weight: 300; font-size: 20px;">
<i class="fa fa-hand-o-right"></i><b>Get relate Demo </b>
<ul class="list-unstyled">
<li>
<i class="fa fa-link text-primary"></i>
<a href="http://www.odoo.com/apps/modules/18.0/app_web_widget_ztree/" target="_blank" class="text-danger">zTree widget (must need to use in following demo).</a>
</li>
<li>
<i class="fa fa-link text-primary"></i>
<a href="http://www.odoo.com/apps/modules/18.0/app_product_ztree/" target="_blank">Product and category.</a>
</li>
<li>
<i class="fa fa-link text-primary"></i>
<a href="http://www.odoo.com/apps/modules/18.0/app_stock_ztree/" target="_blank">Stock and Location.</a>
</li>
<li>
<i class="fa fa-link text-primary"></i>
<a href="http://www.odoo.com/apps/modules/18.0/app_hr_ztree/" target="_blank">hr department and employee.</a>
</li>
</ul>
</div>
</div>
</div>
</section>
<section class="oe_container container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Free to Use in stock location.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="demo3.jpg">
</div>
</div>
</section>
<section class="oe_container container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Use in product.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="demo2.jpg">
</div>
</div>
</section>
<section class="oe_container container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Free to Use in product category.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="demo1.jpg">
</div>
</div>
</section>
<section class="oe_container container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Use in hr department.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="demo4.jpg">
</div>
</div>
</section>
<section class="oe_container container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Use in hr employee.</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="demo5.jpg">
</div>
</div>
</section>
<section class="oe_container container">
<div class="oe_row oe_spaced">
<h2>&nbsp;</h2>
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">(!Need extra module and pay, release soon)Easy to navigator.</h2>
<h4 class="oe_slogan">Product, employee in kanban view</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="demo11.jpg">
</div>
</div>
</section>
<section class="oe_container container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">(!Need extra module and pay, release soon)List view</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="demo12.jpg">
</div>
</div>
</section>
<section class="oe_container container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Easy to setup just use widget='widget_select'. like this</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="setup1.jpg">
</div>
<h2><br/> Use follow param to setup widget:<br/></h2>
<h4>ztree_parent_key: --the key field of parent children relation.</h4>
<h4>ztree_expend_level: --how many level to expend the tree for initialize. Default is 2</h4>
<h4>limit: --how many record to show ztree. Default is 16</h4>
<h4>order: --the field to order by</h4>
</div>
</section>
<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>
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>
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>
Visit our website for more support.</h4>
<h4>https://www.odooai.cn</h4>
</div>
</div>
</div>
</section>

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -0,0 +1,17 @@
<odoo>
<data>
<!-- stock orderpoint-->
<!-- <record id="stock_location_route_view_search_superbar" model="ir.ui.view">-->
<!-- <field name="name">stock.location.route.search.superbar</field>-->
<!-- <field name="model">stock.location.route</field>-->
<!-- <field name="inherit_id" ref="stock.stock_location_route_view_search"/>-->
<!-- <field name="arch" type="xml">-->
<!-- <xpath expr="//search">-->
<!-- <searchpanel>-->
<!-- <field name="company_id" groups="base.group_multi_company" icon="fa-building"/>-->
<!-- </searchpanel>-->
<!-- </xpath>-->
<!-- </field>-->
<!-- </record>-->
</data>
</odoo>

View File

@@ -0,0 +1,19 @@
<odoo>
<data>
<!--库位-->
<record id="view_location_search_superbar" model="ir.ui.view">
<field name="name">stock.location.search.superbar</field>
<field name="model">stock.location</field>
<field name="inherit_id" ref="stock.view_location_search"/>
<field name="arch" type="xml">
<xpath expr="//search">
<searchpanel>
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
<field name="location_id" groups="stock.group_stock_multi_locations" enable_counters="1"/>
<field name="usage"/>
</searchpanel>
</xpath>
</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,21 @@
<odoo>
<data>
<!--批次-->
<record id="search_product_lot_filter_superbar" model="ir.ui.view">
<field name="name">Production Lots Filter superbar</field>
<field name="model">stock.lot</field>
<field name="inherit_id" ref="stock.search_product_lot_filter"/>
<field name="arch" type="xml">
<xpath expr="//search">
<searchpanel>
<field name="product_id" filter_domain="[('tracking', 'in', ('serial', 'lot'))]" enable_counters="1"/>
</searchpanel>
</xpath>
</field>
</record>
<record id="stock.action_production_lot_form" model="ir.actions.act_window">
<field name="context">{'display_complete': True, 'default_company_id': allowed_company_ids[0]}</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,18 @@
<odoo>
<data>
<!-- stock -->
<record id="app_stock_picking_batch_filter" model="ir.ui.view">
<field name="name">stock.picking.batch.search.superbar</field>
<field name="model">stock.picking.batch</field>
<field name="inherit_id" ref="stock_picking_batch.stock_picking_batch_filter"/>
<field name="arch" type="xml">
<xpath expr="//search">
<searchpanel>
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
<field name="state"/>
</searchpanel>
</xpath>
</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,19 @@
<odoo>
<data>
<!--作业-->
<record id="view_location_search_superbar" model="ir.ui.view">
<field name="name">stock.picking.type.filter.superbar</field>
<field name="model">stock.picking.type</field>
<field name="inherit_id" ref="stock.view_pickingtype_filter"/>
<field name="arch" type="xml">
<xpath expr="//search">
<searchpanel>
<field name="code"/>
<field name="warehouse_id" groups="stock.group_stock_multi_warehouses"/>
</searchpanel>
</xpath>
</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,19 @@
<odoo>
<data>
<!-- stock -->
<record id="view_picking_internal_search_superbar" model="ir.ui.view">
<field name="name">stock.picking.internal.search.superbar</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_internal_search"/>
<field name="arch" type="xml">
<xpath expr="//search">
<searchpanel view_types="list,kanban,pivot,graph">
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
<field name="state"/>
<field name="picking_type_id" enable_counters="1"/>
</searchpanel>
</xpath>
</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,18 @@
<odoo>
<data>
<!-- stock orderpoint-->
<record id="view_stock_rule_filter_superbar" model="ir.ui.view">
<field name="name">stock.rule.select.superbar</field>
<field name="model">stock.rule</field>
<field name="inherit_id" ref="stock.view_stock_rule_filter"/>
<field name="arch" type="xml">
<xpath expr="//search">
<searchpanel>
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
<field name="action"/>
</searchpanel>
</xpath>
</field>
</record>
</data>
</odoo>

View File

@@ -0,0 +1,18 @@
<odoo>
<data>
<!-- stock orderpoint-->
<record id="warehouse_orderpoint_search_superbar" model="ir.ui.view">
<field name="name">stock.warehouse.orderpoint.search.superbar</field>
<field name="model">stock.warehouse.orderpoint</field>
<field name="inherit_id" ref="stock.warehouse_orderpoint_search"/>
<field name="arch" type="xml">
<xpath expr="//search">
<searchpanel>
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
<field name="warehouse_id" groups="stock.group_stock_multi_warehouses" enable_counters="1"/>
</searchpanel>
</xpath>
</field>
</record>
</data>
</odoo>