OdooWiki OCA HUB

Hr attendance rest time included

hr_attendance_rest_time_included folder_open OCA/hr-attendance open_in_new
Uncategorised License: AGPL-3

This module extends hr_attendance to manage employee rest times included in working time, supporting multiple breaks per attendance.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Track employee breaks inside attendance records, with break hours counted separately from worked hours and shown on attendance screens and reports.

This module adds a way to record rest or break periods that happen during an employee's working day, and to keep them visible next to the normal attendance information.

  • On each attendance record you get a new "Breaks" button (coffee icon) that opens the list of break times linked to that attendance. The list shows the employee, break start, break end and the break duration.
  • A new "Rest Hours" column is added to the attendance list, graph and pivot views, so you can see how much time was spent on breaks separately from worked hours.
  • A "Break Count" indicator shows how many breaks are linked to an attendance, and a small clock button appears in the list when there is at least one break.
  • On attendance reasons, a new "Rest time included" checkbox appears (only for sign-out reasons). When an employee signs out using a reason with this option ticked, the system automatically creates a break record starting at that moment.
  • When the employee signs back in, the open break is closed automatically and the attendance is resumed, so the break is not counted as worked time.
  • Break records are linked to the attendance and are removed automatically if the attendance is deleted. Managers and attendance officers can create, edit and delete breaks; employees with read-only attendance access can only view them.
Models and fields (3)
  • hr.attendance · extends an existing modelrest_hours, rest_time_ids, rest_time_count (Break Count)
  • hr.attendance.reason · extends an existing modelrest_time_included
  • hr.attendance.rest_time · new modelattendance_id

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/hr-attendance.

terminal Installation and usage

OCA documentation · Odoo 18.0
  • Go to Attendances \> Configuration.
  • Create the reasons that cause the rest time.
  • Set the rest time reason.
  • Now when yosu check out with that reason it includes the rest time.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.