TIP: You can type at any time to perform a new search.
Report
report · odoo/odoo
⚠ Security warnings
access_report— Access rule grants write/create/unlink on 'model_report' to EVERY user (portal/public included): no group is set acl-global-writepaperformat_access_employee— Access rule grants create on 'model_report_paperformat' to EVERY user (portal/public included): no group is set acl-global-write
Found by automated static analysis: these patterns are usually risky, but only a manual review of the module can confirm a real issue.
- Repository
- odoo/odoo · module folder
- Module version
- 0.1.0
- Category
- Base
- Folder size
- 1.13 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- None
- Last tracking update
- 2026-08-07 04:59:45
- Authors
- Maintainers
- None
- Committers
- Olivier Dony, Raphael Collet, Fabien Meghazi, Christophe Simonis, Thibault Delavallée, Martin Trigaux, Odoo Translation Bot, Christophe Matthieu, Denis Ledoux, Simon Lejeune, Goffin Simon, David Monjoie, Nicolas Martinelli, Julien Legros, xmo-odoo, Richard Mathot, qdp-odoo, Géry Debongnie, pvy, Yannick Tivisse, qsm-odoo, Martin Geubelle
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- account, account_financial_report_qweb, account_vat_period_end_statement, analytic, auth_totp, base_report_auto_create_qweb, base_report_to_printer, event, hotel, hr_attendance, hr_expense, hr_holidays, hr_payroll, l10n_ca, l10n_ch_payment_slip, l10n_ch_qr_bill, l10n_it_vat_registries, l10n_nl_tax_statement, l10n_us, mrp_bom_comparison, partner_address_two_lines, partner_label, product, purchase, report_csv, report_py3o, report_qr, report_qweb_element_page_visibility, report_qweb_operating_unit, report_qweb_parameter, report_qweb_pdf_watermark, report_qweb_signer, report_qweb_txt, report_wkhtmltopdf_param, report_xlsx, report_xml, sale, stay, website_snippet_barcode
- Description
Report
Code Analysis ⓘ
Views touched (18)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
act_report_xml_view_inherit |
act_report_xml_view_inherit | ir.actions.report.xml | Inherits base.act_report_xml_view | |
act_report_xml_view_inherit_report |
ir.actions.report.xml.form.inherit | ir.actions.report.xml | form | Inherits base.act_report_xml_view |
assets_backend |
report assets | ir.ui.view | qweb | Inherits web.assets_backend |
base_config_settings_inherited |
base.config.settings.inherited | base.config.settings | Inherits base_setup.view_general_configuration | |
external_layout |
external_layout | ir.ui.view | qweb | New |
external_layout_footer |
external_layout_footer | ir.ui.view | qweb | New |
external_layout_header |
external_layout_header | ir.ui.view | qweb | New |
html_container |
html_container | ir.ui.view | qweb | New |
internal_layout |
internal_layout | ir.ui.view | qweb | New |
layout |
Report layout | ir.ui.view | qweb | New |
minimal_layout |
minimal_layout | ir.ui.view | qweb | New |
paperformat_view_form |
paper_format_view_form | report.paperformat | form | New |
paperformat_view_tree |
paper_format_view_tree | report.paperformat | tree | New |
preview_externalreport |
preview_externalreport | ir.ui.view | qweb | New |
preview_internalreport |
preview_internalreport | ir.ui.view | qweb | New |
report.assets_common |
report.assets_common | ir.ui.view | qweb | New |
report.assets_editor |
report.assets_editor | ir.ui.view | qweb | New |
report.assets_pdf |
report.assets_pdf | ir.ui.view | qweb | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (8)
New fields (1)
-
paperformat_idMany2onerelated='company_id.paperformat_id'string='Paper format *'
-
edit_external_footer(self) -
edit_external_header(self) -
edit_internal_header(self)
New fields (2)
-
paperformat_idMany2one → report.paperformatargs: 'report.paperformat', 'Paper format' -
print_report_nameCharhelp='This is the filename of the report going to download. Keep empty to not change the report filename. You can use a python expression with the object and time variables.' args: 'Printed Report Name'
-
associated_view(self)@api.multiUsed in the ir.actions.report.xml form view in order to search naively after the view(s) used in the rendering.
New fields (0)
No new fields.
Public methods (1)-
session_info(self)
New fields (0)
No new fields.
Public methods (2)-
from_html(self, model, field, element)@api.model -
value_to_html(self, value, options=None)@api.model
New fields (0)
No new fields.
Public methods (5)-
barcode(self, barcode_type, value, width=600, height=100, humanreadable=0) -
get_action(self, docids, report_name, data=None)@api.noguessReturn an action of type ir.actions.report.xml. :param docids: id/ids/browserecord of the records to print (if not used, pass an empty list) :param report_name: Name of the template to generate an action for -
get_html(self, docids, report_name, data=None)@api.modelThis method generates and returns html version of a report. -
get_pdf(self, docids, report_name, html=None, data=None)@api.modelThis method generates and returns pdf version of a report. -
render(self, template, values=None)@api.multiAllow to render a QWeb template python-side. This function returns the 'ir.ui.view' render but embellish it with some variables/methods used in reports. :param values: additionnal methods/variables used in the rendering :returns: html representation of the template
New fields (0)
No new fields.
Public methods (1)-
render_html(self, docids, data=None)@api.model
New fields (14)
-
defaultBooleanargs: 'Default paper format ?' -
dpiIntegerdefault=90required=True args: 'Output DPI' -
formatSelectiondefault='A4'help='Select Proper Paper size' args: [('A0', 'A0 5 841 x 1189 mm'), ('A1', 'A1 6 594 x 841 mm'), ('A2', 'A2 7 420 x 594 mm'), ('A3', 'A3 8 297 x 420 mm'), ('A4', 'A4 0 210 x 297 mm, 8.26 x 11.69 inches'), ('A5', 'A5 9 148 x 210 mm'), ('A6', 'A6 10 105 x 148 mm'), ('A7', 'A7 11 74 x 105 mm'), ('A8', 'A8 12 52 x 74 mm'), ('A9', 'A9 13 37 x 52 mm'), ('B0', 'B0 14 1000 x 1414 mm'), ('B1', 'B1 15 707 x 1000 mm'), ('B2', 'B2 17 500 x 707 mm'), ('B3', 'B3 18 353 x 500 mm'), ('B4', 'B4 19 250 x 353 mm'), ('B5', 'B5 1 176 x 250 mm, 6.93 x 9.84 inches'), ('B6', 'B6 20 125 x 176 mm'), ('B7', 'B7 21 88 x 125 mm'), ('B8', 'B8 22 62 x 88 mm'), ('B9', 'B9 23 33 x 62 mm'), ('B10', ':B10 16 31 x 44 mm'), ('C5E', 'C5E 24 163 x 229 mm'), ('Comm10E', 'Comm10E 25 105 x 241 mm, U.S. Common 10 Envelope'), ('DLE', 'DLE 26 110 x 220 mm'), ('Executive', 'Executive 4 7.5 x 10 inches, 190.5 x 254 mm'), ('Folio', 'Folio 27 210 x 330 mm'), ('Ledger', 'Ledger 28 431.8 x 279.4 mm'), ('Legal', 'Legal 3 8.5 x 14 inches, 215.9 x 355.6 mm'), ('Letter', 'Letter 2 8.5 x 11 inches, 215.9 x 279.4 mm'), ('Tabloid', 'Tabloid 29 279.4 x 431.8 mm'), ('custom', 'Custom')], 'Paper size' -
header_lineBooleandefault=False args: 'Display a header line' -
header_spacingIntegerdefault=35 args: 'Header spacing' -
margin_bottomFloatdefault=20 args: 'Bottom Margin (mm)' -
margin_leftFloatdefault=7 args: 'Left Margin (mm)' -
margin_rightFloatdefault=7 args: 'Right Margin (mm)' -
margin_topFloatdefault=40 args: 'Top Margin (mm)' -
nameCharrequired=True args: 'Name' -
orientationSelectiondefault='Landscape' args: [('Landscape', 'Landscape'), ('Portrait', 'Portrait')], 'Orientation' -
page_heightIntegerdefault=False args: 'Page height (mm)' -
page_widthIntegerdefault=False args: 'Page width (mm)' -
report_idsOne2many → ir.actions.report.xmlhelp='Explicitly associated reports' args: 'ir.actions.report.xml', 'paperformat_id', 'Associated reports'
No public methods.
New fields (1)
-
paperformat_idMany2one → report.paperformatargs: 'report.paperformat', 'Paper format'
-
edit_external_footer(self)@api.multi -
edit_external_header(self)@api.multi -
edit_internal_header(self)@api.multi -
init(self)@api.model_cr
Loading…
Loading…