mirror of
https://gitlab.com/flectra-community/reporting-engine.git
synced 2024-11-14 10:12:05 +00:00
Automatic Update form OCA2FC Migrator
This commit is contained in:
parent
61db911740
commit
dd0f47bb6b
@ -19,7 +19,7 @@ addon | version | summary
|
||||
[report_xlsx_helper](report_xlsx_helper/) | 2.0.1.0.1| Report xlsx helpers
|
||||
[report_xlsx](report_xlsx/) | 2.0.1.0.5| Base module to create xlsx report
|
||||
[bi_view_editor](bi_view_editor/) | 2.0.1.0.0| Graphical BI views builder for Odoo
|
||||
[report_qweb_encrypt](report_qweb_encrypt/) | 2.0.1.0.0| Allow to encrypt qweb pdfs
|
||||
[report_qweb_encrypt](report_qweb_encrypt/) | 2.0.1.0.1| Allow to encrypt qweb pdfs
|
||||
[report_qweb_parameter](report_qweb_parameter/) | 2.0.1.0.0| Add new parameters for qweb templates in order to reduce field length and check minimal length
|
||||
[kpi_dashboard](kpi_dashboard/) | 2.0.1.0.0| Create Dashboards using kpis
|
||||
[report_py3o_fusion_server](report_py3o_fusion_server/) | 2.0.1.0.0| Let the fusion server handle format conversion.
|
||||
|
@ -5,7 +5,7 @@
|
||||
{
|
||||
"name": "Report Qweb Encrypt",
|
||||
"summary": "Allow to encrypt qweb pdfs",
|
||||
"version": "2.0.1.0.0",
|
||||
"version": "2.0.1.0.1",
|
||||
"license": "AGPL-3",
|
||||
"author": "Creu Blanca,Ecosoft,Odoo Community Association (OCA)",
|
||||
"website": "https://gitlab.com/flectra-community/reporting-engine",
|
||||
|
@ -34,6 +34,8 @@ class IrActionsReport(models.Model):
|
||||
document, ttype = super(IrActionsReport, self)._render_qweb_pdf(
|
||||
res_ids=res_ids, data=data
|
||||
)
|
||||
if isinstance(res_ids, int):
|
||||
res_ids = [res_ids]
|
||||
password = self._get_pdf_password(res_ids[:1])
|
||||
document = self._encrypt_pdf(document, password)
|
||||
return document, ttype
|
||||
|
Loading…
Reference in New Issue
Block a user