diff --git a/employee_less_working_hour_notification/README.rst b/employee_less_working_hour_notification/README.rst new file mode 100755 index 000000000..d8df8574d --- /dev/null +++ b/employee_less_working_hour_notification/README.rst @@ -0,0 +1,52 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Employee Less Working Hour Notification +======================================= +Employee Less Working Hour Notification Mail App helps to generate Email to HR +which contains the list of employees who worked less than the time set in +Configuration Settings. + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (AGPL-3). +(http://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +- Developer: + (V16) Unnimaya C O , + (V17) Anjhana A K, + 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/employee_less_working_hour_notification/__init__.py b/employee_less_working_hour_notification/__init__.py new file mode 100644 index 000000000..de0662193 --- /dev/null +++ b/employee_less_working_hour_notification/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Anjhana A K (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 models diff --git a/employee_less_working_hour_notification/__manifest__.py b/employee_less_working_hour_notification/__manifest__.py new file mode 100644 index 000000000..3d9a9569f --- /dev/null +++ b/employee_less_working_hour_notification/__manifest__.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Anjhana A K (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 Less Working Hour Notification", + 'version': '17.0.1.0.0', + 'category': 'Human Resources', + 'summary': ' Send Less Hours Worked Employees Details to HR', + 'description': 'Employee Less Working Hour Notification Mail App helps to ' + 'generate Email to HR which contains the list of employees' + ' who worked less than the time set in Configuration ' + 'Settings.', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['hr', 'hr_attendance'], + 'data': [ + 'data/ir_cron_data.xml', + 'data/mail_template_data.xml', + 'views/res_config_settings_views.xml', + ], + 'assets': { + 'web.assets_backend': [ + '/employee_less_working_hour_notification/static/src/css/style.css', + ], + }, + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/employee_less_working_hour_notification/data/ir_cron_data.xml b/employee_less_working_hour_notification/data/ir_cron_data.xml new file mode 100644 index 000000000..6ea54347d --- /dev/null +++ b/employee_less_working_hour_notification/data/ir_cron_data.xml @@ -0,0 +1,15 @@ + + + + + + Employees: Less Working Hour Notification + + code + model.action_generate_list() + 1 + days + -1 + + + diff --git a/employee_less_working_hour_notification/data/mail_template_data.xml b/employee_less_working_hour_notification/data/mail_template_data.xml new file mode 100644 index 000000000..a8b9bfe34 --- /dev/null +++ b/employee_less_working_hour_notification/data/mail_template_data.xml @@ -0,0 +1,116 @@ + + + + + + Employees Having Less Working Hours + + Employees Having Less Working Hours + +
+
+
+
+
+

+ +

+

+ +
+ +

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

List of Employees worked less + than + + hours on + +

+
+
NameDepartmentWorked Hours
+ +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + +
+
+

+ List of employees who doesn't + checkout on + +

+
+
NameDepartment
+ + + +
+
+
+
+
+
+
diff --git a/employee_less_working_hour_notification/doc/RELEASE_NOTES.md b/employee_less_working_hour_notification/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..429c48c31 --- /dev/null +++ b/employee_less_working_hour_notification/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 16.01.2024 +#### Version 17.0.1.0.0 +#### ADD + +- Initial commit for Employee Less Working Hour Notification diff --git a/employee_less_working_hour_notification/models/__init__.py b/employee_less_working_hour_notification/models/__init__.py new file mode 100644 index 000000000..7d305816f --- /dev/null +++ b/employee_less_working_hour_notification/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Anjhana A K (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 res_config_settings +from . import hr_employee diff --git a/employee_less_working_hour_notification/models/hr_employee.py b/employee_less_working_hour_notification/models/hr_employee.py new file mode 100644 index 000000000..ac8ab1931 --- /dev/null +++ b/employee_less_working_hour_notification/models/hr_employee.py @@ -0,0 +1,72 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Anjhana A K (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 datetime import timedelta +from odoo import fields, models + + +class HrEmployee(models.Model): + """"Inherited model containing methods for generating list of less worked + employees""" + _inherit = 'hr.employee' + + def action_generate_list(self): + """Method for generating list of less worked employees""" + minimum_working_hour = self.env['ir.config_parameter'].sudo().get_param( + 'employee_less_working_hour_notification.minimum_working_hour') + attendance = (self.env['hr.attendance'].search( + [('worked_hours', '<', minimum_working_hour)]).filtered( + lambda r: str(r.check_in)[:-9] == str( + fields.date.today() - timedelta(1)))) + if attendance: + less_worked_employee_list = [] + non_checkout_employee_list = [] + for rec in attendance: + employee_detail = { + 'name': rec.employee_id.name, + 'department': rec.employee_id.department_id.name, + 'worked_hours': round(rec.worked_hours, 2), + } + if rec.worked_hours == 0: + non_checkout_employee_list.append(employee_detail) + else: + less_worked_employee_list.append(employee_detail) + company_detail = { + 'company': self.env.company.name, + 'email': self.env.company.email, + 'phone': self.env.company.phone, + 'date': fields.date.today() - timedelta(1), + 'minimum_working_hour': minimum_working_hour + } + mail_template = self.env.ref( + 'employee_less_working_hour_notification.' + 'mail_template_less_worked_employees').with_context( + less_worked_employee_list=less_worked_employee_list, + non_checkout_employee_list=non_checkout_employee_list, + company_detail=company_detail + ) + email_values = { + 'email_from': self.env.company.email, + 'email_to': self.env['ir.config_parameter'].sudo().get_param( + 'employee_less_working_hour_notification.hr_email'), + } + mail_template.send_mail(self.id, force_send=True, + email_values=email_values) diff --git a/employee_less_working_hour_notification/models/res_config_settings.py b/employee_less_working_hour_notification/models/res_config_settings.py new file mode 100644 index 000000000..a58de02fe --- /dev/null +++ b/employee_less_working_hour_notification/models/res_config_settings.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Anjhana A K (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 odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + """"Inherited model for adding extra fields""" + _inherit = 'res.config.settings' + + minimum_working_hour = fields.Float(string='Minimum Working Hours', + help=" Set minimum working hours/day" + " to notify in Email", + config_parameter= + "employee_less_working_" + "hour_notification." + "minimum_working_hour", + default=0.00) + hr_email = fields.Char(string='HR Email', default="hr@gmail.com", + help=" Set HR Manager's Email address to Send the" + " Less Hour Worked Employees list to", + config_parameter="employee_less_working_hour_" + "notification.hr_email") diff --git a/employee_less_working_hour_notification/static/description/assets/icons/check.png b/employee_less_working_hour_notification/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/check.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/chevron.png b/employee_less_working_hour_notification/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/chevron.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/cogs.png b/employee_less_working_hour_notification/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/cogs.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/consultation.png b/employee_less_working_hour_notification/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/consultation.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/ecom-black.png b/employee_less_working_hour_notification/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/ecom-black.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/education-black.png b/employee_less_working_hour_notification/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/education-black.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/hotel-black.png b/employee_less_working_hour_notification/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/hotel-black.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/license.png b/employee_less_working_hour_notification/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/license.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/lifebuoy.png b/employee_less_working_hour_notification/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/lifebuoy.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/manufacturing-black.png b/employee_less_working_hour_notification/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/manufacturing-black.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/pos-black.png b/employee_less_working_hour_notification/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/pos-black.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/puzzle.png b/employee_less_working_hour_notification/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/puzzle.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/restaurant-black.png b/employee_less_working_hour_notification/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/restaurant-black.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/service-black.png b/employee_less_working_hour_notification/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/service-black.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/trading-black.png b/employee_less_working_hour_notification/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/trading-black.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/training.png b/employee_less_working_hour_notification/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/training.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/update.png b/employee_less_working_hour_notification/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/update.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/user.png b/employee_less_working_hour_notification/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/user.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/icons/wrench.png b/employee_less_working_hour_notification/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/icons/wrench.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/Cybrosys R.png b/employee_less_working_hour_notification/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/misc/Cybrosys R.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/categories.png b/employee_less_working_hour_notification/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/misc/categories.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/check-box.png b/employee_less_working_hour_notification/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/misc/check-box.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/compass.png b/employee_less_working_hour_notification/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/misc/compass.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/corporate.png b/employee_less_working_hour_notification/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/misc/corporate.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/customer-support.png b/employee_less_working_hour_notification/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/misc/customer-support.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/cybrosys-logo.png b/employee_less_working_hour_notification/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/misc/cybrosys-logo.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/email.svg b/employee_less_working_hour_notification/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/employee_less_working_hour_notification/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/employee_less_working_hour_notification/static/description/assets/misc/features.png b/employee_less_working_hour_notification/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/misc/features.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/logo.png b/employee_less_working_hour_notification/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/misc/logo.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/phone.svg b/employee_less_working_hour_notification/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/employee_less_working_hour_notification/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/employee_less_working_hour_notification/static/description/assets/misc/pictures.png b/employee_less_working_hour_notification/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/misc/pictures.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/pie-chart.png b/employee_less_working_hour_notification/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/misc/pie-chart.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/right-arrow.png b/employee_less_working_hour_notification/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/misc/right-arrow.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/star (1) 2.svg b/employee_less_working_hour_notification/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/employee_less_working_hour_notification/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/employee_less_working_hour_notification/static/description/assets/misc/star.png b/employee_less_working_hour_notification/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/misc/star.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/support (1) 1.svg b/employee_less_working_hour_notification/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/employee_less_working_hour_notification/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/employee_less_working_hour_notification/static/description/assets/misc/support-email.svg b/employee_less_working_hour_notification/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/employee_less_working_hour_notification/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/employee_less_working_hour_notification/static/description/assets/misc/support.png b/employee_less_working_hour_notification/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/misc/support.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/tick-mark.svg b/employee_less_working_hour_notification/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/employee_less_working_hour_notification/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/employee_less_working_hour_notification/static/description/assets/misc/whatsapp 1.svg b/employee_less_working_hour_notification/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/employee_less_working_hour_notification/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/employee_less_working_hour_notification/static/description/assets/misc/whatsapp.png b/employee_less_working_hour_notification/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/misc/whatsapp.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/misc/whatsapp.svg b/employee_less_working_hour_notification/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/employee_less_working_hour_notification/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/employee_less_working_hour_notification/static/description/assets/modules/m1.png b/employee_less_working_hour_notification/static/description/assets/modules/m1.png new file mode 100644 index 000000000..acb4c76c6 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/modules/m1.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/modules/m2.png b/employee_less_working_hour_notification/static/description/assets/modules/m2.png new file mode 100644 index 000000000..3ef91f771 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/modules/m2.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/modules/m3.png b/employee_less_working_hour_notification/static/description/assets/modules/m3.png new file mode 100644 index 000000000..72febf6ae Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/modules/m3.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/modules/m4.png b/employee_less_working_hour_notification/static/description/assets/modules/m4.png new file mode 100644 index 000000000..f7d7f9241 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/modules/m4.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/modules/m5.png b/employee_less_working_hour_notification/static/description/assets/modules/m5.png new file mode 100644 index 000000000..1d3324e88 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/modules/m5.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/modules/m6.png b/employee_less_working_hour_notification/static/description/assets/modules/m6.png new file mode 100644 index 000000000..80938c15a Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/modules/m6.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/screenshots/Screenshot1.png b/employee_less_working_hour_notification/static/description/assets/screenshots/Screenshot1.png new file mode 100644 index 000000000..de627cee7 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/screenshots/Screenshot1.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/screenshots/Screenshot2.png b/employee_less_working_hour_notification/static/description/assets/screenshots/Screenshot2.png new file mode 100644 index 000000000..8526a1857 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/screenshots/Screenshot2.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/screenshots/Screenshot3.png b/employee_less_working_hour_notification/static/description/assets/screenshots/Screenshot3.png new file mode 100644 index 000000000..f4c065730 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/screenshots/Screenshot3.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/screenshots/Screenshot4.png b/employee_less_working_hour_notification/static/description/assets/screenshots/Screenshot4.png new file mode 100644 index 000000000..751b294c1 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/screenshots/Screenshot4.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/screenshots/Screenshot5.png b/employee_less_working_hour_notification/static/description/assets/screenshots/Screenshot5.png new file mode 100644 index 000000000..3e1f0d02c Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/screenshots/Screenshot5.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/screenshots/hero.gif b/employee_less_working_hour_notification/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..dbe2f5926 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/screenshots/hero.gif differ diff --git a/employee_less_working_hour_notification/static/description/banner.jpg b/employee_less_working_hour_notification/static/description/banner.jpg new file mode 100644 index 000000000..f8961f220 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/banner.jpg differ diff --git a/employee_less_working_hour_notification/static/description/icon.png b/employee_less_working_hour_notification/static/description/icon.png new file mode 100644 index 000000000..4c7bef2ed Binary files /dev/null and b/employee_less_working_hour_notification/static/description/icon.png differ diff --git a/employee_less_working_hour_notification/static/description/index.html b/employee_less_working_hour_notification/static/description/index.html new file mode 100644 index 000000000..f6a74a368 --- /dev/null +++ b/employee_less_working_hour_notification/static/description/index.html @@ -0,0 +1,708 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Employee Less Working Hour Notification

+

+ Send Less Hours Worked Employees Details to HR +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Send Less Hours Worked Employees Details to + HR

+

Employee Less + Working Hour Notification Mail App helps to + generate Email + to HR which contains the list of employees who + worked less than the time set in Configuration + Settings. +

+
+
+
+
+
+
+ +
+
+

+ Set Minimum working Hours

+

Minimum + working hours can be set for all employees + from settings +

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

+ Set Minimum working Hours and HR Email + address in Configuration + Settings

+
+
+
+
+
+
+ +
+
+

+ Based on the attendance, a scheduled action + runs daily and if the attendance is below + given limit

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

+ Email

+

+ The email body contains the list of less + worked employees and + the list of employees who forgot to punch + out. +

+
+
+
+ +
+ +
+
+
    +
  • + Possible to set + the HR Email and Minimum Working + Hours in Configuration Settings. +
  • +
  • + List of + Employees who worked Less than the time + set in Configuration Settings on the Previous + day will be sent + to HR Via Email. +
  • +
  • + List of Employee + who forgot to Punch out + will be included in the Email. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:03rd December 2023 +
+

+ + Initial Commit for Employee Less Working Hour + Notification.

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Licensing Consultancy

+
+
+
+
+
+
+

+ Our Industries

+ +
+
+
+
+
+
+ +

Trading

+

Easily procure and sell your products

+
+
+
+
+ +

POS

+

Easy configuration and convivial experience

+
+
+
+
+ +

+ Education

+

A platform for educational management

+
+
+
+
+ +

+ Manufacturing

+

Plan, track and schedule your operations

+
+
+
+
+ +

E-commerce & + Website

+

Mobile friendly, awe-inspiring product pages

+
+
+
+
+ +

Service + Management

+

Keep track of services and invoice

+
+
+
+
+ +

+ Restaurant

+

Run your bar or restaurant methodically

+
+
+
+
+ +

Hotel + Management

+

An all-inclusive hotel management application

+
+
+
+
+
+
+

+ Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got + questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to + us on WhatsApp!

+
+91 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/employee_less_working_hour_notification/static/src/css/style.css b/employee_less_working_hour_notification/static/src/css/style.css new file mode 100644 index 000000000..606cd8ca1 --- /dev/null +++ b/employee_less_working_hour_notification/static/src/css/style.css @@ -0,0 +1,24 @@ +table { + border-collapse: collapse; + font-family: Tahoma, Geneva, sans-serif; +} +table td { + padding: 15px; +} +table thead td { + background-color: #54585d; + color: #ffffff; + font-weight: bold; + font-size: 13px; + border: 1px solid #54585d; +} +table tbody td { + color: #636363; + border: 1px solid #dddfe1; +} +table tbody tr { + background-color: #f9fafb; +} +table tbody tr:nth-child(odd) { + background-color: #ffffff; +} diff --git a/employee_less_working_hour_notification/views/res_config_settings_views.xml b/employee_less_working_hour_notification/views/res_config_settings_views.xml new file mode 100644 index 000000000..9d83dee3d --- /dev/null +++ b/employee_less_working_hour_notification/views/res_config_settings_views.xml @@ -0,0 +1,57 @@ + + + + + + res.config.settings.view.form.inherit.employee.less.working.hour. + notification + res.config.settings + + + + +

Working Hours

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