mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update superbar sale
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
{
|
||||
'name': "App sale order browse by partner and channel",
|
||||
'version': '13.20.02.29',
|
||||
'version': '13.21.03.31',
|
||||
'author': 'Sunpop.cn',
|
||||
'category': 'Base',
|
||||
'website': 'https://www.sunpop.cn',
|
||||
@@ -41,6 +41,7 @@
|
||||
'images': ['static/description/banner.png'],
|
||||
'data': [
|
||||
'views/sale_order_views.xml',
|
||||
'report/sale_report_views.xml',
|
||||
],
|
||||
'demo': [
|
||||
],
|
||||
|
||||
19
app_sale_superbar/report/sale_report_views.xml
Normal file
19
app_sale_superbar/report/sale_report_views.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?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>
|
||||
@@ -41,6 +41,7 @@
|
||||
'images': ['static/description/banner.png'],
|
||||
'data': [
|
||||
'views/sale_order_views.xml',
|
||||
'report/sale_report_views.xml',
|
||||
],
|
||||
'demo': [
|
||||
],
|
||||
|
||||
15
app_sale_superbar_pro/report/sale_report_views.xml
Normal file
15
app_sale_superbar_pro/report/sale_report_views.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="app_view_order_product_search_pro" model="ir.ui.view">
|
||||
<field name="name">app.pro.sale.report.search</field>
|
||||
<field name="model">sale.report</field>
|
||||
<field name="inherit_id" ref="app_sale_superbar.app_view_order_product_search"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//searchpanel//field[1]" position="before">
|
||||
<field name="date"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user