v 17.0 Third Party 14703
Download for v 17.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Attendances (hr_attendance)
Employees (hr)
Discuss (mail)
Lines of code 335
Technical Name hr_zk_attendance
LicenseAGPL-3
Websitehttps://www.cybrosys.com
Versions 11.0 10.0 12.0 13.0 14.0 15.0 16.0 17.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Attendances (hr_attendance)
Employees (hr)
Discuss (mail)
Lines of code 335
Technical Name hr_zk_attendance
LicenseAGPL-3
Websitehttps://www.cybrosys.com
Versions 11.0 10.0 12.0 13.0 14.0 15.0 16.0 17.0
Community

Biometric Device Integration

This Module Integrates Biometric Device With HR Attendance.

Key Highlights

(Face+Thumb) with HR Attendance.

Integrates Biometric Device (Face+Thumb) with HR Attendance.

Simultaneous Employee in Odoo.

If you create an Employee in Device simultaneously create that Employee in Odoo also. For adding the existing employee of Odoo to Device, create the employee in Device with the same Biometric Device id from Odoo.

Attendance log in Odoo.

Option to keep the Device Attendance log in Odoo.

Clear Attendance.

Option to clear the Device Attendance log from both Device and Odoo.

HR Attendance.

Automates HR Attendance.

Supporting Models

This module support with the following machines :
* uFace202 (ZKteco)
* iFace990 (ZKteco)
-Clients have reported that the module works well with the following machine :
* K40 Pro (ZKteco)
* SFace900 (ZKteco)
* FR1500 (ZKteco)
* UA760 (ZKteco)
* MB10 (ZKteco)

From the Biometric Device menu, you can configure your all devices with its IP address and port number.
  • Test Connection - Click on the Test connection for connecting with the Device.
  • Clear Data - This Button will clear all Attendance data from the Device and Odoo.
  • Restart - This Button will Restart the Biometric Device.

Click on the Test connection for connecting with the Device.

After configuration, you can download your Device Attendance log into Odoo through 'Download Data' button.If the Device is connected, then the Odoo will download all Device Attendance log. Otherwise, the Odoo will display you a warning message.

Here you can see all Device Attendance log.

Here, Odoo automatically generates HR Attendance log while downloading the Device Attendance.

You can update existing employees with the 'Device Id' which are the id in the Biometric Device. If there is no match with the "Biometric Device id" then system will automatically create corresponding employee.

  • Can choose Employee from Work Order itself.
  • Using Project and Tasks makes it easier.
  • Timesheet for Manufacturing.
    • A Project will be created in the name of Manufacturing Order , and Task will be created in the name of Work Order. The Time tracking of the Work Order will be added as Timesheet.
Version 16.0.1.0.0|Released on:25th May 2023

Initial Commit for Manufacturing (MRP) Timesheet.

Related Products

Our Services

service-icon

Odoo Customization

service-icon

Odoo Implementation

service-icon

Odoo Support

service-icon

Hire Odoo Developer

service-icon

Odoo Integration

service-icon

Odoo Migration

service-icon

Odoo Consultancy

service-icon

Odoo Implementation

service-icon

Odoo Licensing Consultancy

Our Industries

Trading

Easily procure and sell your products

POS

Easy configuration and convivial experience

Education

A platform for educational management

Manufacturing

Plan, track and schedule your operations

E-commerce & Website

Mobile friendly, awe-inspiring product pages

Service Management

Keep track of services and invoice

Restaurant

Run your bar or restaurant methodically

Hotel Management

An all-inclusive hotel management application

Support

Need Help?

Got questions or need help? Get in touch.

odoo@cybrosys.com
WhatsApp

Say hi to us on WhatsApp!

+91 99456767686

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
by
cemara
on 7/26/24, 2:36 PM

Hi, i managed to install it, but after few records, i got this when trying to download data


Validation Error

Close

Cannot create new attendance record for John, the employee was already checked in on 07/26/2024



by
deny winarto
on 7/19/24, 5:41 AM

Unable to install module "hr_zk_attendance" because an external dependency is not met: Python library not installed: pyzk 

Hi, i got this error at first.

Then i installed in the debian 12 container like this :

root@odoo16:~# sudo mv /usr/lib/python3.11/EXTERNALLY-MANAGED /usr/lib/python3.11/EXTERNALLY-MANAGED.old

root@odoo16:~# pip3 install zklib 

Collecting zklib

  Using cached zklib-0.1.1-py3-none-any.whl

Installing collected packages: zklib

Successfully installed zklib-0.1.1

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

But even with that i still get same error. Can you help?

Re:
by
Cybrosys Technologies
on 7/26/24, 1:46 AM Author

This could be due to the library not being installed in the correct Python environment Odoo uses. We recommend ensuring the library is installed in the same environment where Odoo is running. You can achieve this by activating the virtual environment (if you're using one) before installing the library. Here's how you can do it:

     source /path/to/your/virtualenv/bin/activate
     pip3 install zklib


by
deny winarto
on 7/19/24, 4:39 AM

Copied into addons directory, enable debug, update addons list, but the module wont appear.

Import module and it gives me this error 


Module loading hr_zk_attendance failed: file /tmp/tmpgk2jsnha/hr_zk_attendance/security/ir.model.access.csv could not be processed: No matching record found for external id 'model_biometric_device_details' in field 'Model' No matching record found for external id 'model_daily_attendance' in field 'Model' No matching record found for external id 'model_zk_machine_attendance' in field 'Model' Missing required value for the field 'Model' (model_id) Missing required value for the field 'Model' (model_id) Missing required value for the field 'Model' (model_id)

Odoo 17.0-20240711 (Community Edition), please fix thanks. 

Re:
by
Cybrosys Technologies
on 7/26/24, 1:46 AM Author

This can occur if there are missing dependencies or misconfigurations in the module. So ensure all necessary dependencies for the hr_zk_attendance module are installed and properly configured.


by
Aswathy p
on 7/16/24, 1:20 AM
Traceback (most recent call last):
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/http.py", line 1765, in _serve_db
    return service_model.retrying(self._serve_ir_http, self.env)
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/service/model.py", line 133, in retrying
    result = func()
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/http.py", line 1792, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/http.py", line 1996, in dispatch
    result = self.request.registry['ir.http']._dispatch(endpoint)
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/addons/base/models/ir_http.py", line 222, in _dispatch
    result = endpoint(**request.params)
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/http.py", line 722, in route_wrapper
    result = endpoint(self, *args, **params_ok)
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/addons/web/controllers/dataset.py", line 28, in call_button
    action = self._call_kw(model, method, args, kwargs)
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/addons/web/controllers/dataset.py", line 20, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/api.py", line 468, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/api.py", line 453, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/opt/aswathyp_140/odoo17_enterprise/custom_addons/hr_zk_attendance/models/biometric_device_details.py", line 165, in action_download_attendance
    zk_attendance.create({
  File "", line 2, in create
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/api.py", line 414, in _model_create_multi
    return create(self, [arg])
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/addons/hr_attendance/models/hr_attendance.py", line 393, in create
    res = super().create(vals_list)
  File "", line 2, in create
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/api.py", line 415, in _model_create_multi
    return create(self, arg)
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/addons/mail/models/mail_thread.py", line 259, in create
    threads = super(MailThread, self).create(vals_list)
  File "", line 2, in create
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/api.py", line 415, in _model_create_multi
    return create(self, arg)
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/models.py", line 4603, in create
    records = self._create(data_list)
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/models.py", line 4770, in _create
    colval = field.convert_to_column(stored[fname], self, stored)
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/fields.py", line 2816, in convert_to_column
    value = self.convert_to_cache(value, record)
  File "/opt/aswathyp_140/odoo17_enterprise/odoo/fields.py", line 2826, in convert_to_cache
    raise ValueError("Wrong value for %s: %r" % (self, value))
ValueError: Wrong value for zk.machine.attendance.attendance_type: '101'

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
    RPCError@http://odootestserver1:1140/web/assets/c4566ad/web.assets_web.min.js:2873:319
    makeErrorFromResponse@http://odootestserver1:1140/web/assets/c4566ad/web.assets_web.min.js:2876:163
    jsonrpc/promise

What is the error mean? and need solution


by
AITLAMSALI Alaa
on 7/8/24, 8:42 AM

- Does we need to buy the Biotime Software with the Devices ??


- Are you using SQL to connect or API ? because with the API supplier told me I need to buy the Biotime native software with it which is expensive .

- If we have Odoo on cloud and the device in local network how we can connect ?

Thanks for your answer


Sincerely

Re:
by
Cybrosys Technologies
on 7/11/24, 1:38 AM Author

Sorry, It wont work with Biotime


zk = ZK(self.device_ip, port=self.port_number, timeout=30, NameError: name 'ZK' is not defined
by
Ajmal C
on 5/20/24, 4:38 AM
    zk = ZK(self.device_ip, port=self.port_number, timeout=30,
NameError: name 'ZK' is not defined