Repository
OCA/reporting-engine · module folder · Try on Runboat
Module version
1.0.3
Category
Reporting
Folder size
19.36 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/reporting-engine
Last tracking update
2026-08-07 08:23:12
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Carlos Lopez, Florian da Costa, OCA-git-bot, oca-ci, Hector Vior
Odoo dependencies
odoo/odoo:
- bus
- web
Python dependencies
cryptography, endesive ; python_version >= '3.12', endesive<=2.18.5 ; python_version < '3.12'
System dependencies
default-jre-headless
Required by
None
Description
This module extends the functionality of report module to sign PDFs
using a PKCS#12 certificate.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
report_partner_demo report_partner_demo ir.ui.view qweb New
report_partner_demo_document report_partner_demo_document ir.ui.view qweb New
view_company_form Add PDF report certificates list res.company form Inherits base.view_company_form
view_report_certificate_form report.certificate.form report.certificate form New
view_report_certificate_tree report.certificate.tree report.certificate tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • pdf_sign(self, pdf, certificate)

New fields (15)
  • action_report_ids Many2many → ir.actions.report
    column1='report_certificate_id' column2='action_report_id' comodel_name='ir.actions.report' domain="[('model_id', '=', model_id)]" help='Reports to sign for the selected model.No report selected means all reports are allowed.' relation='report_certificate_action_report' string='Allowed reports'
  • allow_only_one Boolean
    default=True help='If True, this certificate can not be useb to sign a PDF from several documents.' string='Allow only one document'
  • attachment Char
    help='Filename used to store signed document as attachment. Keep empty to not save signed document.' string='Save as attachment'
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True string='Company'
  • domain Char
    help='Domain for filtering if sign or not the document'
  • endesive_certificate_location Char
    help='Location to include in digital signature (typically, a city name). ' string='Signature location'
  • endesive_certificate_mail Char
    help='E-mail address to include in PDF digital signature.' string='Signature e-mail'
  • endesive_certificate_reason Char
    help='Reason text to include in digital signature.' string='Signature reason'
  • model_id Many2one → ir.model
    comodel_name='ir.model' help='Model where apply this certificate' ondelete='cascade' required=True
  • model_name Char
    related='model_id.model'
  • name Char
    required=True
  • password_file Char
    help='Path to certificate password file' required=True string='Password file path'
  • path Char
    help='Path to PKCS#12 certificate file' required=True string='Certificate file path'
  • sequence Integer
    default=10
  • signing_method Selection
    default='java' required=True selection=[('java', 'Java'), ('endesive', 'Endesive')]
Public methods (0)

No public methods.

New fields (1)
  • report_certificate_ids One2many → report.certificate
    comodel_name='report.certificate' inverse_name='company_id' string='PDF report certificates'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
246 days ago
Last activity
17 days ago
Repository
OCA/reporting-engine
Pull request
[18.0][MIG] report_qweb_signer: Migration to 18.0 (#1105)