[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 Apr 15, 2026
Conversation
…image for WebP compatibility" The previous fix did not solve the issue correctly. This reverts commit 1d3438f.
pedrobaeza
approved these changes
Apr 15, 2026
juancarlosonate-tecnativa
approved these changes
Apr 15, 2026
Member
|
/ocabot merge patch |
Contributor
|
Hey, thanks for contributing! Proceeding to merge this for you. |
Contributor
|
Congratulations, your PR was merged at ab90b8b. Thanks a lot for contributing to OCA. ❤️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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