odoo/odoo#208926
Created by fw-bot
Merged
at 1490e3143f0482a732b9ec2961f78ad55f56a508
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:saas-18.3-18.0-opw-4727408-report-background-image-issue-khsr-434277-fw
- head
- 733f39b8684d425a52350eba0fbb136d4620a14d
- merged
- 1 month ago by Khushi Srivastava (khsr)
odoo/odoo | |
---|---|
18.0 | #207029 |
saas-18.1 | #208884 |
saas-18.2 | #208908 |
saas-18.3 | #208926 |
master | #209032 |
[FW][FIX] web: report background image not displaying correctly
Steps to reproduce:
1. Settings > Navigate to Configure Document Layout
2. Under Layout Background, select Custom and upload an image.
Issue:
Background image was being cut off at the end. The image was not covering the entire div.
Solution:
Updated the .o_report_layout_background
CSS to use background-size: contain
and remove 300px from background-position
to ensure the image scales
proportionally and stays centered.
Before FIX :
After FIX :
Forward-Port-Of: #207029