parent
79ab7da24b
commit
0dac48c84a
|
@ -466,7 +466,7 @@ class product_product(osv.osv):
|
|||
'price_extra': lambda *a: 0.0,
|
||||
'price_margin': lambda *a: 1.0,
|
||||
'color': 0,
|
||||
'product_image':_get_photo,
|
||||
# 'product_image':_get_photo,
|
||||
}
|
||||
|
||||
_name = "product.product"
|
||||
|
|
|
@ -233,7 +233,12 @@
|
|||
<table class="oe_kanban_table">
|
||||
<tr>
|
||||
<td valign="top" width="22">
|
||||
<t t-if="record.product_image.raw_value">
|
||||
<img t-att-src="'data:image/png;base64,'+record.product_image.raw_value" width='48' height='48'/>
|
||||
</t>
|
||||
<t t-if="!record.product_image.raw_value">
|
||||
<img src="/web/static/src/img/product_default.png"/>
|
||||
</t>
|
||||
</td>
|
||||
<td>
|
||||
<div class="oe_kanban_title2">
|
||||
|
|
Loading…
Reference in New Issue