-
Notifications
You must be signed in to change notification settings - Fork 12
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
Showing
5 changed files
with
142 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,49 @@ | ||
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png | ||
:target: https://www.gnu.org/licenses/agpl | ||
:alt: License: AGPL-3 | ||
|
||
=============================== | ||
HR Holiday - 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 Holiday - Dashboard and Tile* | ||
6. Install the module | ||
|
||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues | ||
<https://github.com/open-synergy/opnsynid-hr/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 <azmimr67@gmail.com> | ||
* Michael Viriyananda <viriyananda.michael@gmail.com> | ||
* Andhitia Rama <andhitia.r@gmail.com> | ||
|
||
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. |
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,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). |
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 -*- | ||
# 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 Holiday - 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_holidays", | ||
], | ||
"data": [ | ||
"data/dashboard_tile_hr_holiday_data.xml", | ||
], | ||
} |
67 changes: 67 additions & 0 deletions
67
hr_holiday_dashboard_tile/data/dashboard_tile_hr_holiday_data.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,67 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2020 OpenSynergy Indonesia | ||
Copyright 2020 PT Simetri Sinergi Indonesia | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
|
||
<openerp> | ||
<data> | ||
<!-- HR Leave Request--> | ||
<record id="dashboard_tile_all_hr_leave_request_draft" model="tile.tile"> | ||
<field name="name">All HR Leave Request: Draft</field> | ||
<field name="sequence">31</field> | ||
<field name="domain"> | ||
[ | ||
("type", "=", "remove"), | ||
("state", "=", "draft"), | ||
] | ||
</field> | ||
<field name="model_id" search="[('model','=','hr.holidays')]"/> | ||
<field name="action_id" ref="hr_holidays.open_ask_holidays" /> | ||
<field name="primary_function">count</field> | ||
<field name="background_color">#776D8A</field> | ||
</record> | ||
<record id="dashboard_tile_all_hr_leave_request_confirm" model="tile.tile"> | ||
<field name="name">All HR Leave Request: Waiting For Approval</field> | ||
<field name="sequence">31</field> | ||
<field name="domain"> | ||
[ | ||
("type", "=", "remove"), | ||
("state", "=", "confirm"), | ||
] | ||
</field> | ||
<field name="model_id" search="[('model','=','hr.holidays')]"/> | ||
<field name="action_id" ref="hr_holidays.open_ask_holidays" /> | ||
<field name="primary_function">count</field> | ||
<field name="background_color">#776D8A</field> | ||
</record> | ||
<!-- HR Leave Allocation Request--> | ||
<record id="dashboard_tile_all_hr_leave_alloc_req_draft" model="tile.tile"> | ||
<field name="name">All HR Leave Allocation Request: Draft</field> | ||
<field name="sequence">32</field> | ||
<field name="domain"> | ||
[ | ||
("type", "=", "add"), | ||
("state", "=", "draft"), | ||
] | ||
</field> | ||
<field name="model_id" search="[('model','=','hr.holidays')]"/> | ||
<field name="action_id" ref="hr_holidays.open_allocation_holidays" /> | ||
<field name="primary_function">count</field> | ||
<field name="background_color">#9CADA4</field> | ||
</record> | ||
<record id="dashboard_tile_all_hr_leave_alloc_req_confirm" model="tile.tile"> | ||
<field name="name">All HR Leave Allocation Request: Waiting For Approval</field> | ||
<field name="sequence">32</field> | ||
<field name="domain"> | ||
[ | ||
("type", "=", "add"), | ||
("state", "=", "confirm"), | ||
] | ||
</field> | ||
<field name="model_id" search="[('model','=','hr.holidays')]"/> | ||
<field name="action_id" ref="hr_holidays.open_allocation_holidays" /> | ||
<field name="primary_function">count</field> | ||
<field name="background_color">#9CADA4</field> | ||
</record> | ||
</data> | ||
</openerp> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.