mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update ztree superbar
This commit is contained in:
@@ -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': [
|
||||||
],
|
],
|
||||||
|
|||||||
16
app_product_superbar/views/product_category_views.xml
Normal file
16
app_product_superbar/views/product_category_views.xml
Normal 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>
|
||||||
Reference in New Issue
Block a user