Skip to Content
Menu
This question has been flagged

hello community,

In our company we track the attendance from the employee with the kiosk mode. For employees who work always at the same days it works fine. The Overtime gets correctly calculated to the referring work time of every day.

Now to our problem:
We have multiple workers, which work part time (e.g 50% (21h/week)). But they can choose every week by themselves on which day they want to work. So maybe they work for one week 2.5 days and the other 5 half days. We don't work with timesheet, we only want to track the attendance and calculate the overtime. How can i achieve this, without changing the work time for the employee every week.

How i would like it:
It would work, when the overtime for a worker everyday gets calculated. So if he doesn't work at monday he would be 4 hours in minus (50% worker). But if he would work on tuesday for 8h he is at 0 again. 

But at the moment Odoo don't subtract from the overtime, when the worker didn't checked in, even when a work time is set.

Has anybody a solution for this?


Avatar
Discard
Best Answer

Hello Michael,

This is an issue with the attendance Module. The work around it can be to import the attendance for all the employees with part time contract. You can either import the attendances for one day or even a whole year and check in and check out time can be something like 01:00:00 to 01:00:00 and Odoo will then calculate the overtime hours correctly.  You can also write a schedule action for this purpose, which will save you the trouble of importing attendances for all the employees with part time contracts.

Avatar
Discard
Author Best Answer

Hi Malik,

Thank you for your answer.
This could be a possible workaround.

At the moment i fixed this with creating an attendance from 07:00:00 to 07:00:00 for all the days the employee is absent. It calculates the overtime then correctly, but when i only do this once in a month, the employee isn't aware of his overtime in the meantime. With the amount of workers we have which work part time it's fine. But would be nice when Odoo would be able to calculate the overtime weekly.

Let's see, maybe Odoo v16 brings some improvements.

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 23
643
1
Jun 22
3579
2
Nov 24
1943
2
Nov 23
2113
1
Aug 24
488