Report QWeb PDF Cover

report_qweb_pdf_cover
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_qweb_pdf_cover
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYReporting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, JasminSForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/reporting-engine
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits base.act_report_xml_view
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
REPOSITORY
REPOSITORYOCA/reporting-engine
GIT
GIThttps://github.com/OCA/reporting-engine.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/reporting-engine/tree/16.0/report_qweb_pdf_cover
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYReporting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, LauraCForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/reporting-engine
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
act_report_xml_view ir.actions.report field Inherits base.act_report_xml_view
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