FB-004: Bilder werden im TEST zu groß angezeigt
parent
ce46936b56
commit
e7e753b2d1
|
|
@ -191,9 +191,9 @@
|
|||
<tr>
|
||||
<td colspan="4" style="border: 0;text-align: center;">
|
||||
<img t-if="order_line.lot_id.image_medium"
|
||||
t-att-src="'data:image/png;base64,%s' % order_line.lot_id.image_medium.decode()"/>
|
||||
t-att-src="'data:image/png;base64,%s' % order_line.lot_id.image_medium.decode()" style="max-width: 128px;"/>
|
||||
<img t-if="not order_line.lot_id.image_medium and order_line.product_id.image_medium"
|
||||
t-att-src="'data:image/png;base64,%s' % order_line.product_id.image_medium.decode()"/>
|
||||
t-att-src="'data:image/png;base64,%s' % order_line.product_id.image_medium.decode()" style="max-width: 128px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
</t>
|
||||
|
|
|
|||
Loading…
Reference in New Issue