OdooWiki OCA HUB

Report Qweb Encrypt

report_qweb_encrypt folder_open OCA/reporting-engine open_in_new
Uncategorised License: AGPL-3

This module allow you to encrypt PDF with a password seting option,

  • Manually keyin password (only applicable for record print action)
  • Auto generated password based on object data (python)

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

This module lets you protect PDF reports with a password. You can either ask the user to type a password before printing or let Odoo generate one automatically from the record data.

When you configure a report, you can now choose an encryption option. The setting appears on the report form, after the paper format field, but only for QWeb PDF or HTML reports.

  • Manual Input Password: before the PDF is downloaded, a small dialog asks the user to enter a password. The PDF is then encrypted with that password.
  • Auto Generated Password: you write a small Python expression (for example, using a field from the record) and Odoo uses it to create the password automatically each time the report is generated.

The module extends the report action model (ir.actions.report) with two new fields: encrypt and encrypt_password. It also changes how PDFs are rendered and downloaded so that the encryption is applied. If the password is empty, the PDF is left unencrypted.

A new dialog component is added to the backend interface for entering the password manually. The report download controller is also extended to handle the password when the PDF is requested from the web client.

This affects any QWeb PDF report in Odoo. No new menus are added; the options are available directly in the report configuration form.

Depends on

web
Models and fields (1)
  • ir.actions.report · extends an existing modelencrypt (Encryption), encrypt_password

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/reporting-engine.

terminal Installation and usage

OCA documentation · Odoo 19.0

To make a report encryptable mark the field Encryption in the report record.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.