diff --git a/hr_attendance_xlsx_report/README.rst b/hr_attendance_xlsx_report/README.rst new file mode 100644 index 000000000..aebee1c57 --- /dev/null +++ b/hr_attendance_xlsx_report/README.rst @@ -0,0 +1,37 @@ +.. 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 + +Employee Attendance Xlsx Report +=============================== +This module helps to manage the attendance report of employees in xlsx. + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer: Shikhil Raj @cybrosys, 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: ``__ \ No newline at end of file diff --git a/hr_attendance_xlsx_report/__init__.py b/hr_attendance_xlsx_report/__init__.py new file mode 100644 index 000000000..82a374133 --- /dev/null +++ b/hr_attendance_xlsx_report/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: YADHU KRISHNAN(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. +# If not, see . +# +################################################################################ +from . import controllers +from . import wizards diff --git a/hr_attendance_xlsx_report/__manifest__.py b/hr_attendance_xlsx_report/__manifest__.py new file mode 100644 index 000000000..135761b36 --- /dev/null +++ b/hr_attendance_xlsx_report/__manifest__.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: YADHU KRISHNAN(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. +# If not, see . +# +################################################################################ +{ + 'name': "Employee Attendance Xlsx Report", + 'version': '18.0.1.0.0', + 'category': 'Human Resources', + 'summary': """This module will manage the attendance report of employees + in xlsx""", + 'description': """This module helps to generate the attendance report of + employees in the XLSX format""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['hr_attendance'], + 'data': [ + 'security/ir.model.access.csv', + 'wizards/employee_attendance_report_views.xml', + ], + 'assets': { + 'web.assets_backend': [ + 'hr_attendance_xlsx_report/static/src/js/action_manager.js', + ] + }, + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False +} diff --git a/hr_attendance_xlsx_report/controllers/__init__.py b/hr_attendance_xlsx_report/controllers/__init__.py new file mode 100644 index 000000000..b43c6334d --- /dev/null +++ b/hr_attendance_xlsx_report/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: YADHU KRISHNAN(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. +# If not, see . +# +################################################################################ +from . import hr_attendance_xlsx_report diff --git a/hr_attendance_xlsx_report/controllers/hr_attendance_xlsx_report.py b/hr_attendance_xlsx_report/controllers/hr_attendance_xlsx_report.py new file mode 100644 index 000000000..28c25eaa4 --- /dev/null +++ b/hr_attendance_xlsx_report/controllers/hr_attendance_xlsx_report.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: YADHU KRISHNAN(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. +# If not, see . +# +################################################################################ +import json +from odoo import http +from odoo.http import content_disposition, request, serialize_exception +from odoo.tools import html_escape + + +class XLSXReportController(http.Controller): + """Xlsx Report controller""" + @http.route('/xlsx_reports', type='http', auth='user', methods=['POST'], + csrf=False) + def get_report_xlsx(self, model, options, output_format, report_name): + """xlsx report""" + report_obj = request.env[model].with_user(request.session.uid) + options = json.loads(options) + token = 'dummy-because-api-expects-one' + try: + if output_format == 'xlsx': + response = request.make_response( + None, + headers=[ + ('Content-Type', 'application/vnd.ms-excel'), + ('Content-Disposition', content_disposition(report_name + '.xlsx')) + ] + ) + report_obj.get_xlsx_report(options, response) + response.set_cookie('fileToken', token) + return response + except Exception as e: + se = serialize_exception(e) + error = { + 'code': 200, + 'message': 'Odoo Server Error', + 'data': se + } + return request.make_response(html_escape(json.dumps(error))) diff --git a/hr_attendance_xlsx_report/doc/RELEASE_NOTES.md b/hr_attendance_xlsx_report/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..fd58e40cd --- /dev/null +++ b/hr_attendance_xlsx_report/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 25.11.2024 +#### Version 18.0.1.0.0 +#### ADD + +- Initial commit for Employee Attendance Xlsx Report Server, Google Drive, Dropbox, Onedrive, Nextcloud and Amazon S3 Odoo18. diff --git a/hr_attendance_xlsx_report/security/ir.model.access.csv b/hr_attendance_xlsx_report/security/ir.model.access.csv new file mode 100644 index 000000000..5d2d406a3 --- /dev/null +++ b/hr_attendance_xlsx_report/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_employee_attendance_report,access.employee.attendance.report,model_employee_attendance_report,base.group_user,1,1,1,1 + diff --git a/hr_attendance_xlsx_report/static/description/assets/cybro-icon.png b/hr_attendance_xlsx_report/static/description/assets/cybro-icon.png new file mode 100755 index 000000000..06e73e11d Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/cybro-icon.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/cybro-odoo.png b/hr_attendance_xlsx_report/static/description/assets/cybro-odoo.png new file mode 100755 index 000000000..ed02e07a4 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/cybro-odoo.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/h2.png b/hr_attendance_xlsx_report/static/description/assets/h2.png new file mode 100755 index 000000000..0bfc4707d Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/h2.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/arrows-repeat.svg b/hr_attendance_xlsx_report/static/description/assets/icons/arrows-repeat.svg new file mode 100755 index 000000000..1d7efabc5 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/banner-1.png b/hr_attendance_xlsx_report/static/description/assets/icons/banner-1.png new file mode 100755 index 000000000..c180db172 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/banner-1.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/banner-2.svg b/hr_attendance_xlsx_report/static/description/assets/icons/banner-2.svg new file mode 100755 index 000000000..e606d97d9 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/banner-bg.png b/hr_attendance_xlsx_report/static/description/assets/icons/banner-bg.png new file mode 100755 index 000000000..a8238d3c0 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/banner-bg.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/banner-bg.svg b/hr_attendance_xlsx_report/static/description/assets/icons/banner-bg.svg new file mode 100755 index 000000000..b1378103e --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/banner-call.svg b/hr_attendance_xlsx_report/static/description/assets/icons/banner-call.svg new file mode 100755 index 000000000..96c687e81 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/banner-mail.svg b/hr_attendance_xlsx_report/static/description/assets/icons/banner-mail.svg new file mode 100755 index 000000000..cbf0d158d --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/banner-pattern.svg b/hr_attendance_xlsx_report/static/description/assets/icons/banner-pattern.svg new file mode 100755 index 000000000..9c1c7e101 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/banner-promo.svg b/hr_attendance_xlsx_report/static/description/assets/icons/banner-promo.svg new file mode 100755 index 000000000..d52791b11 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/brand-pair.svg b/hr_attendance_xlsx_report/static/description/assets/icons/brand-pair.svg new file mode 100755 index 000000000..d8db7fc1e --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/check.png b/hr_attendance_xlsx_report/static/description/assets/icons/check.png new file mode 100755 index 000000000..c8e85f51d Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/check.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/chevron.png b/hr_attendance_xlsx_report/static/description/assets/icons/chevron.png new file mode 100755 index 000000000..2089293d6 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/chevron.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/close-icon.svg b/hr_attendance_xlsx_report/static/description/assets/icons/close-icon.svg new file mode 100755 index 000000000..df8cce37a --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/cogs.png b/hr_attendance_xlsx_report/static/description/assets/icons/cogs.png new file mode 100755 index 000000000..95d0bad62 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/cogs.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/collabarate-icon.svg b/hr_attendance_xlsx_report/static/description/assets/icons/collabarate-icon.svg new file mode 100755 index 000000000..dd4e10518 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/consultation.png b/hr_attendance_xlsx_report/static/description/assets/icons/consultation.png new file mode 100755 index 000000000..8319d4baa Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/consultation.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/cybro-logo.png b/hr_attendance_xlsx_report/static/description/assets/icons/cybro-logo.png new file mode 100755 index 000000000..ff4b78220 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/cybro-logo.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/down.svg b/hr_attendance_xlsx_report/static/description/assets/icons/down.svg new file mode 100755 index 000000000..f21c36271 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/ecom-black.png b/hr_attendance_xlsx_report/static/description/assets/icons/ecom-black.png new file mode 100755 index 000000000..a9385ff13 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/ecom-black.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/education-black.png b/hr_attendance_xlsx_report/static/description/assets/icons/education-black.png new file mode 100755 index 000000000..3eb09b27b Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/education-black.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/faq.png b/hr_attendance_xlsx_report/static/description/assets/icons/faq.png new file mode 100755 index 000000000..4250b5b81 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/faq.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/feature-icon.svg b/hr_attendance_xlsx_report/static/description/assets/icons/feature-icon.svg new file mode 100755 index 000000000..fa0ea6850 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/feature.png b/hr_attendance_xlsx_report/static/description/assets/icons/feature.png new file mode 100755 index 000000000..ac7a785c0 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/feature.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/gear.svg b/hr_attendance_xlsx_report/static/description/assets/icons/gear.svg new file mode 100755 index 000000000..0cc66b6ea --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/hero.gif b/hr_attendance_xlsx_report/static/description/assets/icons/hero.gif new file mode 100644 index 000000000..10ead7623 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/hero.gif differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/hire-odoo.svg b/hr_attendance_xlsx_report/static/description/assets/icons/hire-odoo.svg new file mode 100755 index 000000000..e1ac089b0 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/hotel-black.png b/hr_attendance_xlsx_report/static/description/assets/icons/hotel-black.png new file mode 100755 index 000000000..130f613be Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/hotel-black.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/license.png b/hr_attendance_xlsx_report/static/description/assets/icons/license.png new file mode 100755 index 000000000..a5869797e Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/license.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/life-ring-icon.svg b/hr_attendance_xlsx_report/static/description/assets/icons/life-ring-icon.svg new file mode 100755 index 000000000..3ae6e1d89 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/lifebuoy.png b/hr_attendance_xlsx_report/static/description/assets/icons/lifebuoy.png new file mode 100755 index 000000000..658d56ccc Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/lifebuoy.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/mail.svg b/hr_attendance_xlsx_report/static/description/assets/icons/mail.svg new file mode 100755 index 000000000..1eedde695 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/manufacturing-black.png b/hr_attendance_xlsx_report/static/description/assets/icons/manufacturing-black.png new file mode 100755 index 000000000..697eb0e9f Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/manufacturing-black.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/notes.png b/hr_attendance_xlsx_report/static/description/assets/icons/notes.png new file mode 100755 index 000000000..ee5e95404 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/notes.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/notification icon.svg b/hr_attendance_xlsx_report/static/description/assets/icons/notification icon.svg new file mode 100755 index 000000000..053189973 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/odoo-consultancy.svg b/hr_attendance_xlsx_report/static/description/assets/icons/odoo-consultancy.svg new file mode 100755 index 000000000..e05f65bde --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/odoo-licencing.svg b/hr_attendance_xlsx_report/static/description/assets/icons/odoo-licencing.svg new file mode 100755 index 000000000..2606c88b0 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/odoo-logo.png b/hr_attendance_xlsx_report/static/description/assets/icons/odoo-logo.png new file mode 100755 index 000000000..0e4d0eb5a Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/odoo-logo.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/patter.svg b/hr_attendance_xlsx_report/static/description/assets/icons/patter.svg new file mode 100755 index 000000000..25c9c0a8f --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/pattern1.png b/hr_attendance_xlsx_report/static/description/assets/icons/pattern1.png new file mode 100755 index 000000000..09ab0fb2d Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/pattern1.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/pos-black.png b/hr_attendance_xlsx_report/static/description/assets/icons/pos-black.png new file mode 100755 index 000000000..97c0f90c1 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/pos-black.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/puzzle-piece-icon.svg b/hr_attendance_xlsx_report/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100755 index 000000000..3e9ad9373 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/puzzle.png b/hr_attendance_xlsx_report/static/description/assets/icons/puzzle.png new file mode 100755 index 000000000..65cf854e7 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/puzzle.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/replace-icon.svg b/hr_attendance_xlsx_report/static/description/assets/icons/replace-icon.svg new file mode 100755 index 000000000..d0e3a7af1 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/restaurant-black.png b/hr_attendance_xlsx_report/static/description/assets/icons/restaurant-black.png new file mode 100755 index 000000000..4a35eb939 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/restaurant-black.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/screenshot-main.png b/hr_attendance_xlsx_report/static/description/assets/icons/screenshot-main.png new file mode 100755 index 000000000..575f8e676 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/screenshot-main.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/screenshot.png b/hr_attendance_xlsx_report/static/description/assets/icons/screenshot.png new file mode 100755 index 000000000..cef272529 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/screenshot.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/service-black.png b/hr_attendance_xlsx_report/static/description/assets/icons/service-black.png new file mode 100755 index 000000000..301ab51cb Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/service-black.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/skype-fill.svg b/hr_attendance_xlsx_report/static/description/assets/icons/skype-fill.svg new file mode 100755 index 000000000..c17423639 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/skype.png b/hr_attendance_xlsx_report/static/description/assets/icons/skype.png new file mode 100755 index 000000000..51b409fb3 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/skype.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/skype.svg b/hr_attendance_xlsx_report/static/description/assets/icons/skype.svg new file mode 100755 index 000000000..df3dad39b --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/star-1.svg b/hr_attendance_xlsx_report/static/description/assets/icons/star-1.svg new file mode 100755 index 000000000..7e55ab162 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/star-2.svg b/hr_attendance_xlsx_report/static/description/assets/icons/star-2.svg new file mode 100755 index 000000000..5ae9f507a --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/support.png b/hr_attendance_xlsx_report/static/description/assets/icons/support.png new file mode 100755 index 000000000..4f18b8b82 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/support.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/test-1 - Copy.png b/hr_attendance_xlsx_report/static/description/assets/icons/test-1 - Copy.png new file mode 100755 index 000000000..f6a902663 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/test-1 - Copy.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/test-1.png b/hr_attendance_xlsx_report/static/description/assets/icons/test-1.png new file mode 100755 index 000000000..0908add2b Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/test-1.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/test-2.png b/hr_attendance_xlsx_report/static/description/assets/icons/test-2.png new file mode 100755 index 000000000..4671fe91e Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/test-2.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/trading-black.png b/hr_attendance_xlsx_report/static/description/assets/icons/trading-black.png new file mode 100755 index 000000000..9398ba2f1 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/trading-black.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/training.png b/hr_attendance_xlsx_report/static/description/assets/icons/training.png new file mode 100755 index 000000000..884ca024d Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/training.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/translate.svg b/hr_attendance_xlsx_report/static/description/assets/icons/translate.svg new file mode 100755 index 000000000..af9c8a1aa --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/update.png b/hr_attendance_xlsx_report/static/description/assets/icons/update.png new file mode 100755 index 000000000..ecbc5a01a Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/update.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/user.png b/hr_attendance_xlsx_report/static/description/assets/icons/user.png new file mode 100755 index 000000000..6ffb23d9f Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/user.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/video.png b/hr_attendance_xlsx_report/static/description/assets/icons/video.png new file mode 100755 index 000000000..576705b17 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/video.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/whatsapp.png b/hr_attendance_xlsx_report/static/description/assets/icons/whatsapp.png new file mode 100755 index 000000000..d513a5356 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/whatsapp.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/wrench-icon.svg b/hr_attendance_xlsx_report/static/description/assets/icons/wrench-icon.svg new file mode 100755 index 000000000..174b5a465 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/hr_attendance_xlsx_report/static/description/assets/icons/wrench.png b/hr_attendance_xlsx_report/static/description/assets/icons/wrench.png new file mode 100755 index 000000000..6c04dea0f Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/icons/wrench.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/modules/1.jpg b/hr_attendance_xlsx_report/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..3cb15fe01 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/modules/1.jpg differ diff --git a/hr_attendance_xlsx_report/static/description/assets/modules/2.jpg b/hr_attendance_xlsx_report/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..662cadcc3 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/modules/2.jpg differ diff --git a/hr_attendance_xlsx_report/static/description/assets/modules/3.jpg b/hr_attendance_xlsx_report/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..0178d2964 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/modules/3.jpg differ diff --git a/hr_attendance_xlsx_report/static/description/assets/modules/4.jpg b/hr_attendance_xlsx_report/static/description/assets/modules/4.jpg new file mode 100644 index 000000000..c07364a58 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/modules/4.jpg differ diff --git a/hr_attendance_xlsx_report/static/description/assets/modules/5.jpg b/hr_attendance_xlsx_report/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..cd5fffdd6 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/modules/5.jpg differ diff --git a/hr_attendance_xlsx_report/static/description/assets/modules/6.jpg b/hr_attendance_xlsx_report/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..580ea075d Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/modules/6.jpg differ diff --git a/hr_attendance_xlsx_report/static/description/assets/screenshots/1.png b/hr_attendance_xlsx_report/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..b4d3478af Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/screenshots/1.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/screenshots/2.png b/hr_attendance_xlsx_report/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..a88ef0921 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/screenshots/2.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/screenshots/3.png b/hr_attendance_xlsx_report/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..5c2e06d90 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/screenshots/3.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/screenshots/4.png b/hr_attendance_xlsx_report/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..92a70ec55 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/screenshots/4.png differ diff --git a/hr_attendance_xlsx_report/static/description/assets/y18.jpg b/hr_attendance_xlsx_report/static/description/assets/y18.jpg new file mode 100755 index 000000000..eea1714f2 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/assets/y18.jpg differ diff --git a/hr_attendance_xlsx_report/static/description/banner.jpg b/hr_attendance_xlsx_report/static/description/banner.jpg new file mode 100644 index 000000000..c48d8cb7d Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/banner.jpg differ diff --git a/hr_attendance_xlsx_report/static/description/icon.png b/hr_attendance_xlsx_report/static/description/icon.png new file mode 100644 index 000000000..701fceec3 Binary files /dev/null and b/hr_attendance_xlsx_report/static/description/icon.png differ diff --git a/hr_attendance_xlsx_report/static/description/index.html b/hr_attendance_xlsx_report/static/description/index.html new file mode 100644 index 000000000..b01043bd3 --- /dev/null +++ b/hr_attendance_xlsx_report/static/description/index.html @@ -0,0 +1,806 @@ + + + + + + Employee Attendance Xlsx Report + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+ Enterprise +
+ + + + +
+
+ +
+
+
+
+

+ This module helps to manage the attendance report of employees. +

+

Employee Attendance Xlsx Report +

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

Key + Highlights

+
+
+
+
+ +
+
+ Attendance report of all employees. +
+

+ Generate attendance report for all employees.

+
+
+
+
+
+ +
+
+ Attendance report of one specific employee +
+

+ Possible to generate attendance report for individual employee +

+
+
+
+ +
+
+
+ Employee Attendance Xlsx Report +

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

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

+ Choose date range from wizard. + +

+
+
+

+ Go to Attendance -> Reports -> Attendance Report. +

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

+ Attendance report of all employees. + +

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

+ Choose date range and employee from wizard. + +

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

+ Attendance report of a chosen employee with a specified date range. + +

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

+ Attendance report of all employees.

+
+
+
+
+
+
+
+ +
+

+ Attendance report of one specific employee. +

+
+
+
+
+
+ +
+ +
+
+

+ Latest Release 18.0.1.0.0 +

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

+ Related Products +

+ +
+ + +
+

+ Our Services

+ +
+ +
+
+ .... +
+
+ +
+ + +
+
+ + + + + + diff --git a/hr_attendance_xlsx_report/static/src/js/action_manager.js b/hr_attendance_xlsx_report/static/src/js/action_manager.js new file mode 100644 index 000000000..08261cf4d --- /dev/null +++ b/hr_attendance_xlsx_report/static/src/js/action_manager.js @@ -0,0 +1,24 @@ +/** @odoo-module **/ +import { registry } from "@web/core/registry"; +import { BlockUI } from "@web/core/ui/block_ui"; +import { download } from "@web/core/network/download"; +/** +XLSX Handler +This handler is responsible for generating XLSX reports. +It sends a request to the server to generate the report in XLSX format +and downloads the generated file. +@param {Object} action - The action object containing the report details. +@returns {Promise} - A promise that resolves when the report generation is complete. +*/ +registry.category("ir.actions.report handlers").add("xlsx", async function (action) { + if (action.report_type === 'xlsx') { + BlockUI; + await download({ + url: '/xlsx_reports', + data: action.data, + complete: () => unblockUI, + error: (error) => self.call('crash_manager', 'rpc_error', error), + }); + + } +}); \ No newline at end of file diff --git a/hr_attendance_xlsx_report/wizards/__init__.py b/hr_attendance_xlsx_report/wizards/__init__.py new file mode 100644 index 000000000..4a11ea6b7 --- /dev/null +++ b/hr_attendance_xlsx_report/wizards/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: YADHU KRISHNAN(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. +# If not, see . +# +################################################################################ +from . import employee_attendance_report diff --git a/hr_attendance_xlsx_report/wizards/employee_attendance_report.py b/hr_attendance_xlsx_report/wizards/employee_attendance_report.py new file mode 100644 index 000000000..530d5d3b0 --- /dev/null +++ b/hr_attendance_xlsx_report/wizards/employee_attendance_report.py @@ -0,0 +1,182 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: YADHU KRISHNAN(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. +# If not, see . +# +################################################################################ +import io +import json +from datetime import datetime, date +from dateutil.rrule import rrule, DAILY + +from odoo import fields, models, _ +from odoo.exceptions import ValidationError +from odoo.tools import date_utils, json_default + +try: + from odoo.tools.misc import xlsxwriter +except ImportError: + import xlsxwriter + + +class EmployeeAttendanceReport(models.TransientModel): + """ Wizard for Employee Attendance Report """ + _name = 'employee.attendance.report' + _description = 'Employee Attendance Report Wizard' + + from_date = fields.Date('From Date', help="Starting date for report") + to_date = fields.Date('To Date', help="Ending date for report") + employee_ids = fields.Many2many('hr.employee', string='Employee', + help='Name of Employee') + + def action_print_xlsx(self): + """ + Returns report action for the XLSX Attendance report + Raises: ValidationError: if From Date > To Date + Raises: ValidationError: if there is no attendance records + Returns: + dict: the XLSX report action + """ + if not self.from_date: + self.from_date = date.today() + if not self.to_date: + self.to_date = date.today() + if self.from_date > self.to_date: + raise ValidationError(_('From Date must be earlier than To Date.')) + attendances = self.env['hr.attendance'].search( + [('employee_id', 'in', self.employee_ids.ids)]) + data = { + 'from_date': self.from_date, + 'to_date': self.to_date, + 'employee_ids': self.employee_ids.ids + } + if self.employee_ids and not attendances: + raise ValidationError( + _("There is no attendance records for the employee")) + if self.from_date and self.to_date: + return { + 'type': 'ir.actions.report', + 'data': {'model': 'employee.attendance.report', + 'options': json.dumps(data, default=json_default), + 'output_format': 'xlsx', + 'report_name': 'Attendance Report', + }, + 'report_type': 'xlsx', + } + + def get_xlsx_report(self, data, response): + """ + Print the XLSX report + Returns: None + """ + query = """select hr_e.name,date(hr_at.check_in), + SUM(hr_at.worked_hours) from hr_attendance hr_at LEFT JOIN + hr_employee hr_e ON hr_at.employee_id = hr_e.id""" + + if not data['employee_ids']: + query += """ GROUP BY date(check_in), hr_e.name""" + + else: + query += """ WHERE hr_e.id in (%s) GROUP BY date(check_in), + hr_e.name""" % (', '.join(str(employee_id) + for employee_id in data['employee_ids'])) + self.env.cr.execute(query) + docs = self.env.cr.dictfetchall() + output = io.BytesIO() + workbook = xlsxwriter.Workbook(output, {'in_memory': True}) + sheet = workbook.add_worksheet('docs') + start_date = datetime.strptime(data['from_date'], '%Y-%m-%d').date() + end_date = datetime.strptime(data['to_date'], '%Y-%m-%d').date() + date_range = rrule(DAILY, dtstart=start_date, until=end_date) + sheet.set_column(1, 1, 15) + sheet.set_column(2, 2, 15) + border = workbook.add_format({'border': 1}) + green = workbook.add_format({'bg_color': '#28A828', 'border': 1}) + red = workbook.add_format({'bg_color': '#ff3333', 'border': 1}) + rose = workbook.add_format({'bg_color': '#DA70D6', 'border': 1}) + head = workbook.add_format( + {'bold': True, 'font_size': 30, 'align': 'center'}) + date_size = workbook.add_format( + {'font_size': 12, 'bold': True, 'align': 'center'}) + sheet.merge_range('C3:K6', 'Attendance Report', head) + sheet.merge_range('B8:C9', 'From Date: ' + data['from_date'], date_size) + sheet.merge_range('B10:C11', 'To Date: ' + data['to_date'], date_size) + sheet.write(2, 12, '', green) + sheet.write(2, 13, 'Present') + sheet.write(4, 12, '', red) + sheet.write(4, 13, 'Absent') + sheet.write(6, 12, '', rose) + sheet.write(6, 13, 'Half Day') + sheet.merge_range('B16:B17', 'Sl.No', border) + sheet.merge_range('C16:C17', 'Employee', border) + row = 15 + col = 2 + for date_data in date_range: + col += 1 + sheet.write(row, col, date_data.strftime('%Y-%m-%d'), border) + row = 16 + col = 2 + for date_data in date_range: + col += 1 + sheet.write(row, col, date_data.strftime('%a'), border) + employee_names = [] + attendance_list = [] + for doc in docs: + if doc['name'] not in employee_names: + date_sum_list = [] + employee_names.append(doc['name']) + for date_data in date_range: + date_out = date_data.strftime('%Y-%m-%d') + record_list = list( + filter( + lambda x: x['name'] == doc['name'] and x[ + 'date'].strftime( + '%Y-%m-%d') == date_out, docs)) + if record_list: + date_sum_list.append(record_list[0]) + else: + date_sum_list.append({ + 'name': '', + 'date': '', + 'sum': 0 + }) + attendance_list.append( + {'name': doc['name'], 'items': date_sum_list}) + work = self.env.ref('resource.resource_calendar_std') + row = 17 + i = 0 + for rec in attendance_list: + row += 1 + col = 1 + i += 1 + sheet.write(row, col, i, border) + col += 1 + sheet.write(row, col, rec['name'], border) + for item in rec['items']: + col += 1 + if item['sum'] >= work.hours_per_day: + sheet.write(row, col, item['sum'], green) + elif 1 <= item['sum'] <= 4 or 4 <= item['sum'] <= \ + work.hours_per_day: + sheet.write(row, col, item['sum'], rose) + else: + sheet.write(row, col, item['sum'], red) + workbook.close() + output.seek(0) + response.stream.write(output.read()) + output.close() diff --git a/hr_attendance_xlsx_report/wizards/employee_attendance_report_views.xml b/hr_attendance_xlsx_report/wizards/employee_attendance_report_views.xml new file mode 100644 index 000000000..bd20a4943 --- /dev/null +++ b/hr_attendance_xlsx_report/wizards/employee_attendance_report_views.xml @@ -0,0 +1,46 @@ + + + + + employee.attendance.report.view.form + employee.attendance.report + +
+ + + + + + + + + +
+
+
+
+
+ + + Attendance Report + ir.actions.act_window + employee.attendance.report + form + + new + + + + + +
\ No newline at end of file