Repository
OCA/timesheet · module folder · Try on Runboat
Module version
2.0.1
Category
Human Resources
Folder size
0.12 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/timesheet
Last tracking update
2026-08-07 07:47:43
Authors
Odoo Community Association (OCA), CorporateHub
Maintainers
Odoo Community Association (OCA), CorporateHub
Committers
Alexey Pelykh, Weblate, OCA Transbot, OCA-git-bot, oca-travis, oca-ci, dsolanki, schhatbar
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
hr_utilization_analysis_entry_form hr.utilization.analysis.entry.form hr.utilization.analysis.entry form New
hr_utilization_analysis_entry_graph hr.utilization.analysis.entry.graph hr.utilization.analysis.entry graph New
hr_utilization_analysis_entry_pivot hr.utilization.analysis.entry.pivot hr.utilization.analysis.entry pivot New
hr_utilization_analysis_entry_search hr.utilization.analysis.entry.search hr.utilization.analysis.entry search New
hr_utilization_analysis_entry_tree hr.utilization.analysis.entry.tree hr.utilization.analysis.entry tree New
hr_utilization_analysis_wizard_form hr.utilization.analysis.wizard.form hr.utilization.analysis.wizard form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (7)
  • date_from Date
    required=True string='Start Date'
  • date_to Date
    required=True 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_ids One2many → hr.utilization.analysis.entry
    comodel_name='hr.utilization.analysis.entry' compute='_compute_entry_ids' inverse_name='analysis_id' store=True string='Entries'
  • only_active_employees Boolean
    default=True string='Only Active Employees'
Public methods (0)

No public methods.

New fields (10)
  • amount Float
    compute='_compute_amount' store=True string='Quantity'
  • analysis_id Many2one → hr.utilization.analysis
    comodel_name='hr.utilization.analysis' ondelete='cascade' required=True string='Analysis'
  • capacity Float
    compute='_compute_capacity' store=True string='Capacity'
  • date Date
    required=True string='Date'
  • department_id Many2one → hr.department
    comodel_name='hr.department' related='employee_id.department_id' store=True string='Department'
  • difference Float
    compute='_compute_difference' store=True string='Difference'
  • employee_id Many2one → hr.employee
    comodel_name='hr.employee' required=True string='Employee'
  • line_ids Many2many → account.analytic.line
    comodel_name='account.analytic.line' compute='_compute_line_ids' store=True string='Timesheet Lines'
  • manager_id Many2one → hr.employee
    comodel_name='hr.employee' related='employee_id.parent_id' store=True string='Manager'
  • name Char
    related='employee_id.name' store=True
Public methods (0)

No public methods.

New fields (7)
  • date_from Date
    required=True string='Start Date'
  • date_range_id Many2one → date.range
    comodel_name='date.range' string='Date range'
  • date_to Date
    required=True 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'
  • only_active_employees Boolean
    default=True string='Only Active Employees'
Public methods (2)
  • action_view(self)
  • onchange_date_range_id(self)
    @api.onchange('date_range_id')
    Handle date range change.

Loading…

Loading…