Browse Source

Dec 12: [FIX] Bug Fixed 'sale_product_image'

pull/309/head
Cybrosys Technologies 5 months ago
parent
commit
6e15d35d1a
  1. 6
      sale_product_image/doc/RELEASE_NOTES.md
  2. 9
      sale_product_image/report/sale_order_report.xml

6
sale_product_image/doc/RELEASE_NOTES.md

@ -5,3 +5,9 @@
##### ADD
- Initial commit for Sale Order Line Images
#### 10.12.2024
#### Version 17.0.1.0.0
##### Bug fixes
- Updated the image size in the report

9
sale_product_image/report/sale_order_report.xml

@ -12,12 +12,11 @@
</xpath>
<xpath expr="//t[@t-foreach='lines_to_report']//td[@name='td_name']"
position="after">
<t t-if="request.env['ir.config_parameter'].sudo().get_param('sale_product_image.is_show_product_image_in_sale_report')">
<td style="height:100px !important;width:100px !important;">
<t t-if="request.env['ir.config_parameter'].sudo().get_param('sale_product_image.is_show_product_image_in_sale_report')">
<td>
<span t-field="line.order_line_image"
t-options='{"widget": "image"}'/>
</td>
</t>
t-options='{"widget": "image", "qweb_img_responsive": False, "class": "img img-fluid"}'/></td>
</t>
</xpath>
</template>
</odoo>

Loading…
Cancel
Save