OdooWiki OCA HUB

Attendance generation for missing days

hr_attendance_missing_days folder_open OCA/hr-attendance open_in_new
Hidden License: AGPL-3

This modules generates attendances for employee with 0 minutes for working days with missing attendances. The configured reason is set to make it easier for filtering. This can be used to generate pseudo attendances for working days otherwise Odoo wouldn't reduce the overtime of the employee.

  • Go to Attendances > Configuration > Missing Days
  • Select a reason to set for the created attendances

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Automatically creates zero-length attendance records for working days where an employee has no attendance, using a configurable reason. This helps Odoo correctly reduce overtime for days that would otherwise be ignored.

This module adds a scheduled job and a company setting to fill in missing attendance days. For each employee, it looks at their working calendar and finds working days between a start date and today where no attendance record exists. For each missing day, it creates an attendance with the same check-in and check-out time (zero duration) and assigns a configured reason.

Where it appears: - In Settings, under the Attendance section, a new "Missing Attendance" block lets you choose the reason that will be applied to generated attendances. This setting is company-specific. - A scheduled action named "Missing Attendance" runs daily (inactive by default) and processes the last 31 days.

Business rules and automatic behaviour: - The generation only runs if a reason is configured for the company. - If no start date is given, it uses the company's overtime start date; if no end date is given, it uses today. - It skips future dates and only considers days that are working days according to the employee's calendar. - It does not create duplicates: days that already have any attendance (check-in or check-out) are ignored. - The created attendances are linked to the configured reason, making them easy to filter.

Models touched: hr.employee (methods to create missing attendances), res.company (stores the reason), res.config.settings (exposes the setting).

Required by other modules

Models and fields (3)
  • hr.employee · extends an existing model
  • res.company · extends an existing modelattendance_missing_days_reason
  • res.config.settings · extends an existing modelattendance_missing_days_reason

Text generated by AI (DeepSeek) from reading the Odoo 15.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: 1 confirmed, 8 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

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.