diff --git a/employee_less_working_hour_notification/README.rst b/employee_less_working_hour_notification/README.rst new file mode 100755 index 000000000..ca390ae01 --- /dev/null +++ b/employee_less_working_hour_notification/README.rst @@ -0,0 +1,48 @@ +.. 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 + +Notification of Employee Short Time Work +======================================== +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 v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developer: (V15) Fathima Mazlin AM ,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..de011919b --- /dev/null +++ b/employee_less_working_hour_notification/__init__.py @@ -0,0 +1,21 @@ +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Fathima Mazlin AM (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..98ac28889 --- /dev/null +++ b/employee_less_working_hour_notification/__manifest__.py @@ -0,0 +1,49 @@ +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Fathima Mazlin AM(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': "Notification of Employee Short Time Work", + 'version': '15.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': ['base', 'hr', 'hr_attendance'], + 'data': ['data/ir_cron_data.xml', + 'data/mail_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..c1d83c346 --- /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_data.xml b/employee_less_working_hour_notification/data/mail_data.xml new file mode 100644 index 000000000..4d7714dd3 --- /dev/null +++ b/employee_less_working_hour_notification/data/mail_data.xml @@ -0,0 +1,121 @@ + + + + + + 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 + check out 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..0c4e6dc80 --- /dev/null +++ b/employee_less_working_hour_notification/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 22.12.2023 +#### Version 15.0.1.0.0 +#### ADD + +- Initial commit for Notification of Employee Short Time Work 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..f93f82a4e --- /dev/null +++ b/employee_less_working_hour_notification/models/__init__.py @@ -0,0 +1,22 @@ +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Fathima Mazlin AM(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_employee +from . import res_config_settings 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..9e503a6e4 --- /dev/null +++ b/employee_less_working_hour_notification/models/hr_employee.py @@ -0,0 +1,71 @@ +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Fathima Mazlin AM(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..fcffb4c70 --- /dev/null +++ b/employee_less_working_hour_notification/models/res_config_settings.py @@ -0,0 +1,40 @@ +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Fathima Mazlin AM (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/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/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/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.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.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/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/modules/employee_check_list.png b/employee_less_working_hour_notification/static/description/assets/modules/employee_check_list.png new file mode 100644 index 000000000..0bad2f051 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/modules/employee_check_list.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/modules/employee_documents_expiry.png b/employee_less_working_hour_notification/static/description/assets/modules/employee_documents_expiry.png new file mode 100644 index 000000000..30ad58232 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/modules/employee_documents_expiry.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/modules/employee_orientation.png b/employee_less_working_hour_notification/static/description/assets/modules/employee_orientation.png new file mode 100644 index 000000000..a616e4c5c Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/modules/employee_orientation.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/modules/employee_stages.png b/employee_less_working_hour_notification/static/description/assets/modules/employee_stages.png new file mode 100644 index 000000000..7f48b87ac Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/modules/employee_stages.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/modules/employee_vehicle_request.png b/employee_less_working_hour_notification/static/description/assets/modules/employee_vehicle_request.png new file mode 100644 index 000000000..5a9eead0a Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/modules/employee_vehicle_request.png differ diff --git a/employee_less_working_hour_notification/static/description/assets/modules/hr_contract_types.png b/employee_less_working_hour_notification/static/description/assets/modules/hr_contract_types.png new file mode 100644 index 000000000..c94a11183 Binary files /dev/null and b/employee_less_working_hour_notification/static/description/assets/modules/hr_contract_types.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..b885e94c0 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..1d740e079 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..750a545a0 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..85163c7ad 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..3e524de3f 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..8b9379c1d 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..d3863ec43 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..211a6a57b 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..22d8033d6 --- /dev/null +++ b/employee_less_working_hour_notification/static/description/index.html @@ -0,0 +1,653 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Notification of Employee Short Time Work

+

Send Lesser Hours Worked Employees Details to HR

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

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ 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. +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ + 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. +
+
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+ +
+

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

+ + +
+
+

+ Create Attendance

+ +
+
+

+ Scheduled Action

+

+ The scheduled action created which will run every day. +

+ + +
+
+ +
+
+

+ Email

+

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

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

+ Related + Products +

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

+ Our Services +

+
+ +
+
+
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ 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 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file 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..aecfdf07f --- /dev/null +++ b/employee_less_working_hour_notification/static/src/css/style.css @@ -0,0 +1,17 @@ +.table_notification { + border-collapse: collapse; + font-family: Tahoma, Geneva, sans-serif; +} +.td_notification { + padding: 15px; +} +.td_notification { + color: #636363; + border: 1px solid #dddfe1; +} +.tr_notification { + background-color: #f9fafb; +} +.tr_notification: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..314ae3661 --- /dev/null +++ b/employee_less_working_hour_notification/views/res_config_settings_views.xml @@ -0,0 +1,56 @@ + + + + + + res.config.settings.view.form.inherit.employee.less.working.hour.notification + res.config.settings + + + + +

Working Hours

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