update ztree superbar

This commit is contained in:
ivan deng
2020-09-04 20:18:46 +08:00
parent 471def2b46
commit 418f4bc8ba
2 changed files with 18 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
{ {
'name': "App product browse by category navigator", 'name': "App product browse by category navigator",
'version': '13.20.03.30', 'version': '13.20.09.04',
'author': 'Sunpop.cn', 'author': 'Sunpop.cn',
'category': 'Base', 'category': 'Base',
'website': 'https://www.sunpop.cn', 'website': 'https://www.sunpop.cn',
@@ -42,7 +42,7 @@
'images': ['static/description/banner.gif'], 'images': ['static/description/banner.gif'],
'data': [ 'data': [
'views/product_views.xml', 'views/product_views.xml',
# 'views/product_attribute_value_views.xml', 'views/product_category_views.xml',
], ],
'demo': [ 'demo': [
], ],

View File

@@ -0,0 +1,16 @@
<odoo>
<data>
<record id="app_product_category_search_view" model="ir.ui.view">
<field name="name">app.product.category.search</field>
<field name="model">product.category</field>
<field name="inherit_id" ref="product.product_category_search_view"/>
<field name="arch" type="xml">
<xpath expr="//search">
<searchpanel view_types="tree,kanban,search">
<field name="parent_id" filter_domain="[('child_id', '!=', False)]"/>
</searchpanel>
</xpath>
</field>
</record>
</data>
</odoo>