diff --git a/third_party_addons/hr_biometric_attendance/models/biometric_device_details.py b/third_party_addons/hr_biometric_attendance/models/biometric_device_details.py index aeab3e515..2ca8e9772 100644 --- a/third_party_addons/hr_biometric_attendance/models/biometric_device_details.py +++ b/third_party_addons/hr_biometric_attendance/models/biometric_device_details.py @@ -481,7 +481,7 @@ class BiometricDeviceDetails(models.Model): conn = self.device_connect(zk) if conn: try: - admin_user_id = 9 # You can implement a method for this + admin_user_id = 2580 # You can implement a method for this conn.unlock(admin_user_id) # Unlock using the admin user ID except Exception as e: raise UserError(_("Failed to unlock door: %s") % str(e))