Each employee has a working calendar that specifies the number of hours they should work on a specific weekday.
I want to compute what amount a specific employee should work in a month (year, month) based on their calendar and that month's holidays.
does this functionality exist in Odoo? if yes can you guide me to the function?
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
1804
Widoki
Hi Arian
You can use this function for each employee
work_data = employee_id._get_work_days_data(
day_from,
day_to,
calendar=employee_id.resource_calendar_id,
compute_leaves=False,
)
where employee_id = id of the employee, In the day_from to day_to pass the interval of dates (like month,year,quarter)
Regards
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
2
paź 24
|
2795 | ||
|
0
maj 23
|
2318 | ||
Hr Pay Roll module is not installing
Rozwiązane
|
|
1
lip 19
|
3675 | |
|
1
wrz 23
|
4560 | ||
|
1
lip 23
|
2849 |