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', 'name': 'Product Brand Manager',
'version': '14.20.04.11', 'version': '14.20.11.18',
'author': 'Sunpop.cn', 'author': 'Sunpop.cn',
'category': 'Product', 'category': 'Product',
'website': 'https://www.sunpop.cn', 'website': 'https://www.sunpop.cn',
@@ -54,15 +54,15 @@
'sale', 'sale',
], ],
'summary': """ 'summary': """
Odoo App of Sunpop.cn Product brand manager. Odoo App of Sunpop.cn
""", """,
'description': """ 'description': """
Support Odoo 14,13,12, 11, Enterprise and Community Edition Support Odoo 1312, 11, Enterprise and Community Edition
1. 1.
2. 2.
3. Multi-language Support. 3. Multi-language Support.
4. Multi-Company 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. 1.
2. 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> <body>
<div class="document" id="product-brand-manager"> <div class="document" id="product-brand-manager">
<h1 class="title">Product Brand Manager</h1> <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 !! !! This file is generated by oca-gen-addon-readme !!

View File

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

View File

@@ -8,7 +8,7 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//search"> <xpath expr="//search">
<searchpanel view_types="tree,kanban,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"/> <field name="type"/>
</searchpanel> </searchpanel>
</xpath> </xpath>