Repository
OCA/reporting-engine · module folder · Try on Runboat
Module version
1.0.0
Category
Reporting
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/reporting-engine
Last tracking update
2026-08-07 08:43:02
Authors
Odoo Community Association (OCA), Quartile
Maintainers
Odoo Community Association (OCA), Quartile
Committers
Aungkokolin1997, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
OCA/reporting-engine:
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
None
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

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
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_images Boolean
    help='If checked, company-level images will be shown in addition to report-specific images.'
  • report_positioned_image_ids Many2many → report.positioned.image
    column1='report_id' column2='image_id' comodel_name='report.positioned.image' relation='ir_actions_report_positioned_image_rel' string='Report Images'
Public methods (0)

No public methods.

New fields (9)
  • company_id Many2one → res.company
    comodel_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_only Boolean
  • height Float
    string='Height (mm)'
  • image Binary
    attachment=True required=True
  • name Char
    required=True
  • pos_left Float
    default=5.0 string='Left (mm)'
  • pos_top Float
    default=5.0 string='Top (mm)'
  • respect_image_ratio Boolean
    default=True help='When enabled, changing width or height will automatically adjust the other dimension to maintain the original image aspect ratio.'
  • width Float
    string='Width (mm)'
Public methods (0)

No public methods.

New fields (1)
  • report_positioned_image_ids Many2many → report.positioned.image
    column1='company_id' column2='image_id' comodel_name='report.positioned.image' relation='res_company_positioned_image_rel' string='Company Images'
Public methods (0)

No public methods.