-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
anhndapec
committed
Jan 3, 2025
1 parent
6827a76
commit cf84fa6
Showing
63 changed files
with
1,754 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg | ||
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
Biometric Device Integration | ||
============================ | ||
This Cybrosys's module integrates Odoo attendance with biometric device attendance. | ||
|
||
Configuration | ||
============= | ||
|
||
*This integration is only applicable for the the device ZKteco model 'uFace 202' & 'iFace990' | ||
* zklib | ||
you can install zklib library using "sudo pip install zklib" | ||
Compatible Devices | ||
---------------- | ||
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 | ||
|
||
License | ||
------- | ||
General Public License, Version 3 (AGPL-3). | ||
(https://www.gnu.org/licenses/agpl-3.0-standalone.html) | ||
|
||
Company | ||
------- | ||
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ | ||
|
||
Credits | ||
======= | ||
* Developers: (V10) Jesni Banu @ cybrosys, | ||
(V11) Niyas Raphy @ Cybrosys, | ||
(V12) Basith @ Cybrosys, | ||
(V13) Varsha Vivek @ Cybrosys, | ||
(V14) Ijaz Ahammed @ Cybrosys, | ||
(V15) Noushid Khan @ Cybrosys, | ||
(V16) Minhaj T @ Cybrosys, | ||
(V17) Ammu Raj @ Cybrosys, Contact: [email protected] | ||
|
||
Contacts | ||
-------- | ||
* Mail Contact : [email protected] | ||
* Website : https://cybrosys.com | ||
|
||
Bug Tracker | ||
----------- | ||
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. | ||
|
||
Maintainer | ||
========== | ||
.. image:: https://cybrosys.com/images/logo.png | ||
:target: https://cybrosys.com | ||
|
||
This module is maintained by Cybrosys Technologies. | ||
|
||
For support and more information, please visit `Our Website <https://cybrosys.com/>`__ | ||
|
||
Further information | ||
=================== | ||
HTML Description: `<static/description/index.html>`__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# -*- coding: utf-8 -*- | ||
################################################################################ | ||
# | ||
# Cybrosys Technologies Pvt. Ltd. | ||
# | ||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | ||
# Author: Ammu Raj ([email protected]) | ||
# | ||
# You can modify it under the terms of the GNU AFFERO | ||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | ||
# | ||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE | ||
# (AGPL v3) along with this program. | ||
# If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
################################################################################ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# -*- coding: utf-8 -*- | ||
################################################################################ | ||
# | ||
# Cybrosys Technologies Pvt. Ltd. | ||
# | ||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | ||
# Author: Ammu Raj ([email protected]) | ||
# | ||
# You can modify it under the terms of the GNU AFFERO | ||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | ||
# | ||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE | ||
# (AGPL v3) along with this program. | ||
# If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
################################################################################ | ||
{ | ||
'name': 'Biometric Device Integration', | ||
'version': '17.0.1.2.2', | ||
'category': 'Human Resources', | ||
'summary': "Integrating Biometric Device (Model: ZKteco uFace 202) With HR" | ||
"Attendance (Face + Thumb)", | ||
'description': "This module integrates Odoo with the biometric" | ||
"device(Model: ZKteco uFace 202),odoo17,odoo,hr,attendance", | ||
'author': 'Cybrosys Techno Solutions', | ||
'company': 'Cybrosys Techno Solutions', | ||
'maintainer': 'Cybrosys Techno Solutions', | ||
'website': "https://www.cybrosys.com", | ||
'depends': ['base_setup', 'hr_attendance'], | ||
'external_dependencies': { | ||
'python': ['pyzk'], }, | ||
'data': [ | ||
'security/ir.model.access.csv', | ||
'views/biometric_device_details_views.xml', | ||
'views/hr_employee_views.xml', | ||
'views/daily_attendance_views.xml', | ||
'views/biometric_device_attendance_menus.xml', | ||
'data/download_data.xml' | ||
], | ||
'images': ['static/description/banner.png'], | ||
'license': 'AGPL-3', | ||
'installable': True, | ||
'auto_install': False, | ||
'application': False, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0"?> | ||
<odoo noupdate="1"> | ||
<record forcecreate="True" id="cron_download_data" model="ir.cron"> | ||
<field name="name">Download Data</field> | ||
<field eval="True" name="active"/> | ||
<field name="user_id" ref="base.user_admin"/> | ||
<field name="interval_number">10</field> | ||
<field name="interval_type">minutes</field> | ||
<field name="numbercall">-1</field> | ||
<field name="model_id" ref="hr_zk_attendance.model_biometric_device_details"/> | ||
<field name="state">code</field> | ||
<field name="code">model.cron_download()</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Module <hr_zk_attendance> | ||
|
||
#### 16.11.2023 | ||
#### Version 17.0.1.0.0 | ||
##### ADD | ||
|
||
- Initial commit for Biometric Device Integration | ||
|
||
#### 31.07.2024 | ||
#### Version 17.0.1.1.1 | ||
##### UPDT | ||
|
||
- Added a new feature to Set the timezone for the device. | ||
|
||
#### 31.07.2024 | ||
#### Version 17.0.1.2.2 | ||
##### UPDT | ||
|
||
- Added a new feature to schedule attendance downloading |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# -*- coding: utf-8 -*- | ||
################################################################################ | ||
# | ||
# Cybrosys Technologies Pvt. Ltd. | ||
# | ||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | ||
# Author: Ammu Raj ([email protected]) | ||
# | ||
# You can modify it under the terms of the GNU AFFERO | ||
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | ||
# | ||
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE | ||
# (AGPL v3) along with this program. | ||
# If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
################################################################################ | ||
from . import biometric_device_details | ||
from . import zk_machine_attendance | ||
from . import daily_attendance | ||
from . import hr_employee |
Oops, something went wrong.