Repository
OCA/timesheet · module folder · Try on Runboat
Module version
1.0.3
Category
Human Resources
Folder size
0.09 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/timesheet
Last tracking update
2026-08-07 08:43:00
Authors
Odoo Community Association (OCA), BizzAppDev
Maintainers
Odoo Community Association (OCA), BizzAppDev
Committers
kanda999, Aungkokolin1997, Weblate, OCA-git-bot, oca-ci, JasminSForgeFlow, Morita Shinnosuke
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends the functionality of hr_timesheet_sheet and help
employees to manage their attendance according to timesheet period. It
provide functionality to checkin/checkout directly from timesheet-sheet.
It also help you/management in performace evaluation by displaing total
attendance time and difference of total attendance time and total
working time.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
hr_attendance_view_filter view_hr_attendance_filter hr.attendance Inherits hr_attendance.hr_attendance_view_filter
hr_attendance_view_form hr.attendance.form hr.attendance form Inherits hr_attendance.hr_attendance_view_form
hr_timesheet_sheet_form hr_timesheet.sheet.inherit.form hr_timesheet.sheet form Inherits hr_timesheet_sheet.hr_timesheet_sheet_form
hr_timesheet_sheet_tree hr_timesheet.sheet.inherit.list hr_timesheet.sheet list Inherits hr_timesheet_sheet.hr_timesheet_sheet_tree
view_attendance_tree hr.attendance.tree hr.attendance tree Inherits hr_attendance.view_attendance_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • sheet_id Many2one → hr_timesheet.sheet
    comodel_name='hr_timesheet.sheet' compute='_compute_sheet_id' store=True string='Sheet'
Public methods (1)
  • unlink(self)

New fields (5)
  • attendance_count Integer
    compute='_compute_attendance_count'
  • attendance_state Selection
    groups='hr_attendance.group_hr_attendance_own_reader,hr.group_hr_user' related='employee_id.attendance_state' related_sudo=True string='Current Status'
  • attendances_ids One2many → hr.attendance
    comodel_name='hr.attendance' inverse_name='sheet_id' string='Attendances'
  • total_attendance Float
    compute='_compute_attendance_time'
  • total_difference Float
    compute='_compute_attendance_time' string='Difference'
Public methods (4)
  • action_timesheet_confirm(self)
  • attendance_action_change(self)
    Call attendance_action_change to perform Check In/Check Out action Returns last attendance record
  • check_employee_attendance_state(self)
    Restrict to submit sheet contains attendance without checkout
  • create(self, vals_list)
    @api.model_create_multi

Loading…

Loading…

Loading…

Loading…

Loading…