[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:
Siddharth Bhalgami 2018-03-14 15:16:46 +05:30
parent f82dab43da
commit 5f5020a05d
1 changed files with 2 additions and 1 deletions

View File

@ -328,13 +328,14 @@
<field name="model">product.brand</field>
<field name="arch" type="xml">
<kanban>
<field name="id"/>
<field name="brand_image"/>
<field name="name"/>
<templates>
<t t-name="kanban-box">
<div class="oe_kanban_global_click">
<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 class="oe_kanban_details">
<strong><field name="name"/></strong>