Browse Source

Sep 20: [FIX] Bug Fixed 'sale_product_image'

18.0
Risvana Cybro 3 days ago
parent
commit
740f1853c6
  1. 2
      sale_product_image/__manifest__.py
  2. 6
      sale_product_image/doc/RELEASE_NOTES.md
  3. 4
      sale_product_image/report/sale_order_report.xml

2
sale_product_image/__manifest__.py

@ -21,7 +21,7 @@
############################################################################# #############################################################################
{ {
"name": "Sale Order Line Images", "name": "Sale Order Line Images",
"version": "18.0.1.0.1", "version": "18.0.1.0.2",
"category": 'Sales', "category": 'Sales',
"summary": "Order Line Images In Sale and Sale Report", "summary": "Order Line Images In Sale and Sale Report",
"description": """Order Line Images In Sale and Sale Report, odoo 17, order line images""", "description": """Order Line Images In Sale and Sale Report, odoo 17, order line images""",

6
sale_product_image/doc/RELEASE_NOTES.md

@ -9,3 +9,9 @@
#### Version 18.0.1.0.1 #### Version 18.0.1.0.1
##### FIX ##### FIX
- Fixed the issue in printing product images in the pdf report. - Fixed the issue in printing product images in the pdf report.
#### 16.09.2025
#### Version 18.0.1.0.2
##### FIX
- Fixed the issues with pdf report for product without images.

4
sale_product_image/report/sale_order_report.xml

@ -14,7 +14,9 @@
position="after"> position="after">
<t t-if="request.env['ir.config_parameter'].sudo().get_param('sale_product_image.is_show_product_image_in_sale_report')"> <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;"> <td style="height:100px !important;width:100px !important;">
<img t-att-src="image_data_uri(line.product_id.image_1920)" class="img-fluid"/> <img t-if="line.product_id.image_1920"
t-att-src="image_data_uri(line.product_id.image_1920)"
class="img-fluid"/>
</td> </td>
</t> </t>
</xpath> </xpath>

Loading…
Cancel
Save