Report Positioned Image

report_positioned_image
REPOSITORY
REPOSITORYOCA/reporting-engine
GIT
GIThttps://github.com/OCA/reporting-engine.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/reporting-engine/tree/18.0/report_positioned_image
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYReporting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Quartile
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Quartile
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Aungkokolin1997
WEBSITE
WEBSITEhttps://github.com/OCA/reporting-engine
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/reporting-engine:
    - report_qweb_element_page_visibility
odoo/odoo:
    - web
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits base.act_report_xml_view
view_company_form_positioned_image res.company.form.positioned.image res.company xpath Inherits base.view_company_form
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.