-
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.
Signed-off-by mikevhe18
- Loading branch information
Showing
33 changed files
with
1,285 additions
and
4 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
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
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,2 @@ | ||
# generated from manifests external_dependencies | ||
pandas |
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,2 @@ | ||
# addons listed in this file are ignored by | ||
# setuptools-odoo-make-default (one addon per line) |
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,2 @@ | ||
To learn more about this directory, please visit | ||
https://pypi.python.org/pypi/setuptools-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 @@ | ||
../../../../ssi_fingerspot |
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,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=True, | ||
) |
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,48 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
=================================================== | ||
Fingerspot Attendance Machine Integration with Odoo | ||
=================================================== | ||
|
||
|
||
Installation | ||
============ | ||
|
||
To install this module, you need to: | ||
|
||
1. Clone the branch 14.0 of the repository https://github.com/open-synergy/ssi-fingerspot | ||
2. Add the path to this repository in your configuration (addons-path) | ||
3. Update the module list | ||
4. Go to menu *Apps -> Apps -> Main Apps* | ||
5. Search For *Fingerspot Attendance Machine Integration with Odoo* | ||
6. Install the module | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues | ||
<https://github.com/open-synergy/ssi-fingerspot/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed | ||
and welcomed feedback. | ||
|
||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Miftahussalam <[email protected]> | ||
* Michael Viriyananda <[email protected]> | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://simetri-sinergi.id/logo.png | ||
:alt: PT. Simetri Sinergi Indonesia | ||
:target: https://simetri-sinergi.id | ||
|
||
This module is maintained by the PT. Simetri Sinergi Indonesia. |
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,8 @@ | ||
# Copyright 2024 OpenSynergy Indonesia | ||
# Copyright 2024 PT. Simetri Sinergi Indonesia | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from . import ( | ||
models, | ||
wizard, | ||
) |
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,32 @@ | ||
# Copyright 2024 OpenSynergy Indonesia | ||
# Copyright 2024 PT. Simetri Sinergi Indonesia | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Fingerspot Attendance Machine Integration with Odoo", | ||
"version": "14.0.1.0.0", | ||
"website": "https://simetri-sinergi.id", | ||
"author": "OpenSynergy Indonesia, PT. Simetri Sinergi Indonesia", | ||
"license": "AGPL-3", | ||
"installable": True, | ||
"external_dependencies": {"python": ["pandas"]}, | ||
"depends": [ | ||
"ssi_master_data_mixin", | ||
"ssi_timesheet_attendance", | ||
"queue_job_batch", | ||
"base_automation", | ||
], | ||
"data": [ | ||
"security/res_group_data.xml", | ||
"security/ir.model.access.csv", | ||
"data/ir_cron.xml", | ||
"data/ir_cron_import_attendance.xml", | ||
"data/hr_attendance_reason.xml", | ||
"menu.xml", | ||
"views/fingerspot_data_machine_views.xml", | ||
"views/fingerspot_attendance_machine_views.xml", | ||
"views/fingerspot_backend_views.xml", | ||
"views/res_company_views.xml", | ||
"views/hr_timesheet_attendance_views.xml", | ||
"wizard/fingerspot_attendance_machine_import_wizard_views.xml", | ||
], | ||
} |
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,16 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
<record id="hr_attendance_reason_import_fingerspot_in" model="hr.attendance_reason"> | ||
<field name="name">[SYSTEM] Import check in from fingerspot machine</field> | ||
<field name="code">FINGER-IN</field> | ||
<field name="by_system">True</field> | ||
</record> | ||
<record | ||
id="hr_attendance_reason_import_fingerspot_out" | ||
model="hr.attendance_reason" | ||
> | ||
<field name="name">[SYSTEM] Import check out from fingerspot machine</field> | ||
<field name="code">FINGER-OUT</field> | ||
<field name="by_system">True</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,24 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2024 OpenSynergy Indonesia | ||
Copyright 2024 PT. Simetri Sinergi Indonesia | ||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
<data noupdate="1"> | ||
|
||
<record id="ir_cron_generate_attendance" model="ir.cron"> | ||
<field name="name">Generate Attendance Machine</field> | ||
<field name="model_id" ref="model_fingerspot_attendance_machine" /> | ||
<field name="state">code</field> | ||
<field name="code">model._cron_generate_attendances()</field> | ||
<field name="user_id" ref="base.user_root" /> | ||
<field name="interval_number">12</field> | ||
<field name="interval_type">hours</field> | ||
<field name="numbercall">-1</field> | ||
<field | ||
name="nextcall" | ||
eval="(DateTime.now() + timedelta(days=1)).strftime('%Y-%m-%d 02:00:00')" | ||
/> | ||
<field eval="False" name="doall" /> | ||
</record> | ||
</data> | ||
</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,26 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2024 OpenSynergy Indonesia | ||
Copyright 2024 PT. Simetri Sinergi Indonesia | ||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
<data noupdate="1"> | ||
<record id="ir_cron_import_attendance" model="ir.cron"> | ||
<field name="name">Import Attendance from Fingerspot Machine</field> | ||
<field | ||
name="model_id" | ||
ref="model_fingerspot_attendance_machine_import_wizard" | ||
/> | ||
<field name="state">code</field> | ||
<field name="code">model._cron_import_attendance()</field> | ||
<field name="user_id" ref="base.user_root" /> | ||
<field name="interval_number">12</field> | ||
<field name="interval_type">hours</field> | ||
<field name="numbercall">-1</field> | ||
<field | ||
name="nextcall" | ||
eval="(DateTime.now() + timedelta(days=1)).strftime('%Y-%m-%d 01:00:00')" | ||
/> | ||
<field eval="False" name="doall" /> | ||
</record> | ||
</data> | ||
</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,26 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2024 OpenSynergy Indonesia | ||
Copyright 2024 PT. Simetri Sinergi Indonesia | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
|
||
<menuitem | ||
id="fingerspot_configuration_menu" | ||
name="Fingerspot" | ||
parent="base.menu_custom" | ||
/> | ||
<menuitem | ||
id="fingerspot_menu" | ||
name="Fingerspots" | ||
parent="ssi_hr.menu_root_human_resource" | ||
sequence="10" | ||
/> | ||
<menuitem | ||
id="menu_fingerspot_machine_configuration" | ||
name="Data Machine" | ||
parent="ssi_hr.menu_human_resource_configuration" | ||
groups="fingerspot_attendance_machine_group" | ||
sequence="10" | ||
/> | ||
|
||
</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,12 @@ | ||
# Copyright 2024 OpenSynergy Indonesia | ||
# Copyright 2024 PT. Simetri Sinergi Indonesia | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from . import ( | ||
fingerspot_data_machine, | ||
fingerspot_machine_user, | ||
fingerspot_attendance_machine, | ||
fingerspot_backend, | ||
hr_timesheet_attendance, | ||
res_company, | ||
) |
Oops, something went wrong.