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

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
hr_contract_view_form hr.contract.form hr.contract form Inherits hr_contract.hr_contract_view_form
hr_employee_view_form_inherit_timesheet hr.employee.form.timesheet hr.employee form Inherits hr_timesheet.hr_employee_view_form_inherit_timesheet
res_config_settings_view_form res.config.settings.view.form res.config.settings form Inherits hr_timesheet.res_config_settings_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (6)

New fields (0)

No new fields.

Public methods (1)
  • action_recompute_timesheet_cost(self)
    @api.multi

New fields (1)
  • exclude_from_employee_cost Boolean
    string='Exclude from Employee Cost'
Public methods (0)

No public methods.

New fields (4)
  • timesheet_cost Monetary
    compute='_compute_timesheet_cost' default=None inverse='_inverse_timesheet_cost'
  • timesheet_cost_contracts Monetary
    compute='_compute_timesheet_cost_contracts' string='Timesheet Cost (contracts)'
  • timesheet_cost_manual Monetary
    string='Timesheet Cost (manual)'
  • use_manual_timesheet_cost Boolean
    default=<expr> string='Use manual Timesheet Cost'
Public methods (2)
  • create(self, vals)
    @api.model
  • onchange_use_manual_timesheet_cost(self)
    @api.onchange('use_manual_timesheet_cost')

New fields (2)
  • employee_timesheet_cost_policy Selection
    default='monthly_avg' help="How Employee's Timesheet Cost is calculated" selection=[('contract_avg', 'Contract-wide average'), ('annual_avg', 'Annual average'), ('monthly_avg', 'Monthly average')] string="Employee's Timesheet Cost policy"
  • use_manual_employee_timesheet_cost Boolean
    default=True string="Use manual Employee's Timesheet Cost"
Public methods (0)

No public methods.

New fields (2)
  • employee_timesheet_cost_policy Selection
    readonly=False related='company_id.employee_timesheet_cost_policy'
  • use_manual_employee_timesheet_cost Boolean
    readonly=False related='company_id.use_manual_employee_timesheet_cost'
Public methods (0)

No public methods.

New fields (1)
  • unpaid Boolean
    related='holiday_id.holiday_status_id.unpaid' store=True
Public methods (0)

No public methods.