diff --git a/advance_hr_attendance_dashboard/README.rst b/advance_hr_attendance_dashboard/README.rst new file mode 100644 index 000000000..1f6f8c50b --- /dev/null +++ b/advance_hr_attendance_dashboard/README.rst @@ -0,0 +1,49 @@ +.. 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 + +Advance HR Attendance Dashboard +=============================== +This Module Helps you to View Leaves of Employee Based on Different Leave Types. + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Affero General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developers: (V16): Rahul Rajeev ,Jumana Jabin MP , + (V17): Ranjith R, + (V18):Gayathri V, + Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* 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 `__ + +Further information +=================== +HTML Description: ``__ diff --git a/advance_hr_attendance_dashboard/__init__.py b/advance_hr_attendance_dashboard/__init__.py new file mode 100644 index 000000000..a8c6eb1f9 --- /dev/null +++ b/advance_hr_attendance_dashboard/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Gayathri V(odoo@cybrosys.com) +# +# 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. +############################################################################### +from . import models +from . import report diff --git a/advance_hr_attendance_dashboard/__manifest__.py b/advance_hr_attendance_dashboard/__manifest__.py new file mode 100644 index 000000000..e22368790 --- /dev/null +++ b/advance_hr_attendance_dashboard/__manifest__.py @@ -0,0 +1,59 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Gayathri V(odoo@cybrosys.com) +# +# 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. +############################################################################### +{ + "name": "Advance HR Attendance Dashboard", + "version": "18.0.1.0.0", + "category": "Human Resources", + "summary": """This module helps you to view leaves of employee based on + different leave types.""", + "description": """Advance HR Attendance Dashboard helps for + filtering attendance data, finding specific employees attendance data, + and for displaying attendance information, also we can print the + attendance in pdf format .""", + "author": "Cybrosys Techno Solutions", + "company": "Cybrosys Techno Solutions", + "maintainer": "Cybrosys Techno Solutions", + "website": "https://www.cybrosys.com", + "depends": ["hr_holidays", "hr", "hr_attendance"], + "data": [ + "views/hr_leave_type_views.xml", + "views/advance_hr_attendance_dashboard_menus.xml", + "views/res_config_settings_views.xml", + "report/hr_attendance_reports.xml", + "report/hr_attendance_templates.xml", + ], + "assets": { + "web.assets_backend": [ + "advance_hr_attendance_dashboard/static/src/xml/attendance_dashboard_templates.xml", + "advance_hr_attendance_dashboard/static/src/js/attendance_dashboard.js", + "advance_hr_attendance_dashboard/static/src/scss/attendance_dashboard.scss", + ], + }, + "external_dependencies": { + "python": ["pandas"], + }, + "images": [ + "static/description/banner.png", + ], + "license": "AGPL-3", + "installable": True, + "auto_install": False, + "application": False, +} diff --git a/advance_hr_attendance_dashboard/doc/RELEASE_NOTES.md b/advance_hr_attendance_dashboard/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..791b5718a --- /dev/null +++ b/advance_hr_attendance_dashboard/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 13.09.2024 +#### Version 18.0.1.0.0 +#### ADD + - Initial Commit for Advance HR Attendance Dashboard diff --git a/advance_hr_attendance_dashboard/models/__init__.py b/advance_hr_attendance_dashboard/models/__init__.py new file mode 100644 index 000000000..956127e72 --- /dev/null +++ b/advance_hr_attendance_dashboard/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Gayathri V(odoo@cybrosys.com) +# +# 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. +############################################################################### +from . import hr_employee +from . import hr_leave_type +from . import res_config_settings diff --git a/advance_hr_attendance_dashboard/models/hr_employee.py b/advance_hr_attendance_dashboard/models/hr_employee.py new file mode 100644 index 000000000..5c81daaad --- /dev/null +++ b/advance_hr_attendance_dashboard/models/hr_employee.py @@ -0,0 +1,134 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Gayathri V(odoo@cybrosys.com) +# +# 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. +############################################################################### +import pandas +from datetime import date, timedelta +from odoo import api, fields, models +from odoo.http import request +from odoo.tools import date_utils + + +class HrEmployee(models.Model): + """This module extends the 'hr.employee' model of Odoo Employees Module. + It adds a new method called 'get_employee_leave_data', which is used to + retrieve data for the dashboard.""" + _inherit = 'hr.employee' + _check_company_auto = True + + @api.model + def get_employee_leave_data(self, option): + """Returns data to the dashboard""" + employee_data = [] + res_config = self.env['res.config.settings'].search([], limit=1, + order='id desc') + dates = False + if option == 'this_week': + dates = pandas.date_range( + date_utils.start_of(fields.Date.today(), 'week'), + date_utils.end_of(fields.Date.today(), 'week') + - timedelta( + days=0), + freq='d').strftime( + "%Y-%m-%d").tolist() + elif option == 'this_month': + dates = pandas.date_range( + date_utils.start_of(fields.Date.today(), 'month'), + date_utils.end_of(fields.Date.today(), 'month') + - timedelta( + days=0), + freq='d').strftime( + "%Y-%m-%d").tolist() + elif option == 'last_15_days': + dates = [str(date.today() - timedelta(days=day)) + for day in range(15)] + cids = request.httprequest.cookies.get('cids') + allowed_company_ids = [int(cid) for cid in cids.split(',')] + for employee in self.env['hr.employee'].search( + [('company_id', '=', allowed_company_ids)]): + leave_data = [] + employee_present_dates = [] + employee_leave_dates = [] + total_absent_count = 0 + query = (""" + SELECT hl.id,employee_id,request_date_from,request_date_to, + hlt.leave_code,hlt.color + FROM hr_leave hl + INNER JOIN hr_leave_type hlt ON hlt.id = hl.holiday_status_id + WHERE hl.state = 'validate' AND employee_id = '%s'""" + % employee.id) + self._cr.execute(query) + all_leave_rec = self._cr.dictfetchall() + for leave in all_leave_rec: + leave_dates = pandas.date_range( + leave.get('request_date_from'), + leave.get('request_date_to') - timedelta( + days=0), + freq='d').strftime( + "%Y-%m-%d").tolist() + leave_dates.insert(0, leave.get('leave_code')) + leave_dates.insert(1, leave.get('color')) + for leave_date in leave_dates: + if leave_date in dates: + employee_leave_dates.append( + leave_date + ) + for employee_check_in in employee.attendance_ids: + employee_present_dates.append( + str(employee_check_in.check_in.date())) + for leave_date in dates: + color = "#ffffff" + marks = self.env[ + 'res.config.settings'].search([], limit=1) + state = None + if marks: + if leave_date in employee_present_dates: + state = res_config.present + else: + state = res_config.absent + if leave_date in employee_leave_dates: + state = leave_dates[0] + color = "#F06050" if leave_dates[1] == 1 \ + else "#F4A460" if leave_dates[1] == 2 \ + else "#F7CD1F" if leave_dates[1] == 3 \ + else "#6CC1ED" if leave_dates[1] == 4 \ + else "#814968" if leave_dates[1] == 5 \ + else "#EB7E7F" if leave_dates[1] == 6 \ + else "#2C8397" if leave_dates[1] == 7 \ + else "#475577" if leave_dates[1] == 8 \ + else "#D6145F" if leave_dates[1] == 9 \ + else "#30C381" if leave_dates[1] == 10 \ + else "#9365B8" if leave_dates[1] == 11 \ + else "#ffffff" + total_absent_count += 1 + leave_data.append({ + 'id': employee.id, + 'leave_date': leave_date, + 'state': state, + 'color': color + }) + employee_data.append({ + 'id': employee.id, + 'name': employee.name, + 'leave_data': leave_data[::-1], + 'total_absent_count': total_absent_count + }) + return { + 'employee_data': employee_data, + 'filtered_duration_dates': dates[::-1] + } diff --git a/advance_hr_attendance_dashboard/models/hr_leave_type.py b/advance_hr_attendance_dashboard/models/hr_leave_type.py new file mode 100644 index 000000000..d0f534466 --- /dev/null +++ b/advance_hr_attendance_dashboard/models/hr_leave_type.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Gayathri V(odoo@cybrosys.com) +# +# 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. +############################################################################### +from odoo import fields, models + + +class HrLeaveType(models.Model): + """This module inherits from the 'hr.leave.type' model of the Odoo Time Off + Module. It adds a new field called 'leave_code', which is a selection field + that allows users to choose from a list of predefined leave codes.""" + _inherit = 'hr.leave.type' + + leave_code = fields.Selection( + [('UL', 'UL'), + ('SL', 'SL'), + ('RL', 'RL'), + ('NL', 'NL'), + ('ML', 'ML'), + ('FL', 'FL'), + ('CL', 'CL'), + ('PL', 'PL'), + ('OL', 'OL')], + required=True, + string="Leave Code", + default="NL", + help="UL = Unpaid Leave\n" + " SL = Sick Leave\n" + " RL = Regular Leave\n" + " NL = Normal Leave\n" + " ML = Maternity Leave\n" + " FL = Festival Leave\n" + " CL = Compensatory Leave\n" + " PL = Paid Leave\n" + " OL = Other Leave") diff --git a/advance_hr_attendance_dashboard/models/res_config_settings.py b/advance_hr_attendance_dashboard/models/res_config_settings.py new file mode 100644 index 000000000..026538105 --- /dev/null +++ b/advance_hr_attendance_dashboard/models/res_config_settings.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Gayathri V(odoo@cybrosys.com) +# +# 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. +############################################################################### +from odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + """This class extends the `res.config.settings` model to add configuration + settings for the HR Attendance Dashboard's default present and absent + marks. """ + _inherit = 'res.config.settings' + + present = fields.Selection([('present', 'Present'), + ('\u2714', '✔'), ('\u2705', '✅ '), ('p', 'P')], + string='Default Present Mark', + config_parameter='advance_hr_attendance_' + 'dashboard.present', + help='Select the default mark for present ' + 'attendance.') + absent = fields.Selection([('absent', 'Absent'), + ('\u2716', '✘'), ('\u274C', '❌'), + ('\u2B55', '⭕'), ('a', 'A') + ], string='Default Absent Mark', + config_parameter='advance_hr_attendance_' + 'dashboard.absent', + help='Select the default mark for absent ' + 'attendance.') diff --git a/advance_hr_attendance_dashboard/report/__init__.py b/advance_hr_attendance_dashboard/report/__init__.py new file mode 100644 index 000000000..8e1cb3f5b --- /dev/null +++ b/advance_hr_attendance_dashboard/report/__init__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Gayathri V(odoo@cybrosys.com) +# +# 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. +############################################################################### +from . import hr_attendance_report diff --git a/advance_hr_attendance_dashboard/report/hr_attendance_report.py b/advance_hr_attendance_dashboard/report/hr_attendance_report.py new file mode 100644 index 000000000..cb8f9287e --- /dev/null +++ b/advance_hr_attendance_dashboard/report/hr_attendance_report.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Gayathri V(odoo@cybrosys.com) +# +# 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. +############################################################################### +from odoo import api, models + + +class ReportHrAttendance(models.AbstractModel): + """This is an abstract model for the Attendance Report of Employees.""" + _name = 'report.advance_hr_attendance_dashboard.report_hr_attendance' + _description = 'Attendance Report of Employees' + + @api.model + def _get_report_values(self, doc_ids, data=None): + """Get the report values for the Attendance Report.""" + return { + 'doc_model': 'hr.attendance', + 'data': data, + 'self': self, + } diff --git a/advance_hr_attendance_dashboard/report/hr_attendance_reports.xml b/advance_hr_attendance_dashboard/report/hr_attendance_reports.xml new file mode 100644 index 000000000..d896247d9 --- /dev/null +++ b/advance_hr_attendance_dashboard/report/hr_attendance_reports.xml @@ -0,0 +1,16 @@ + + + + + Attendance Report + hr.employee + qweb-pdf + advance_hr_attendance_dashboard.report_hr_attendance + advance_hr_attendance_dashboard.report_hr_attendance + + + diff --git a/advance_hr_attendance_dashboard/report/hr_attendance_templates.xml b/advance_hr_attendance_dashboard/report/hr_attendance_templates.xml new file mode 100644 index 000000000..99709c2da --- /dev/null +++ b/advance_hr_attendance_dashboard/report/hr_attendance_templates.xml @@ -0,0 +1,21 @@ + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/cybro-icon.png b/advance_hr_attendance_dashboard/static/description/assets/cybro-icon.png new file mode 100644 index 000000000..06e73e11d Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/cybro-icon.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/cybro-odoo.png b/advance_hr_attendance_dashboard/static/description/assets/cybro-odoo.png new file mode 100644 index 000000000..ed02e07a4 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/cybro-odoo.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/arrows-repeat.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/arrows-repeat.svg new file mode 100644 index 000000000..1d7efabc5 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/banner-1.png b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-1.png new file mode 100644 index 000000000..c180db172 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-1.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/banner-2.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-2.svg new file mode 100644 index 000000000..e606d97d9 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/banner-bg.png b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-bg.png new file mode 100644 index 000000000..a8238d3c0 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-bg.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/banner-bg.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-bg.svg new file mode 100644 index 000000000..b1378103e --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/banner-call.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-call.svg new file mode 100644 index 000000000..96c687e81 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/banner-mail.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-mail.svg new file mode 100644 index 000000000..cbf0d158d --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/banner-pattern.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-pattern.svg new file mode 100644 index 000000000..9c1c7e101 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/banner-promo.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-promo.svg new file mode 100644 index 000000000..d52791b11 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/brand-pair.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/brand-pair.svg new file mode 100644 index 000000000..d8db7fc1e --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/capture (1).png b/advance_hr_attendance_dashboard/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/capture (1).png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/check.png b/advance_hr_attendance_dashboard/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/check.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/chevron.png b/advance_hr_attendance_dashboard/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/chevron.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/close-icon.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/close-icon.svg new file mode 100644 index 000000000..df8cce37a --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/cogs.png b/advance_hr_attendance_dashboard/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/cogs.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/collabarate-icon.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/collabarate-icon.svg new file mode 100644 index 000000000..dd4e10518 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/consultation.png b/advance_hr_attendance_dashboard/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/consultation.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/cybro-logo.png b/advance_hr_attendance_dashboard/static/description/assets/icons/cybro-logo.png new file mode 100644 index 000000000..ff4b78220 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/cybro-logo.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/down.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/down.svg new file mode 100644 index 000000000..f21c36271 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/ecom-black.png b/advance_hr_attendance_dashboard/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/ecom-black.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/education-black.png b/advance_hr_attendance_dashboard/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/education-black.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/faq.png b/advance_hr_attendance_dashboard/static/description/assets/icons/faq.png new file mode 100644 index 000000000..4250b5b81 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/faq.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/feature-icon.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/feature-icon.svg new file mode 100644 index 000000000..fa0ea6850 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/feature.png b/advance_hr_attendance_dashboard/static/description/assets/icons/feature.png new file mode 100644 index 000000000..ac7a785c0 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/feature.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/gear.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/gear.svg new file mode 100644 index 000000000..0cc66b6ea --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/hero.gif b/advance_hr_attendance_dashboard/static/description/assets/icons/hero.gif new file mode 100644 index 000000000..29a60a116 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/hero.gif differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/hire-odoo.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/hire-odoo.svg new file mode 100644 index 000000000..e1ac089b0 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/hotel-black.png b/advance_hr_attendance_dashboard/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/hotel-black.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/img.png b/advance_hr_attendance_dashboard/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/img.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/license.png b/advance_hr_attendance_dashboard/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/license.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/life-ring-icon.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/life-ring-icon.svg new file mode 100644 index 000000000..3ae6e1d89 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/lifebuoy.png b/advance_hr_attendance_dashboard/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/lifebuoy.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/mail.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/mail.svg new file mode 100644 index 000000000..1eedde695 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/manufacturing-black.png b/advance_hr_attendance_dashboard/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/manufacturing-black.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/notes.png b/advance_hr_attendance_dashboard/static/description/assets/icons/notes.png new file mode 100644 index 000000000..ee5e95404 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/notes.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/notification icon.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/notification icon.svg new file mode 100644 index 000000000..053189973 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/odoo-consultancy.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/odoo-consultancy.svg new file mode 100644 index 000000000..e05f65bde --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/odoo-licencing.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/odoo-licencing.svg new file mode 100644 index 000000000..2606c88b0 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/odoo-logo.png b/advance_hr_attendance_dashboard/static/description/assets/icons/odoo-logo.png new file mode 100644 index 000000000..0e4d0eb5a Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/odoo-logo.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/patter.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/patter.svg new file mode 100644 index 000000000..25c9c0a8f --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/pattern1.png b/advance_hr_attendance_dashboard/static/description/assets/icons/pattern1.png new file mode 100644 index 000000000..09ab0fb2d Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/pattern1.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/photo-capture.png b/advance_hr_attendance_dashboard/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/photo-capture.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/pos-black.png b/advance_hr_attendance_dashboard/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/pos-black.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/puzzle-piece-icon.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100644 index 000000000..3e9ad9373 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/puzzle.png b/advance_hr_attendance_dashboard/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/puzzle.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/replace-icon.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/replace-icon.svg new file mode 100644 index 000000000..d0e3a7af1 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/restaurant-black.png b/advance_hr_attendance_dashboard/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/restaurant-black.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/screenshot-main.png b/advance_hr_attendance_dashboard/static/description/assets/icons/screenshot-main.png new file mode 100644 index 000000000..575f8e676 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/screenshot-main.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/screenshot.png b/advance_hr_attendance_dashboard/static/description/assets/icons/screenshot.png new file mode 100644 index 000000000..cef272529 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/screenshot.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/service-black.png b/advance_hr_attendance_dashboard/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/service-black.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/skype-fill.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/skype-fill.svg new file mode 100644 index 000000000..c17423639 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/skype.png b/advance_hr_attendance_dashboard/static/description/assets/icons/skype.png new file mode 100644 index 000000000..51b409fb3 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/skype.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/skype.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/skype.svg new file mode 100644 index 000000000..df3dad39b --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/star-1.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/star-1.svg new file mode 100644 index 000000000..7e55ab162 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/star-2.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/star-2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/support.png b/advance_hr_attendance_dashboard/static/description/assets/icons/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/support.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/test-1 - Copy.png b/advance_hr_attendance_dashboard/static/description/assets/icons/test-1 - Copy.png new file mode 100644 index 000000000..f6a902663 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/test-1 - Copy.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/test-1.png b/advance_hr_attendance_dashboard/static/description/assets/icons/test-1.png new file mode 100644 index 000000000..0908add2b Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/test-1.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/test-2.png b/advance_hr_attendance_dashboard/static/description/assets/icons/test-2.png new file mode 100644 index 000000000..4671fe91e Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/test-2.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/trading-black.png b/advance_hr_attendance_dashboard/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/trading-black.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/training.png b/advance_hr_attendance_dashboard/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/training.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/translate.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/translate.svg new file mode 100644 index 000000000..af9c8a1aa --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/update.png b/advance_hr_attendance_dashboard/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/update.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/user.png b/advance_hr_attendance_dashboard/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/user.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/video.png b/advance_hr_attendance_dashboard/static/description/assets/icons/video.png new file mode 100644 index 000000000..576705b17 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/video.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/whatsapp.png b/advance_hr_attendance_dashboard/static/description/assets/icons/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/whatsapp.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/wrench-icon.svg b/advance_hr_attendance_dashboard/static/description/assets/icons/wrench-icon.svg new file mode 100644 index 000000000..174b5a465 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/icons/wrench.png b/advance_hr_attendance_dashboard/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/icons/wrench.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/misc/Cybrosys R.png b/advance_hr_attendance_dashboard/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/misc/Cybrosys R.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/misc/email.svg b/advance_hr_attendance_dashboard/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/misc/phone.svg b/advance_hr_attendance_dashboard/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/misc/star (1) 2.svg b/advance_hr_attendance_dashboard/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/misc/support (1) 1.svg b/advance_hr_attendance_dashboard/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/misc/support-email.svg b/advance_hr_attendance_dashboard/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/misc/tick-mark.svg b/advance_hr_attendance_dashboard/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/misc/whatsapp 1.svg b/advance_hr_attendance_dashboard/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/misc/whatsapp.svg b/advance_hr_attendance_dashboard/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/advance_hr_attendance_dashboard/static/description/assets/modules/1.gif b/advance_hr_attendance_dashboard/static/description/assets/modules/1.gif new file mode 100644 index 000000000..ae3a880a2 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/modules/1.gif differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/modules/1.jpg b/advance_hr_attendance_dashboard/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..08bbafeb6 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/modules/1.jpg differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/modules/1.png b/advance_hr_attendance_dashboard/static/description/assets/modules/1.png new file mode 100644 index 000000000..8513873ea Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/modules/1.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/modules/2.gif b/advance_hr_attendance_dashboard/static/description/assets/modules/2.gif new file mode 100644 index 000000000..d19e2b352 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/modules/2.gif differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/modules/2.jpg b/advance_hr_attendance_dashboard/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/modules/2.jpg differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/modules/2.png b/advance_hr_attendance_dashboard/static/description/assets/modules/2.png new file mode 100644 index 000000000..a1209a01f Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/modules/2.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/modules/3.jpg b/advance_hr_attendance_dashboard/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..3d171226b Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/modules/3.jpg differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/modules/3.png b/advance_hr_attendance_dashboard/static/description/assets/modules/3.png new file mode 100644 index 000000000..8513873ea Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/modules/3.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/modules/4.jpg b/advance_hr_attendance_dashboard/static/description/assets/modules/4.jpg new file mode 100644 index 000000000..1f3f2e27f Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/modules/4.jpg differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/modules/4.png b/advance_hr_attendance_dashboard/static/description/assets/modules/4.png new file mode 100644 index 000000000..3bedf7981 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/modules/4.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/modules/5.jpg b/advance_hr_attendance_dashboard/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..0db717519 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/modules/5.jpg differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/modules/5.png b/advance_hr_attendance_dashboard/static/description/assets/modules/5.png new file mode 100644 index 000000000..0e311ca87 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/modules/5.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/modules/6.jpg b/advance_hr_attendance_dashboard/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/modules/6.jpg differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/modules/6.png b/advance_hr_attendance_dashboard/static/description/assets/modules/6.png new file mode 100644 index 000000000..a0ac2d840 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/modules/6.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/screenshots/1.png b/advance_hr_attendance_dashboard/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..472edcb3a Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/screenshots/1.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/screenshots/2.png b/advance_hr_attendance_dashboard/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..bd6f90920 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/screenshots/2.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/screenshots/3.png b/advance_hr_attendance_dashboard/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..9b65860b5 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/screenshots/3.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/screenshots/4.png b/advance_hr_attendance_dashboard/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..d2d1d0b52 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/screenshots/4.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/screenshots/5.png b/advance_hr_attendance_dashboard/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..551325a81 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/screenshots/5.png differ diff --git a/advance_hr_attendance_dashboard/static/description/assets/screenshots/6.png b/advance_hr_attendance_dashboard/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..3769c87cc Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/assets/screenshots/6.png differ diff --git a/advance_hr_attendance_dashboard/static/description/banner.png b/advance_hr_attendance_dashboard/static/description/banner.png new file mode 100644 index 000000000..35e83515b Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/banner.png differ diff --git a/advance_hr_attendance_dashboard/static/description/icon.png b/advance_hr_attendance_dashboard/static/description/icon.png new file mode 100644 index 000000000..aae5c3230 Binary files /dev/null and b/advance_hr_attendance_dashboard/static/description/icon.png differ diff --git a/advance_hr_attendance_dashboard/static/description/index.html b/advance_hr_attendance_dashboard/static/description/index.html new file mode 100644 index 000000000..d17aa81f5 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/description/index.html @@ -0,0 +1,939 @@ + + + + + + Advance HR Attendance Dashboard + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+
+

+ An Advanced Dashboard For Monitoring And + Managing The Employees Attendance Data. +

+

Advance HR Attendance Dashboard +

+
+
+ +
+ +
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+

Key + Heighlights

+
+
+
+
+ +
+
+ View Leaves of Employee Based on Different + Leave Types. +
+
+
+
+
+
+ +
+
+ + Filter Based on Employee Name. +
+
+
+
+
+
+ +
+
+ + Print PDF Report. +
+
+
+
+
+
+ +
+
+ + Compatible with Community, Enterprise, and + Odoo.sh. +
+
+
+
+
+ +
+
+
+ Advance HR Attendance Dashboard +

+ Are you ready to make your business more + organized? +
Improve now! +

+ +
+
+ +
+
+
+ + + + +
+
+ +
+
+
+
+ acc_bg +
+ +
+
+
+
+

+ Set Leave Code in Time Off Types + +

+
+
+
+ +
+
+
+
+
+
+
+
+
+

+ + +Set Default Present Mark For Present And Default Absent Mark For Absent From Configuration. + +

+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+

+ + HR Attendance Dashboard + +

+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+

+ + Print PDF Report. + +

+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+

+ + PDF Report View. + +

+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+

+ + Search Bar. + +

+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+ +
+

+ Interactive User Interface.

+
+ +
+
+
+
+
+
+ +
+

+ HR Attendance Dashboard Provides Better Leave Analysis

+
+
+
+
+
+ +
+ +
+
+

+ Latest Release 18.0.1.0.0 +

+ + 26th September, 2024 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • + +
+
+
+
+
+
+
+
+
+
+ + + + + + +
+

+ Our Services

+ +
+
+ +
+
+ .... +
+
+ +
+ +
+
+ + + + + + diff --git a/advance_hr_attendance_dashboard/static/src/js/attendance_dashboard.js b/advance_hr_attendance_dashboard/static/src/js/attendance_dashboard.js new file mode 100644 index 000000000..5d5021033 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/src/js/attendance_dashboard.js @@ -0,0 +1,68 @@ +/* @odoo-module */ +import { Component, useState, useRef } from "@odoo/owl"; +import { registry } from "@web/core/registry"; +import { useService } from "@web/core/utils/hooks"; +class AttendanceDashboard extends Component{ + setup(){ + this.action = useService('action') + this.state = useState({ + filteredDurationDates : [], + employeeData : [] + }) + this.orm = useService("orm"); + this.root = useRef('attendance-dashboard') + } + /** + * Event handler for the 'change' event of the filter input element. + * It triggers the onclick_this_filter method with the new filter value. + * @param {Event} ev - The change event object. + */ + onChangeFilter(ev){ + ev.stopPropagation(); + this.onclick_this_filter(ev.target.value); + } + //on clicking search button, employees will be filtered + _OnClickSearchEmployee(ev){ + let searchbar = this.root.el.querySelector('#search-bar').value?.toLowerCase() + var attendance_table_rows = this.root.el.querySelector('#attendance_table_nm').children[1] + for (let tableData of attendance_table_rows.children){ + tableData.style.display = (!tableData.children[0].getAttribute("data-name").toLowerCase().includes(searchbar)) ? 'none':''; + } + } + //on clicking Print PDF button, report will be printed + _OnClickPdfReport(ev){ + const table = this.root.el.querySelector('#attendance_table_nm') + let tHead = table.children[0].innerHTML + let tBody = table.children[1].innerHTML + return this.action.doAction({ + type: 'ir.actions.report', + report_type: 'qweb-pdf', + report_name: 'advance_hr_attendance_dashboard.report_hr_attendance', + report_file: 'advance_hr_attendance_dashboard.report_hr_attendance', + data: {'tHead':tHead, 'tBody': tBody} +}); + } + async onclick_this_filter(ev) { + await this.orm.call( + "hr.employee", + "get_employee_leave_data", + [ev] + ).then((result) =>{ + this.result = result + this.state.filteredDurationDates = result.filtered_duration_dates + this.state.employeeData = result.employee_data + }); + } + formatDate(inputDate) { + const months = [ + 'JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN', + 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC' ]; + const parts = inputDate.split('-'); + const day = parts[2]; + const month = months[parseInt(parts[1], 10) - 1]; + const year = parts[0]; + return `${day}-${month}-${year}`; +} +} +AttendanceDashboard.template = 'AttendanceDashboard'; +registry.category("actions").add("attendance_dashboard", AttendanceDashboard); diff --git a/advance_hr_attendance_dashboard/static/src/scss/attendance_dashboard.scss b/advance_hr_attendance_dashboard/static/src/scss/attendance_dashboard.scss new file mode 100644 index 000000000..71ddef906 --- /dev/null +++ b/advance_hr_attendance_dashboard/static/src/scss/attendance_dashboard.scss @@ -0,0 +1,14 @@ +.attendance_table{ + float:left; + margin:22px 10px; +} +.attendance th , thead , tr , tbody , tfoot{ + padding:1em; + border:1px solid #ccc; +} +.table-data{ + background: #ffffff; + border-width: 0px 1px 0px 1px !important; + border-color: #bfb7b7; + border-style: solid; +} diff --git a/advance_hr_attendance_dashboard/static/src/xml/attendance_dashboard_templates.xml b/advance_hr_attendance_dashboard/static/src/xml/attendance_dashboard_templates.xml new file mode 100644 index 000000000..8215d861c --- /dev/null +++ b/advance_hr_attendance_dashboard/static/src/xml/attendance_dashboard_templates.xml @@ -0,0 +1,86 @@ + + diff --git a/advance_hr_attendance_dashboard/views/advance_hr_attendance_dashboard_menus.xml b/advance_hr_attendance_dashboard/views/advance_hr_attendance_dashboard_menus.xml new file mode 100644 index 000000000..16b3563d8 --- /dev/null +++ b/advance_hr_attendance_dashboard/views/advance_hr_attendance_dashboard_menus.xml @@ -0,0 +1,13 @@ + + + + + Attendance Dashboard + attendance_dashboard + + + + diff --git a/advance_hr_attendance_dashboard/views/hr_leave_type_views.xml b/advance_hr_attendance_dashboard/views/hr_leave_type_views.xml new file mode 100644 index 000000000..98e1d8c27 --- /dev/null +++ b/advance_hr_attendance_dashboard/views/hr_leave_type_views.xml @@ -0,0 +1,21 @@ + + + + + + hr.leave.type.view.form.inherit.advance.hr.attendance.dashboard + + hr.leave.type + + + + + + + + diff --git a/advance_hr_attendance_dashboard/views/res_config_settings_views.xml b/advance_hr_attendance_dashboard/views/res_config_settings_views.xml new file mode 100644 index 000000000..dedadadec --- /dev/null +++ b/advance_hr_attendance_dashboard/views/res_config_settings_views.xml @@ -0,0 +1,57 @@ + + + + + + res.config.settings.view.form.inherit.advance.hr.attendance.dashboard + + res.config.settings + + + + +
+

Choose Attendance Marks

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+