diff --git a/hr_attendance_overtime_request_dashboard_tile/README.rst b/hr_attendance_overtime_request_dashboard_tile/README.rst new file mode 100644 index 00000000..d73fd563 --- /dev/null +++ b/hr_attendance_overtime_request_dashboard_tile/README.rst @@ -0,0 +1,49 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: https://www.gnu.org/licenses/agpl + :alt: License: AGPL-3 + +=================================================== +HR Attendance Overtime Request - Dashboard and Tile +=================================================== + + +Installation +============ + +To install this module, you need to: + +1. Clone the branch 8.0 of the repository https://github.com/open-synergy/opnsynid-hr +2. Add the path to this repository in your configuration (addons-path) +3. Update the module list +4. Go to menu *Setting -> Modules -> Local Modules* +5. Search For *HR Attendance Overtime Request - Dashboard and Tile* +6. Install the module + + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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 +------------ + +* Nur Azmi +* Michael Viriyananda +* Andhitia Rama + +Maintainer +---------- + +.. image:: https://simetri-sinergi.id/logo.png + :alt: PT. Simetri Sinergi Indonesia + :target: https://simetri-sinergi.id.com + +This module is maintained by the PT. Simetri Sinergi Indonesia. diff --git a/hr_attendance_overtime_request_dashboard_tile/__init__.py b/hr_attendance_overtime_request_dashboard_tile/__init__.py new file mode 100644 index 00000000..19becc69 --- /dev/null +++ b/hr_attendance_overtime_request_dashboard_tile/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 OpenSynergy Indonesia +# Copyright 2020 PT. Simetri Sinergi Indonesia +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). diff --git a/hr_attendance_overtime_request_dashboard_tile/__openerp__.py b/hr_attendance_overtime_request_dashboard_tile/__openerp__.py new file mode 100644 index 00000000..5a5a0cdf --- /dev/null +++ b/hr_attendance_overtime_request_dashboard_tile/__openerp__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +# Copyright 2020 OpenSynergy Indonesia +# Copyright 2020 PT. Simetri Sinergi Indonesia +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +# pylint: disable=locally-disabled, manifest-required-author +{ + "name": "HR Attendance Overtime Request - Dashboard and Tile", + "version": "8.0.1.0.0", + "category": "Human Resources", + "website": "https://simetri-sinergi.id", + "author": "PT. Simetri Sinergi Indonesia, OpenSynergy Indonesia", + "license": "AGPL-3", + "application": False, + "installable": True, + "depends": [ + "web_dashboard_tile", + "hr_attendance_overtime_request", + ], + "data": [ + "data/dashboard_tile_hr_overtime_data.xml", + ], +} diff --git a/hr_attendance_overtime_request_dashboard_tile/data/dashboard_tile_hr_overtime_data.xml b/hr_attendance_overtime_request_dashboard_tile/data/dashboard_tile_hr_overtime_data.xml new file mode 100644 index 00000000..e2e769b8 --- /dev/null +++ b/hr_attendance_overtime_request_dashboard_tile/data/dashboard_tile_hr_overtime_data.xml @@ -0,0 +1,36 @@ + + + + + + + + All HR Overtime Request: Draft + 33 + + [ + ("state", "=", "draft"), + ] + + + + count + #776D8A + + + All HR Overtime Request: Waiting For Approval + 33 + + [ + ("state", "=", "confirm"), + ] + + + + count + #776D8A + + + diff --git a/hr_attendance_overtime_request_dashboard_tile/static/description/icon.png b/hr_attendance_overtime_request_dashboard_tile/static/description/icon.png new file mode 100644 index 00000000..4c8e1127 Binary files /dev/null and b/hr_attendance_overtime_request_dashboard_tile/static/description/icon.png differ