mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix superbar
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
'images': ['static/description/banner.png'],
|
||||
'data': [
|
||||
'views/sale_order_views.xml',
|
||||
'report/sale_report_views.xml',
|
||||
],
|
||||
'demo': [
|
||||
],
|
||||
|
||||
18
app_sale_superbar/report/sale_report_views.xml
Normal file
18
app_sale_superbar/report/sale_report_views.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="app_view_order_product_search" model="ir.ui.view">
|
||||
<field name="name">app.sale.report.search</field>
|
||||
<field name="model">sale.report</field>
|
||||
<field name="inherit_id" ref="sale.view_order_product_search"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//search" position="inside">
|
||||
<searchpanel view_types="tree,kanban,pivot,graph">
|
||||
<field name="team_id"/>
|
||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||
</searchpanel>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user