Browse Source

Dec 7 : [FIX] Bug Fixed 'sale_product_image'

pull/295/head
AjmalCybro 1 year ago
parent
commit
6e5d28b852
  1. 3
      sale_product_image/report/sale_order_report.xml

3
sale_product_image/report/sale_order_report.xml

@ -10,7 +10,8 @@
</th>
</t>
</xpath>
<xpath expr="//t[@t-foreach='lines_to_report']//td[@name='td_name']" position="after">
<xpath expr="//t[@t-foreach='lines_to_report']//td[@name='td_name']" position="replace">
<td name="td_name"><span style="display:block;width:200px;word-wrap:break-word;" t-esc="line.name"/></td>
<t t-if="request.env['ir.config_parameter'].sudo().get_param('sale_product_image.show_product_image_in_sale_report')">
<td style="height:20px !important;width:20px !important;">
<span t-field="line.order_line_image" t-options='{"widget": "image"}'

Loading…
Cancel
Save