FB-004: Bilder werden im TEST zu groß angezeigt

develop
Ahmed Aly 2018-09-03 11:36:29 +02:00
parent ce46936b56
commit e7e753b2d1
1 changed files with 2 additions and 2 deletions

View File

@ -191,9 +191,9 @@
<tr> <tr>
<td colspan="4" style="border: 0;text-align: center;"> <td colspan="4" style="border: 0;text-align: center;">
<img t-if="order_line.lot_id.image_medium" <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" <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> </td>
</tr> </tr>
</t> </t>