Skip to content

[17.0][FIX] sale_order_report_product_image: allow showing images in portal reports#368

Merged
OCA-git-bot merged 2 commits intoOCA:17.0from
Tecnativa:17.0-fix-sale_order_report_product_image-portal
Apr 15, 2026
Merged

[17.0][FIX] sale_order_report_product_image: allow showing images in portal reports#368
OCA-git-bot merged 2 commits intoOCA:17.0from
Tecnativa:17.0-fix-sale_order_report_product_image-portal

Conversation

@pilarvargas-tecnativa
Copy link
Copy Markdown
Contributor

revert + fwp #358

The fix introduced in #367 (using image_1920) worked in local testing but does not reliably solve the issue in all cases.

Further analysis showed that the problem is not related to the image resolution, but to how images are rendered in PDF reports.

This PR applies the approach in 16.0 (#358), replacing the use of the t-field image widget with a direct tag, which ensures proper rendering of product images in PDF reports.

@Tecnativa TT62020

@pedrobaeza @juancarlosonate-tecnativa please review

pilarvargas-tecnativa and others added 2 commits April 15, 2026 10:26
…image for WebP compatibility"

The previous fix did not solve the issue correctly.

This reverts commit 1d3438f.
@OCA-git-bot OCA-git-bot added mod:sale_order_report_product_image Module sale_order_report_product_image series:17.0 labels Apr 15, 2026
@pedrobaeza pedrobaeza added this to the 17.0 milestone Apr 15, 2026
@pedrobaeza
Copy link
Copy Markdown
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 17.0-ocabot-merge-pr-368-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 508c7e2 into OCA:17.0 Apr 15, 2026
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at ab90b8b. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 17.0-fix-sale_order_report_product_image-portal branch April 15, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants