Report QWeb PDF Cover
report_qweb_pdf_cover · OCA/reporting-engine
Health
54/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 21 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis
0 migration notes
1 model
1 view
0 HTTP endpoints
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
act_report_xml_view |
ir.actions.report | Inherits base.act_report_xml_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (6)
-
back_cover_overlapBooleandefault=Falsehelp='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_pdfBinaryhelp='Upload an PDF file to use as a back cover on this report.'string='Back Cover PDF' -
front_cover_overlapBooleandefault=Falsehelp='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_pdfBinaryhelp='Upload an PDF file to use as a front cover on this report.'string='Front Cover PDF' -
use_back_coverBooleandefault=Falsehelp='Use a back cover when rendering the PDF report.' -
use_front_coverBooleandefault=Falsehelp='Use a front cover when rendering the PDF report.'
-
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
Loading…
Loading…