[FIX] Product Brand Kanban Image display Issue
Even image is exist in form view, but still its not coming up in Kanban view!
This commit is contained in:
parent
f82dab43da
commit
5f5020a05d
@ -328,13 +328,14 @@
|
|||||||
<field name="model">product.brand</field>
|
<field name="model">product.brand</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<kanban>
|
<kanban>
|
||||||
|
<field name="id"/>
|
||||||
<field name="brand_image"/>
|
<field name="brand_image"/>
|
||||||
<field name="name"/>
|
<field name="name"/>
|
||||||
<templates>
|
<templates>
|
||||||
<t t-name="kanban-box">
|
<t t-name="kanban-box">
|
||||||
<div class="oe_kanban_global_click">
|
<div class="oe_kanban_global_click">
|
||||||
<div class="o_kanban_image">
|
<div class="o_kanban_image">
|
||||||
<img t-att-src="kanban_image('product.brand', 'brand_image')"/>
|
<img t-att-src="kanban_image('product.brand', 'brand_image', record.id.raw_value)"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="oe_kanban_details">
|
<div class="oe_kanban_details">
|
||||||
<strong><field name="name"/></strong>
|
<strong><field name="name"/></strong>
|
||||||
|
Loading…
Reference in New Issue
Block a user