Hello Community,
I need some help with the Time Off module in Odoo.
In my country, when an employee takes annual leave (or any type of leave), weekends are also counted as part of the leave.
For example:
An employee has 30 days annual leave.
He requests leave for 7 days (Monday to Sunday).
In Odoo, only 5 days are deducted, because Saturday and Sunday are not counted.
But in reality, in my country, it should deduct the full 7 days.
So instead of 25 days remaining, it should show 23 days remaining.
👉 How can I configure or customize Odoo so that weekends are also deducted from annual leave balance?
Thanks in advance for any guidance.
Thanks a lot, your solution worked perfectly for the Time Off calculation 🙏
I have one more question:
If I configure weekends as working days (so that they are deducted from annual leave), will this affect Payroll calculations?
For example, when I generate payslips, will Odoo calculate the salary correctly, or will it consider weekends as actual working days and change the payroll result?
Thanks again for your support.