Skip to Content
Menu

Employee Image Attendance

by
Odoo

110.90

v 17.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Attendances (hr_attendance)
Discuss (mail)
Employees (hr)
Lines of code 1173
Technical Name face_image_attendance_login
LicenseLGPL-3
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Attendances (hr_attendance)
Discuss (mail)
Employees (hr)
Lines of code 1173
Technical Name face_image_attendance_login
LicenseLGPL-3

Employee Image Attendance Module

Overview

This Odoo module enhances the standard attendance system by capturing and storing employee images during check-in. It provides a user-friendly interface for viewing attendance records along with the captured images.

Features

  • Captures employee images during attendance check-in
  • Stores images with attendance records
  • Provides a dedicated view for browsing attendance records with images
  • Integrates seamlessly with Odoo's existing attendance system

Technical Details

Models

- Extended `hr.attendance` model with:

  - `check_in_image`: Binary field to store captured images

Views

1. Tree View (`view_attendance_images_tree`)

   - Shows employee details

   - Displays check-in image thumbnail

   - Lists check-in and check-out times

2. Form View (`view_attendance_images_form`)

   - Displays check-in image prominently

   - Shows employee details

   - Shows attendance timing information

JavaScript Implementation

The module includes JavaScript functionality to:

  • Access the device camera
  • Capture images during check-in
  • Process and save images with attendance records

Controllers

- Added endpoint `/save_attendance_image` to handle image storage

- Integrated with existing attendance check-in/out flow

Installation

  1. Install the module through Odoo's module installation interface
  2. Grant necessary camera permissions in the browser
  3. Configure employee access rights as needed

Usage

  1. Navigate to Attendance > Attendance Images
  2. View the list of attendance records with captured images
  3. Click on any record to view detailed information and a larger image

Menu Structure

- Main Menu: Attendance

  - Sub-menu: Attendance Images (displays all attendance records with captured images)

Dependencies

  • hr_attendance
  • web

Security

- Basic access rights for attendance records

- Camera access managed through browser permissions

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a new branch for your feature
  3. Submit a pull request

Support

For support and questions, please contact the module maintainer or raise an issue in the repository.

License

This module is licensed under the MIT License.

Author Information

This module was created by Samy.

Contact me at: https://linktr.ee/Prof.M.Samy

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.