Attendance Control on Payslip
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Adds a worked-hours section to the payslip PDF report, listing each attendance record (date, check-in, check-out, hours) and the total hours for the payslip period.
This module extends the standard payslip so that the printed payslip shows the employee's attendance details for the period covered by the payslip.
On each payslip, Odoo automatically gathers the attendance records of the employee whose check-in date falls between the payslip start and end dates, and calculates the total worked hours from them. These values are recalculated whenever the employee or the period dates change.
When the payslip is printed, a "Worked Hours" section is added to the report. It contains a table with one line per attendance record showing the date, check-in time, check-out time and hours worked, followed by the total worked hours for the period. Times are displayed in the employee's time zone (or the user's time zone if the employee has none).
The section only appears when there is at least one attendance record in the period; otherwise the report looks unchanged.
It relies on the Payroll and Attendance apps and affects the hr.payslip model and the payslip report.
Depends on
Models and fields (1)
- hr.payslip · extends an existing modelattendance_ids, total_worked_hours
Text generated by AI (DeepSeek) from reading the Odoo 16.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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/payroll.
terminal Installation and usage
No verified informationInstallation 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.
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.