hr-attendance icon indicating copy to clipboard operation
hr-attendance copied to clipboard

[ADD] hr_attendance_block_by_geolocation: New module hr_attendance_block_by_geolocation

Open mpascuall opened this issue 2 months ago • 1 comments

This module allows you to define zones for clocking in. If an employee is not within one of these zones, they will not be able to clock in. A boolean field is also added to allow them to clock in from any location.

cc https://github.com/APSL 22326 @miquelalzanillas @lbarry-apsl @javierobcn @peluko00 @BernatObrador @ppyczko please review

mpascuall avatar Oct 20 '25 11:10 mpascuall

Hi @mpascuall

IMO a better name for this module would be, 'hr_attendance_block_by_geolocation'.

Some tests for his basic flows are missing too and IMO are important in this module.

miquelalzanillas avatar Oct 21 '25 06:10 miquelalzanillas

It works in my testing DB. I wonder how about if particular employee can only check-in/out for not all authorized locations ? or depends on the office location ? I think this will be good enhancement in the future...

hitrosol avatar Nov 12 '25 13:11 hitrosol

It works in my testing DB. I wonder how about if particular employee can only check-in/out for not all authorized locations ? or depends on the office location ? I think this will be good enhancement in the future...

Hi, thanks for your review! The module is designed to create a zone —usually the office— where employees can record their attendance. Your idea of limiting the zone by employee is a good one; it could be a nice improvement for the future!

mpascuall avatar Nov 13 '25 09:11 mpascuall