Package: odoo14-addon-hr-attendance-overtime
Mark Attendances as overtime according works week employee configuration
to track times done outside the theoretical work times.At check-out time the attendance line can be split in order to help manager
with employee presence reviews and compute compensatory hours.With this module:Employee can visualize plan open work timesThe check-in/check-out button has different colors according
the current state, employee is early, on time, late.You can configure theoretical check-in/check-out hours ranges on employee works
week.While employee check-out following rules are applied on the closed attendance line:Checking rules are:check-in before starting ranges will create two attendances:The first one will be marked as overtime and stopped at the beginning of the
starting range, an earlier reason will be add.The second will start at the end of the first one.check-in in the starting range will open attendance as normalcheck-after the starting range will open attendances as normal adding
a late reasonCheck out rulesCheck-out before check-out hours range will marked the attendance as leave earlierCheck-out in the given range will close the attendance as normalCheck-out after the range will generate 2 attendancea normal one that terminate at the end of the rangean overtime one that start from the end of range to the check-out time
a late reason is added as wellAuto close rules: We suggest to plan an auto close ir.cron after each
work time attendance basically one between the
morning and afternoon and one at the end of the day.
Previous check-out rules described above will be applied with the
auto-close module reason using the ir cron execution time. If no
theoretical work time found for open hr attendance a fallback to the
auto-close module rules are applied.This module is used byhr_attendance_validationin order to helps
manager review weeks hours and generate compensatoires hours per
employee.Table of contentsConfigurationKnown issues / RoadmapBug TrackerCreditsAuthorsContributorsMaintainersConfigurationThis modules depend on different configurations:To setup ranges hours on employee work time weeks:Go toSettings > Technical > Resource > Working Timesor from employee form Go toEmployees > Employees > in employee form view > working hours.On the form view you can setup 4 new fields add by this module on each attendance linescheck-in from: Check-in before will result an extra overtime line with an earlier check-in reason (CI-E)check-in to: Check-in after will add a late check-in reason (CI-L)check-out from: Check-out before will add a earlier check-out reason (CO-E)check-out to: Check-out after will generate an extra overtime line with a late check-out reason (CO-L)We have chosen to not reuse existingWork fromandWork tothat are used by other modules likehr_holidayswith compensatoires leaves. To be able to define a bigger range that overlap that time.You can personalize 4 kinds of reason label that are selected by code which must remains the same and uniq:Go toAttendances > configuration > Reasonpersonalize name for following code:CI-E: check-in earlier (checked-in occurred beforecheck-in from)CI-L: check-in late (checked-in occurred aftercheck-in to)CO-E: check-out earlier (checked-out occurred beforecheck-out from)CO-L: check-out late (checked-out occurred aftercheck-out to)Known issues / RoadmapDisplay planning in kiosk mode as wellEnsure it works with a two weeks calendarConsidering global time off and hr_holidaysEnsure there is no overlap between work time
lines of the same work time calendarBug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsPierre VerkestContributorsPierre Verkest <pierreverkest84@gmail.com>MaintainersThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.Currentmaintainer:This module is part of theOCA/hr-attendanceproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.