Qweb PDF reports signer
(0)
371

Qweb PDF reports signer

FREE

Required apps
Web Editor (web_editor)
Technical name
report_qweb_signer
License
AGPL-3
Secure dependencies
N/A
Qweb PDF reports signer

Qweb PDF reports signer

Beta License: AGPL-3 OCA/reporting-engine Translate me on Weblate Try me on Runboat

This module extends the functionality of report module to sign PDFs using a PKCS#12 certificate.

Table of contents

Installation

To install this module, you need to install Java JDK Headlees, e.g.:

apt-get install openjdk-8-jre-headless

Configuration

In order to start signing PDF documents you need to configure certificate(s) to use in your company.

  • Go to Settings > Companies > Companies > Your company
  • Go to Report configuration tab
  • Click Edit
  • Add a new item in PDF report certificates list
  • Click Create
  • Set name, certificate file, password file and model
  • Optionally you can set a domain and filename pattern for saving as attachment

For example, if you want to sign only customer invoices in open or paid state:

  • Model: account.invoice
  • Domain: [('type','=','out_invoice'), ('state', 'in', ('open', 'paid'))]
  • Save as attachment: (object.number or '').replace('/','_') + '.signed.pdf'

Note: Linux user that executes Odoo server process must have read access to certificate file and password file

Java Memory Settings

If you are signing large amounts of reports at the same time, or if you have a lower worker memory size than the JVM defaults, you may need to tune the JVM heap memory limits. Do so by adding a $JVM_ARGS environment variable that contains the required flags. Check out these links too:

Usage

User just prints PDF documents (only Qweb PDF reports supported) as usual, but signed PDF is automatically downloaded if this document model is configured as indicated above.

If ‘Save as attachment’ is configured, signed PDF is saved as attachment and next time saved one is downloaded without signing again. This is appropiate when signing date is important, for example, when signing customer invoices.

You can try the signing with the demo report that is included for customers called “Test PDF certificate”.

Known issues / Roadmap

  • When signing multiple documents (if ‘Allow only one document’ is disable) then ‘Save as attachment’ is not applied and signed result is not saved as attachment.
  • To have a visible signature through an image embedded in the resulting PDF.
  • Add tests.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Tecnativa

Contributors

  • Tecnativa:

    • Rafael Blasco
    • Antonio Espinosa
    • Pedro M. Baeza
    • Jairo Llopis
    • David Vidal

Other credits

External utilities

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/reporting-engine project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

0.0 / 5.0
based on 0 ratings

Python dependencies

Package Version Secured
openupgradelib 3.10.0
This app has automated tests.

Available languages

Language % translated
Slovenian / slovenščina
82%
German / Deutsch
82%
Croatian / hrvatski jezik
51%
Turkish / Türkçe
37%
Italian / Italiano
34%
Portuguese (BR) / Português (BR)
34%
Finnish / Suomi
34%
Turkish / Türkçe
34%
Dutch / Nederlands
31%
Arabic / الْعَرَبيّة
31%
Portuguese / Português
31%
Slovak / Slovenský jazyk
31%
Chinese (Simplified) / 简体中文
31%
Spanish (MX) / Español (MX)
31%
Dutch (BE) / Nederlands (BE)
31%
Chinese (Traditional) / 繁體中文
28%
Romanian / română
28%
English (UK)
28%
Swedish / Svenska
28%
Estonian / Eesti keel
28%
Croatian / hrvatski jezik
28%
Bosnian / bosanski jezik
28%
Polish / Język polski
28%
Bulgarian / български език
28%
Spanish (EC) / Español (EC)
28%
Japanese / 日本語
28%
Mongolian / монгол
28%
Portuguese / Português
28%
Macedonian / македонски јазик
28%
Indonesian / Bahasa Indonesia
28%
Thai / ภาษาไทย
28%
Hungarian / Magyar
28%
Norwegian Bokmål / Norsk bokmål
25%
Spanish (DO) / Español (DO)
25%
Russian / русский язык
25%
Spanish (VE) / Español (VE)
25%
Spanish / Español
25%
Spanish (AR) / Español (AR)
25%
Serbian (Latin) / srpski
25%
Ukrainian / українська
25%
Spanish (CL) / Español (CL)
25%
French (CA) / Français (CA)
25%
Vietnamese / Tiếng Việt
25%
Spanish (CO) / Español (CO)
25%
Spanish (PE) / Español (PE)
25%
Hebrew / עִבְרִי
25%
Spanish / Español
25%
Persian / فارس
25%
Latvian / latviešu valoda
22%
Spanish (CR) / Español (CR)
22%
French (CH) / Français (CH)
20%
Greek / Ελληνικά
20%
Spanish (PY) / Español (PY)
20%
Dutch / Nederlands
14%
Vietnamese / Tiếng Việt
14%
Lithuanian / Lietuvių kalba
14%
Lithuanian / Lietuvių kalba
14%
Galician / Galego
2%
Galician / Galego
2%
French / Français
2%
French / Français
2%
Catalan / Català
2%