<field name="arch" type="xml">
<form string="Product" layout="auto" version="7.0">
<sheet>
- <field name="product_image" widget="image" class="oe_avatar oe_right"/>
+ <field name="image_small" widget="image" class="oe_avatar oe_right" on_change="onchange_image(image_small"/>
<div class="oe_title">
<div class="oe_edit_only">
<kanban>
<field name="color"/>
<field name="type"/>
- <field name="product_image"/>
<field name="list_price"/>
<templates>
<t t-name="kanban-box">
<field name="name"/>
</div>
<div class="oe_kanban_box_content oe_kanban_color_bglight oe_kanban_box_show_onclick_trigger">
- <img t-att-src="kanban_image('product.product', 'product_image', record.id.value)" width="48" style="float: left; padding: 0 4px 4px 0"/>
+ <img t-att-src="kanban_image('product.product', 'image_medium', record.id.value)" width="48" style="float: left; padding: 0 4px 4px 0"/>
Code: <field name="code"/>
<div t-if="record.type.raw_value == 'service'">No Stock</div>
<t t-if="record.type.raw_value != 'service'">