I have an issue with the payroll module. I have set the contrat of the employee to attendance with the 40 hours a week default schedule.
In 1 week I have worked 37.5 hours and the other week I have worked 44.5 hours. In my country work laws I need to be paid 4.5 hours for the overtime of the 2nd week. But odoo recognizes that I worked 77.5 hours so it doesnt put overtime. I tried putting the contract to weekly pay but that doesn't work either.
How can I fix that so the overtime hours gets counted weekly and not over a 2 weeks period?
Anyone has any idea how to implement this? The issue with doing a custom rule is that the worked days list in the payslip will still be wrong.