Add positioned images to PDF reports.
Project description
Report Positioned Image
This module allows you to add positioned images (such as watermarks, logos, or stamps) to PDF reports. Images can be precisely positioned using millimeter coordinates (top, left) and you can control whether they appear on all pages or only the first page.
The module supports two types of images:
Company-level Images: Define images at the company level that can be included in reports by enabling the Include Company Images option
Report-specific Images: Configure specific images for individual reports, filtered by company context and always shown when configured
Images can be assigned to a specific company or left as shared records (without company assignment) for use across multiple companies
Table of contents
Configuration
To configure company-level images:
Go to Settings / Companies
Open your company record
Navigate to the Report Images tab
Add images with position settings:
Upload an image - width defaults to 50mm and height is automatically calculated to maintain the original aspect ratio
Top (mm): Distance from the top of the page
Left (mm): Distance from the left edge of the page
Width (mm): Width of the image (changing this auto-adjusts height)
Height (mm): Height of the image (changing this auto-adjusts width)
Respect Image Ratio: When enabled (default), changing width or height automatically adjusts the other dimension to maintain aspect ratio. Uncheck for manual control of both dimensions.
First Page Only: Check to show only on the first page
Company: Automatically set to the current company when creating from the company form. To create shared images, leave empty.
To configure report-specific images:
Go to Settings / Technical / Actions / Reports
Open the report you want to customize
Navigate to the Report Images tab
Check Include Company Images if you want to show company-level images in addition to report-specific images
Add report-specific images in the list with the same position settings as above
Note: By default, images maintain their aspect ratio. When you upload an image, it’s automatically sized to 50mm width with proportional height. You can then adjust either dimension and the other will update automatically to prevent distortion.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Quartile <https://www.quartile.co>
Tatsuki Kanda
Aung Ko Ko Lin
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/reporting-engine project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_report_positioned_image-18.0.1.0.0.2-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_report_positioned_image-18.0.1.0.0.2-py3-none-any.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d038aaafd2b09ec3b3a6ed36c00b24311181471a3e5a9681f38e46ea34684093
|
|
| MD5 |
2868e84a096581339f12d3bde8552599
|
|
| BLAKE2b-256 |
da85d9da75db0aceed7de9addb094ec68c835f70ff611993aa57f81b7ad3379c
|