Skip to content

Commit

Permalink
[MIG] product_brand: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Samir GUESMI committed Sep 18, 2024
1 parent ab6b007 commit 30a665d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion product_brand/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

{
"name": "Product Brand Manager",
"version": "17.0.1.1.1",
"version": "18.0.1.0.0",
"development_status": "Mature",
"category": "Product",
"summary": "Product Brand Manager",
Expand Down
11 changes: 4 additions & 7 deletions product_brand/views/product_brand_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@
<field name="name">product.brand.tree</field>
<field name="model">product.brand</field>
<field name="arch" type="xml">
<tree>
<list>
<field name="name" />
<field name="description" />
<field name="partner_id" />
</tree>
</list>
</field>
</record>
<record id="view_product_brand_kanban" model="ir.ui.view">
Expand Down Expand Up @@ -147,7 +147,7 @@
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_kanban_view" />
<field name="arch" type="xml">
<xpath expr="//strong[hasclass('o_kanban_record_title')]" position="after">
<xpath expr="//div[hasclass('d-flex')]" position="after">
<div>
<a
t-if="record.product_brand_id"
Expand All @@ -165,10 +165,7 @@
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_kanban_view" />
<field name="arch" type="xml">
<xpath
expr="//div[hasclass('oe_kanban_details')]//strong[1]"
position="after"
>
<xpath expr="//div[hasclass('d-flex')]" position="after">
<div>
<a t-if="record.product_brand_id" type="open">
<field name="product_brand_id" />
Expand Down

0 comments on commit 30a665d

Please sign in to comment.