Skip to content
Health
75/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 10 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 5 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
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.2 MB
Module directory on disk
Code analysis 1 migration note 12 models 2 views 0 HTTP endpoints

Description

This module allows to generate configurable Timesheet Report from Task Logs.

Features:

  • Select reported fields
  • Select and reorder report line grouping
  • Configure time format (HH:MM, HH:MM:SS, or decimal)
  • View in browser, export in PDF and XLSX formats

Dependencies

Odoo dependencies
Python dependencies
None
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 2

XML IDNameModelTypeStatus
hr_timesheet_report_wizard_form hr.timesheet.report.wizard.form hr.timesheet.report.wizard form New
report report ir.ui.view qweb New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 12

New fields (0)

No new fields.

Public methods (1)
  • action_timesheet_report_wizard(self)

New fields (13)
  • date_from Date
    string='Start Date'
  • date_to Date
    string='End Date'
  • department_ids Many2many → hr.department
    comodel_name='hr.department' string='Departments'
  • employee_category_ids Many2many → hr.employee.category
    comodel_name='hr.employee.category' string='Employee Tags'
  • employee_ids Many2many → hr.employee
    comodel_name='hr.employee' string='Employees'
  • entry_field_ids One2many → hr.timesheet.report.field.entry
    comodel_name='hr.timesheet.report.field.entry' inverse_name='report_id' string='Entry Fields'
  • group_ids One2many → hr.timesheet.report.group
    comodel_name='hr.timesheet.report.group' compute='_compute_group_ids' inverse_name='report_id' store=True string='Groups'
  • groupby_field_ids One2many → hr.timesheet.report.field.groupby
    comodel_name='hr.timesheet.report.field.groupby' inverse_name='report_id' string='Group-By Fields'
  • line_ids Many2many → account.analytic.line
    comodel_name='account.analytic.line' string='Account Analytics Lines'
  • project_ids Many2many → project.project
    comodel_name='project.project' string='Projects'
  • task_ids Many2many → project.task
    comodel_name='project.task' string='Tasks'
  • time_format Selection
    required=True selection=<expr> string='Time format'
  • total_unit_amount Float
    compute='_compute_total_unit_amount' store=True string='Total Quantity'
Public methods (1)
  • get_action(self, report_type='qweb-html')

New fields (5)
  • any_line_id Many2one → account.analytic.line
    comodel_name='account.analytic.line' compute='_compute_any_line_id' string='Account Analytics Lines'
  • group_id Many2one → hr.timesheet.report.group
    comodel_name='hr.timesheet.report.group' ondelete='cascade' required=True string='Group'
  • scope Char
  • sequence Integer
    required=True
  • total_unit_amount Float
    compute='_compute_total_unit_amount' store=True string='Total Quantity'
Public methods (1)
  • render_value(self, field_name)

New fields (7)
  • aggregation Char
  • field_name Char
    required=True string='Field name'
  • field_title Char
    required=True string='Field title'
  • field_type Char
    required=True string='Field type'
  • groupby Char
    compute='_compute_groupby' string='Group-by expression'
  • report_id Many2one → hr.timesheet.report
    comodel_name='hr.timesheet.report' ondelete='cascade' required=True string='Report'
  • sequence Integer
    required=True
Public methods (0)

No public methods.

New fields (1)
  • cell_classes Char
    compute='_compute_cell_classes' string='Cell classes'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • entry_ids One2many → hr.timesheet.report.entry
    comodel_name='hr.timesheet.report.entry' compute='_compute_entry_ids' inverse_name='group_id' store=True string='Entries'
  • name Char
  • report_id Many2one → hr.timesheet.report
    comodel_name='hr.timesheet.report' ondelete='cascade' required=True string='Report'
  • scope Char
  • sequence Integer
    required=True
  • total_unit_amount Float
    compute='_compute_total_unit_amount' store=True string='Total Quantity'
Public methods (0)

No public methods.

New fields (12)
  • date_from Date
    string='Start Date'
  • date_to Date
    string='End Date'
  • department_ids Many2many → hr.department
    comodel_name='hr.department' string='Departments'
  • employee_category_ids Many2many → hr.employee.category
    comodel_name='hr.employee.category' string='Employee Tags'
  • employee_ids Many2many → hr.employee
    comodel_name='hr.employee' string='Employees'
  • entry_field_ids One2many → hr.timesheet.report.wizard.field.details
    comodel_name='hr.timesheet.report.wizard.field.details' default=<expr> inverse_name='wizard_id' string='Details Fields'
  • grouping_field_ids One2many → hr.timesheet.report.wizard.field.grouping
    comodel_name='hr.timesheet.report.wizard.field.grouping' default=<expr> inverse_name='wizard_id' string='Grouping Fields'
  • has_line_ids Boolean
    compute='_compute_has_line_ids' string='Has lines (technical)'
  • line_ids Many2many → account.analytic.line
    comodel_name='account.analytic.line' string='Account Analytics Lines'
  • project_ids Many2many → project.project
    comodel_name='project.project' string='Projects'
  • task_ids Many2many → project.task
    comodel_name='project.task' string='Tasks'
  • time_format Selection
    default=<expr> required=True selection=<expr> string='Time format'
Public methods (4)
  • action_export_html(self)
  • action_export_pdf(self)
  • action_export_xlsx(self)
  • create(self, vals_list)
    @api.model_create_multi

New fields (5)
  • field_name Selection
    required=True selection='_selection_field_name' string='Field'
  • field_title Char
    compute='_compute_field_title' string='Title'
  • field_type Char
    compute='_compute_field_type' string='Type'
  • sequence Integer
    default=10 required=True
  • wizard_id Many2one → hr.timesheet.report.wizard
    comodel_name='hr.timesheet.report.wizard' ondelete='cascade' required=True string='Wizard'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • generate_xlsx_report(self, workbook, data, docs)
    @api.model

Loading…

Loading…

Loading…

Loading…

Loading…