Skip to content
Health
85/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 7 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 8 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
1
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.07 MB
Module directory on disk
Code analysis 0 migration notes 4 models 8 views 0 HTTP endpoints

Description

This module adds timesheets to a request.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
maintenance_timesheet_time_control

Code analysis

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

Views touched 8

XML IDNameModelTypeStatus
equipment_request_view_form maintenance.request form Inherits base_maintenance.equipment_request_view_form
hr_equipment_request_view_kanban maintenance.request kanban Inherits maintenance.hr_equipment_request_view_kanban
hr_equipment_request_view_tree maintenance.request tree Inherits maintenance.hr_equipment_request_view_tree
hr_timesheet_line_form account.analytic.line form Inherits hr_timesheet.hr_timesheet_line_form
hr_timesheet_line_search account.analytic.line search Inherits hr_timesheet.hr_timesheet_line_search
hr_timesheet_line_tree account.analytic.line tree Inherits hr_timesheet.hr_timesheet_line_tree
report_maintenance_request_document report_maintenance_request_document ir.ui.view qweb Inherits maintenance_project.report_maintenance_request_document
timesheet_view_tree_user account.analytic.line tree Inherits hr_timesheet.timesheet_view_tree_user

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (1)
  • maintenance_request_id Many2one → maintenance.request
    comodel_name='maintenance.request'
Public methods (4)
  • create(self, vals_list)
    @api.model_create_multi
  • onchange_maintenance_request_id(self)
    @api.onchange('maintenance_request_id')
  • unlink(self)
  • write(self, values)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (5)
  • planned_hours Float
    tracking=True
  • progress Float
    aggregator='avg' compute='_compute_progress_hours' store=True
  • remaining_hours Float
    compute='_compute_progress_hours' readonly=True store=True
  • timesheet_ids One2many → account.analytic.line
    comodel_name='account.analytic.line' inverse_name='maintenance_request_id' string='Timesheets'
  • timesheet_total_hours Float
    compute='_compute_timesheet_total_hours' readonly=True store=True
Public methods (1)
  • action_view_timesheet_ids(self)
    Access to the current timesheets for this maintenance request The view will be restricted to the current request and only HR managers could create timesheets for every employee

New fields (1)
  • maintenance_request_id Many2one → maintenance.request
    comodel_name='maintenance.request' readonly=True
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…