Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 4 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 7 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
2 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.1 MB
Module directory on disk
Code analysis 1 migration note 4 models 4 views 0 HTTP endpoints

Description

The new menu "Report Center" is the central place to host your reports in one place. From here, there are 2 ways to launch the report,

  1. Run Now - run report immediately as per normal.
  2. Run Background - put the report execution to queue job.

By using the queue job, option 2 is great for long running report. The report file will be saved for later use, with the option to send report by email as soon as it is ready.

Notes:

  • Only user with Technical Feature rights can manage the report.
  • Every internal user will have right to execute the report allowed for his/her groups.
  • The files created are owned and viewable only by the person who run the report.
  • Job queue manager can also see all jobs for each reports.

Dependencies

Odoo dependencies
Python dependencies
openupgradelib, requests
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 4

XML IDNameModelTypeStatus
print_report_wizard print.report.wizard print.report.wizard form New
view_report_async_form report.async.form report.async form New
view_report_async_search report.async.search report.async search New
view_report_async_tree report.async.tree report.async list New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (0)

No new fields.

Public methods (3)
  • fetch(self, field_names)
    Add permission to read analytic account for do something.
  • name_search(self, name, domain=None, operator='ilike', limit=100)
    @api.model
  • search(self, args, offset=0, limit=None, order=None)
    @api.model

New fields (0)

No new fields.

Public methods (1)
  • report_action(self, docids, data=None, config=True)

New fields (2)
  • action_report_id Many2one → ir.actions.report
    comodel_name='ir.actions.report' required=True string='Report Template'
  • reference Reference
    required=True selection='_reference_models' string='Document'
Public methods (1)
  • print_report(self)

New fields (9)
  • action_id Many2one → ir.actions.act_window
    comodel_name='ir.actions.act_window' required=True string='Reports'
  • allow_async Boolean
    default=False help='This is not automatic field, please check if you want to allow this report in background process'
  • email_notify Boolean
    help='Send email with link to report, when it is ready' string='Email Notification'
  • file_ids Many2many → ir.attachment
    comodel_name='ir.attachment' compute='_compute_file' help='List all files created by this report background process'
  • group_ids Many2many → res.groups
    comodel_name='res.groups' help='Only user in selected groups can use this report.If left blank, everyone can use' string='Groups'
  • job_ids Many2many → queue.job
    comodel_name='queue.job' compute='_compute_job' help='List all jobs related to this running report'
  • job_info Text
    compute='_compute_job' help='Latest Job Error Message'
  • job_status Selection
    compute='_compute_job' help='Latest Job Status' selection=[('pending', 'Pending'), ('enqueued', 'Enqueued'), ('started', 'Started'), ('done', 'Done'), ('failed', 'Failed')]
  • name Char
    related='action_id.display_name' string='Name'
Public methods (5)
  • run_async(self)
  • run_now(self)
  • run_report(self, docids, data, report_id, user_id)
    @api.model
  • view_files(self)
  • view_jobs(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…