Repository
OCA/reporting-engine · module folder · Try on Runboat
Module version
1.0.0
Category
Reporting
Folder size
0.06 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), ForgeFlow
Maintainers
Odoo Community Association (OCA), ForgeFlow
Committers
Weblate, OCA-git-bot, oca-ci, JasminSForgeFlow
Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
None
Description
This module allows for front and back covers to be added to the
generated PDF reports. They can be added as a separate page, at the
beginning or the end of the report, but they can also overlap the first
and last page of the actual report, respectively.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
act_report_xml_view ir.actions.report Inherits base.act_report_xml_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (6)
  • back_cover_overlap Boolean
    default=False help='When set, the back cover of the report will overlap with the contents of the last page of the report. This is useful to include some information of the report in the back cover.' string='Overlap Back Cover'
  • back_cover_pdf Binary
    help='Upload an PDF file to use as a back cover on this report.' string='Back Cover PDF'
  • front_cover_overlap Boolean
    default=False help='When set, the front cover of the report will overlap with the contents of the first page of the report. This is useful to include some information of the report in the front cover.' string='Overlap Front Cover'
  • front_cover_pdf Binary
    help='Upload an PDF file to use as a front cover on this report.' string='Front Cover PDF'
  • use_back_cover Boolean
    default=False help='Use a back cover when rendering the PDF report.'
  • use_front_cover Boolean
    default=False help='Use a front cover when rendering the PDF report.'
Public methods (4)
  • insert_cover_pages(self, pdf, pages, pdf_front_cover, pdf_back_cover, use_front_cover, use_back_cover, front_cover_overlap, back_cover_overlap)
    @api.model
  • load_cover_pdfs(self, front_cover, back_cover, use_front_cover, use_back_cover)
    @api.model
  • load_covers(self, report_sudo, front_cover, back_cover, use_front_cover, use_back_cover)
  • pdf_check_pages(self, num_pages, front=True)
    @api.model

Loading…