Report Positioned Image
report_positioned_image · OCA/reporting-engine
Health
67/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
0 migration notes
3 models
4 views
0 HTTP endpoints
Description
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
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
report_positioned_image_view_form |
report.positioned.image.view.form | report.positioned.image | form | New |
report_positioned_image_view_tree |
report.positioned.image.view.tree | report.positioned.image | list | New |
view_act_report_form_positioned_image |
ir.actions.report.positioned.image | ir.actions.report | form | Inherits base.act_report_xml_view |
view_company_form_positioned_image |
res.company.form.positioned.image | res.company | form | Inherits base.view_company_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (2)
-
include_company_imagesBooleanhelp='If checked, company-level images will be shown in addition to report-specific images.' -
report_positioned_image_idsMany2many → report.positioned.imagecolumn1='report_id'column2='image_id'comodel_name='report.positioned.image'relation='ir_actions_report_positioned_image_rel'string='Report Images'
No public methods.
New fields (9)
-
company_idMany2one → res.companycomodel_name='res.company'default=<expr>help='Leave empty to apply to all companies. Set a specific company to restrict this image to that company only.' -
first_page_onlyBoolean -
heightFloatstring='Height (mm)' -
imageBinaryattachment=Truerequired=True -
nameCharrequired=True -
pos_leftFloatdefault=5.0string='Left (mm)' -
pos_topFloatdefault=5.0string='Top (mm)' -
respect_image_ratioBooleandefault=Truehelp='When enabled, changing width or height will automatically adjust the other dimension to maintain the original image aspect ratio.' -
widthFloatstring='Width (mm)'
No public methods.
New fields (1)
-
report_positioned_image_idsMany2many → report.positioned.imagecolumn1='company_id'column2='image_id'comodel_name='report.positioned.image'relation='res_company_positioned_image_rel'string='Company Images'
No public methods.
Loading…