This commit is contained in:
ivan deng
2020-11-18 10:57:52 +08:00
parent d5fd950310
commit c88ac96ad8
6 changed files with 22 additions and 18 deletions

View File

@@ -41,7 +41,7 @@
{
'name': 'Product Brand Manager',
'version': '14.20.04.11',
'version': '14.20.11.18',
'author': 'Sunpop.cn',
'category': 'Product',
'website': 'https://www.sunpop.cn',
@@ -54,15 +54,15 @@
'sale',
],
'summary': """
Odoo App of Sunpop.cn
Product brand manager. Odoo App of Sunpop.cn
""",
'description': """
Support Odoo 14,13,12, 11, Enterprise and Community Edition
Support Odoo 1312, 11, Enterprise and Community Edition
1.
2.
3. Multi-language Support.
4. Multi-Company Support.
5. Support Odoo 14,13,12, 11, Enterprise and Community Edition
5. Support Odoo 1312, 11, Enterprise and Community Edition
==========
1.
2.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 KiB

After

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -362,6 +362,7 @@ ul.auto-toc {
<body>
<div class="document" id="product-brand-manager">
<h1 class="title">Product Brand Manager</h1>
<h2 class="title">Base on OCA product brand manager</h2>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!

View File

@@ -11,20 +11,23 @@
</field>
</record>
<act_window
id="action_open_brand_products"
name="Brand Products"
res_model="product.template"
view_mode="kanban,form,tree"
domain="[('product_brand_id', '=', active_id)]"/>
<!--action-->
<record id="action_open_brand_products" model="ir.actions.act_window">
<field name="name">Brand Products</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.template</field>
<field name="view_mode">kanban,form,tree</field>
<field name="domain">[('product_brand_id', '=', active_id)]</field>
</record>
<act_window
id="action_open_single_product_brand"
name="Product Brand"
res_model="product.brand"
view_mode="kanban,form,tree"
target="current"
domain="[('product_ids', 'in', active_id)]"/>
<record id="action_open_single_product_brand" model="ir.actions.act_window">
<field name="name">Product Brand</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.brand</field>
<field name="view_mode">kanban,form,tree</field>
<field name="target">current</field>
<field name="domain">[('product_ids', 'in', active_id)]</field>
</record>
<record id="view_product_brand_form" model="ir.ui.view">
<field name="name">product.brand.form</field>

View File

@@ -8,7 +8,7 @@
<field name="arch" type="xml">
<xpath expr="//search">
<searchpanel view_types="tree,kanban,search">
<field name="categ_id" widget="ztree_select" text="name"/>
<field name="categ_id" text="name" enable_counters="1" expand="1"/>
<field name="type"/>
</searchpanel>
</xpath>