Daily updates from Odoo
Friday, June 28, 2019
1 change · master
Resolved issues and error corrections
Two-week work schedules now calculate average weekly hours instead of adding both weeks together. This keeps payroll-related work time rates accurate for employees using alternating schedules.
Original PR description
Currently, when we switch to a 2 week calendar, the amount of hour/week is the sum of both weeks, so this amount is false. The work time rate is based on the number of hours/week so this rate is also false. Now, if we are in a 2 week calendar, the number of hours by week is the mean over 2 weeks. id=2028294