Hi all,
I am facing an issue in Odoo 19 EE Payroll related to leave handling in payslips. Below are the details:
Setup:
Employee’s Work Entry Source in the employee master: Attendances
Schedule Mapping: 40 hours/week
Attendance Records for November:
November 1–30
Saturdays and Sundays are configured as fixed holidays
Total working days in November: 20
Scenario:
Employee took a Paid Leave on 25th November
Employee took an Unpaid Leave on 19th November
Both leaves are created and approved in the Time Off module
Observed Behavior:
In the Attendances dashboard, the leave dates appear grey-shaded, indicating a leave.
In the Work Entries, the leave dates are grey-shaded and empty, i.e., no leave tags are visible.
When generating the payslip, Paid Leave and Unpaid Leave is not reflected in working days tab. Only 18 working days are showing in attendance; the remaining 2 days (leave days) are not.
Additional Notes:
Odoo Version: Odoo 19 EE
Question:
Has anyone faced this issue where Time Off leaves do not propagate to payroll even when work entries are configured from attendances? What is the correct configuration to ensure leaves are reflected in payslips?