diff --git a/employee_late_check_in/README.rst b/employee_late_check_in/README.rst new file mode 100755 index 000000000..ec505a83e --- /dev/null +++ b/employee_late_check_in/README.rst @@ -0,0 +1,48 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Employee Late Check-in +====================== +Employee Late Check-in module for tracking and managing late check-ins of employees and may deduct salary from payslip + +Configuration +============= +- No additional configuration required. + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +* Lesser General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +------- +Developer: (V17) Mohamed Muzammil VP, + (V18) Gayathri V +Contact : odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/employee_late_check_in/__init__.py b/employee_late_check_in/__init__.py new file mode 100755 index 000000000..c5e8c98b6 --- /dev/null +++ b/employee_late_check_in/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################. +from . import models diff --git a/employee_late_check_in/__manifest__.py b/employee_late_check_in/__manifest__.py new file mode 100755 index 000000000..d82c39fac --- /dev/null +++ b/employee_late_check_in/__manifest__.py @@ -0,0 +1,57 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################. +{ + 'name': 'Employee Late Check-in', + 'version': '18.0.1.0.0', + 'category': 'Human Resources', + 'summary': 'Employee Late Check-in module for tracking and managing late ' + 'check-ins of employees and may deduct salary from payslip', + 'description': 'The module is designed for meticulous tracking and ' + 'management of employee punctuality. It enables ' + 'organizations to monitor late check-ins efficiently, ' + 'offering insights into tardiness patterns. With a ' + 'user-friendly interface, it provides a comprehensive ' + 'overview of individual employee records, facilitating ' + 'timely interventions. This module contributes to fostering' + ' a punctual and efficient work environment.', + 'author': "Cybrosys Techno Solutions", + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['hr_attendance', 'hr_payroll_community', 'hr_contract'], + 'data': [ + 'security/ir.model.access.csv', + 'data/ir_cron_data.xml', + 'data/salary_rule.xml', + 'views/res_config_settings_views.xml', + 'views/hr_attendance_views.xml', + 'views/late_check_in_views.xml', + 'views/hr_employee_views.xml', + 'views/hr_payslip_views.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/employee_late_check_in/data/ir_cron_data.xml b/employee_late_check_in/data/ir_cron_data.xml new file mode 100755 index 000000000..9bc27af94 --- /dev/null +++ b/employee_late_check_in/data/ir_cron_data.xml @@ -0,0 +1,15 @@ + + + + + + Attendance: Late Check-in + + code + model.late_check_in_records() + + 1 + days + + + diff --git a/employee_late_check_in/data/salary_rule.xml b/employee_late_check_in/data/salary_rule.xml new file mode 100755 index 000000000..86aabba11 --- /dev/null +++ b/employee_late_check_in/data/salary_rule.xml @@ -0,0 +1,28 @@ + + + + + Late Check-in + + LC + + code + +amount = 0 +try: + if inputs.LC: + amount = inputs.LC.amount +except: + amount = 0 +result = -amount + + + + LCS + Base Salary Structure For Late Check-in + + + + diff --git a/employee_late_check_in/doc/RELEASE_NOTES.md b/employee_late_check_in/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..744d1f0df --- /dev/null +++ b/employee_late_check_in/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 12.02.2025 +#### Version 18.0.1.0.0 +#### ADD + +- Initial Commit for Employee Late Check-in diff --git a/employee_late_check_in/models/__init__.py b/employee_late_check_in/models/__init__.py new file mode 100755 index 000000000..c08c669fc --- /dev/null +++ b/employee_late_check_in/models/__init__.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################. +from . import hr_attendance +from . import hr_employee +from . import hr_employees_public +from . import hr_payslip +from . import late_check_in +from . import res_company +from . import res_config_settings diff --git a/employee_late_check_in/models/hr_attendance.py b/employee_late_check_in/models/hr_attendance.py new file mode 100755 index 000000000..e398f4075 --- /dev/null +++ b/employee_late_check_in/models/hr_attendance.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################. +import pytz +from datetime import datetime, timedelta +from odoo import fields, models, api + + +class HrAttendance(models.Model): + """Inherit the module to add fields and methods""" + _inherit = 'hr.attendance' + + late_check_in = fields.Integer( + string="Late Check-in(Minutes)", compute="_compute_late_check_in", + help="This indicates the duration of the employee's tardiness.", + store=True) + + @api.depends('check_in') + def _compute_late_check_in(self): + """Calculate late check-in minutes for each record in the current Odoo + model.This method iterates through the records and calculates late + check-in minutes based on the employee's contract schedule.The + calculation takes into account the employee's time zone, scheduled + check-in time, and the actual check-in time.""" + for rec in self: + rec.late_check_in = 0.0 + if rec.employee_id.contract_id: + for schedule in rec.sudo().employee_id.contract_id.resource_calendar_id.sudo().attendance_ids: + if (schedule.dayofweek == str( + rec.sudo().check_in.weekday()) and + schedule.day_period == 'morning'): + dt = rec.check_in + if self.env.user.tz in pytz.all_timezones: + old_tz = pytz.timezone('UTC') + new_tz = pytz.timezone(self.env.user.tz) + dt = old_tz.localize(dt).astimezone(new_tz) + str_time = dt.strftime("%H:%M") + check_in_date = datetime.strptime( + str_time, "%H:%M").time() + start_date = datetime.strptime( + '{0:02.0f}:{1:02.0f}'.format(*divmod( + schedule.hour_from * 60, 60)), "%H:%M").time() + check_in = timedelta(hours=check_in_date.hour, + minutes=check_in_date.minute) + start_date = timedelta(hours=start_date.hour, + minutes=start_date.minute) + if check_in > start_date: + final = check_in - start_date + rec.sudo().late_check_in = final.total_seconds() / 60 + + def late_check_in_records(self): + """Function creates records in late.check.in model for the employees + who were late""" + minutes_after = int(self.env['ir.config_parameter'].sudo().get_param( + 'late_check_in_after')) or 0 + max_limit = int(self.env['ir.config_parameter'].sudo().get_param( + 'maximum_minutes')) or 0 + for rec in self.sudo().search([]): + if rec.id not in self.env['late.check.in'].sudo().search( + []).attendance_id.ids: + if rec.late_check_in > minutes_after and minutes_after < rec.late_check_in < max_limit: + self.env['late.check.in'].sudo().create({ + 'employee_id': rec.employee_id.id, + 'late_minutes': rec.late_check_in, + 'date': rec.check_in.date(), + 'attendance_id': rec.id, + }) + else: + self.env['late.check.in'].sudo().search( + [('attendance_id', '=', rec.id)]).update({ + 'late_minutes': rec.late_check_in, + 'date': rec.check_in.date(), + 'attendance_id': rec.id, + }) + + def unlink(self): + """Override the unlink method to delete the corresponding records in + late.check.in model""" + for record in self: + self.env['late.check.in'].sudo().search( + [('attendance_id', '=', record.id)]).unlink() + return super(HrAttendance, self).unlink() diff --git a/employee_late_check_in/models/hr_employee.py b/employee_late_check_in/models/hr_employee.py new file mode 100755 index 000000000..3bed4ecbe --- /dev/null +++ b/employee_late_check_in/models/hr_employee.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################. +from odoo import fields, models, _ + + +class HrEmployee(models.Model): + """Inherit the model to add fields and methods""" + _inherit = 'hr.employee' + + late_check_in_count = fields.Integer( + string="Late Check-In", compute="_compute_late_check_in_count", + help="Count of employee's late checkin") + + def action_to_open_late_check_in_records(self): + """ + :return: dictionary defining the action to open the late check-in + records window. + :rtype: dict + """ + return { + 'name': _('Employee Late Check-in'), + 'domain': [('employee_id', '=', self.id)], + 'res_model': 'late.check.in', + 'type': 'ir.actions.act_window', + 'view_mode': 'list,form', + 'limit': 80} + + def _compute_late_check_in_count(self): + """Compute the late check-in count""" + for rec in self: + rec.late_check_in_count = self.env['late.check.in'].search_count( + [('employee_id', '=', rec.id)]) diff --git a/employee_late_check_in/models/hr_employees_public.py b/employee_late_check_in/models/hr_employees_public.py new file mode 100755 index 000000000..2ebccc1d1 --- /dev/null +++ b/employee_late_check_in/models/hr_employees_public.py @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################. +from odoo import fields, models, _ + + +class HrEmployees(models.Model): + """Inherit the model to add fields and functions""" + _inherit = 'hr.employee.public' + + late_check_in_count = fields.Integer( + string="Late Check-In", compute="_compute_late_check_in_count", + help="Count of employee's late checkin") + + def action_to_open_late_check_in_records(self): + """ + :return: dictionary defining the action to open the late check-in + records window. + :rtype: dict + """ + return { + 'name': _('Employee Late Check-in'), + 'domain': [('employee_id', '=', self.id)], + 'res_model': 'late.check.in', + 'type': 'ir.actions.act_window', + 'view_mode': 'list,form', + 'limit': 80, + } + + def _compute_late_check_in_count(self): + """Compute the late check-in count""" + for rec in self: + rec.late_check_in_count = self.env['late.check.in'].search_count( + [('employee_id', '=', rec.id)]) diff --git a/employee_late_check_in/models/hr_payslip.py b/employee_late_check_in/models/hr_payslip.py new file mode 100755 index 000000000..e1e0d8546 --- /dev/null +++ b/employee_late_check_in/models/hr_payslip.py @@ -0,0 +1,60 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################. +from odoo import api, fields, models + + +class PayslipLateCheckIn(models.Model): + """Inherit the model to add fields and functions""" + _inherit = 'hr.payslip' + + late_check_in_ids = fields.Many2many( + 'late.check.in', string='Late Check-in', + help='Late check-in records of the employee') + + @api.model + def get_inputs(self, contracts, date_from, date_to): + """Function used for writing late check-in record in the payslip input + list.""" + res = super().get_inputs(contracts, date_to, + date_from) + late_check_in_type = self.env.ref( + 'employee_late_check_in.late_check_in') + late_check_in_id = self.env['late.check.in'].search( + [('employee_id', '=', self.employee_id.id), + ('date', '<=', self.date_to), ('date', '>=', self.date_from), + ('state', '=', 'approved')]) + if late_check_in_id: + self.late_check_in_ids = late_check_in_id + input_data = { + 'name': late_check_in_type.name, + 'code': late_check_in_type.code, + 'amount': sum(late_check_in_id.mapped('penalty_amount')), + 'contract_id': self.contract_id.id, + } + res.append(input_data) + return res + + def action_payslip_done(self): + """Function used for marking deducted Late check-in request.""" + for rec in self.late_check_in_ids: + rec.state = 'deducted' + return super().action_payslip_done() diff --git a/employee_late_check_in/models/late_check_in.py b/employee_late_check_in/models/late_check_in.py new file mode 100755 index 000000000..77ffc2c22 --- /dev/null +++ b/employee_late_check_in/models/late_check_in.py @@ -0,0 +1,73 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################. +from odoo import api, fields, models + + +class LateCheckIn(models.Model): + """Model to store late check-in records""" + _name = 'late.check.in' + _description = 'Late Check In' + + name = fields.Char( + readonly=True, string='Name', help="Reference number of the record") + employee_id = fields.Many2one('hr.employee', string="Employee", + help='Late employee') + late_minutes = fields.Integer(string="Late Minutes", + help='The field indicates the number of ' + 'minutes the worker is late.') + date = fields.Date(string="Date", help='Current date') + penalty_amount = fields.Float(compute="_compute_penalty_amount", + help='Amount needs to be deducted', + string="Amount",) + state = fields.Selection(selection=[('draft', 'Draft'), + ('approved', 'Approved'), + ('refused', 'Refused'), + ('deducted', 'Deducted')], + string="State", default="draft", + help='State of the record') + attendance_id = fields.Many2one('hr.attendance', string='Attendance', + help='Attendence of the employee') + + @api.model + def create(self, vals_list): + """Create a sequence for the model""" + vals_list['name'] = self.env['ir.sequence'].next_by_code( + 'late.check.in') or '/' + return super().create(vals_list) + + def _compute_penalty_amount(self): + """Compute the penalty amount if the employee was late""" + for rec in self: + amount = float(self.env['ir.config_parameter'].sudo().get_param( + 'deduction_amount')) + rec.penalty_amount = amount + if self.env['ir.config_parameter'].sudo().get_param( + 'deduction_type') == 'minutes': + rec.penalty_amount = amount * rec.late_minutes + + def approve(self): + """Change state to approved when approve button clicks""" + self.state = 'approved' + + def reject(self): + """Change state refused when refuse button clicks""" + self.state = 'refused' diff --git a/employee_late_check_in/models/res_company.py b/employee_late_check_in/models/res_company.py new file mode 100755 index 000000000..6632a3982 --- /dev/null +++ b/employee_late_check_in/models/res_company.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################. +from odoo import fields, models + + +class ResCompany(models.Model): + """Inherit the model to add fields""" + _inherit = 'res.company' + + deduction_amount = fields.Float( + help='How much amount need to be deducted if a employee was late', + string="Deduction Amount",) + currency_id = fields.Many2one( + 'res.currency', default=lambda self: self.env.company.currency_id.id) + maximum_minutes = fields.Char( + help="Maximum time limit a employee was considered as late", + string="Maximum Late Minute") + late_check_in_after = fields.Char( + help='When should the late check-in count down starts.', + string="Late Check-in Starts After",) + deduction_type = fields.Selection( + selection=[('minutes', 'Per Minutes'), ('total', 'Per Total')], + default="minutes", string='Deduction Type', + help='Type of deduction, (If Per Minutes is chosen then for each ' + 'minutes given amount is deducted, if Per Total is chosen then ' + 'given amount is deducted from the total salary)') diff --git a/employee_late_check_in/models/res_config_settings.py b/employee_late_check_in/models/res_config_settings.py new file mode 100755 index 000000000..8ddf11c35 --- /dev/null +++ b/employee_late_check_in/models/res_config_settings.py @@ -0,0 +1,65 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Gayathri V (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################. +from odoo import fields, models + + +class LateCheckinSettings(models.TransientModel): + """Inherit the model to add fields""" + _inherit = 'res.config.settings' + + deduction_amount = fields.Float( + config_parameter='employee_late_check_in.deduction_amount', + help='How much amount need to be deducted if a employee was late', + string="Deduction Amount",) + maximum_minutes = fields.Char( + config_parameter='employee_late_check_in.maximum_minutes', + help="Maximum time limit a employee was considered as late", + string="Maximum Late Minute",default="240") + late_check_in_after = fields.Char( + config_parameter='employee_late_check_in.late_check_in_after', + help='When should the late check-in count down starts.', + string="Late Check-in Starts After",) + deduction_type = fields.Selection( + selection=[('minutes', 'Per Minutes'), ('total', 'Per Total')], + config_parameter='employee_late_check_in.deduction_type', + default="minutes", string='Deduction Type', + help='Type of deduction, (If Per Minutes is chosen then for each ' + 'minutes given amount is deducted, if Per Total is chosen then ' + 'given amount is deducted from the total salary)') + currency_id = fields.Many2one( + 'res.currency', default=lambda self: self.env.company.currency_id.id) + + def set_values(self): + """Set values, + Returns: + :return: The result of the superclasses' set_values method. + """ + res = super(LateCheckinSettings, self).set_values() + self.env['ir.config_parameter'].sudo().set_param( + 'deduction_amount', self.deduction_amount) + self.env['ir.config_parameter'].sudo().set_param( + 'maximum_minutes', self.maximum_minutes) + self.env['ir.config_parameter'].sudo().set_param( + 'late_check_in_after', self.late_check_in_after) + self.env['ir.config_parameter'].sudo().set_param( + 'deduction_type', self.deduction_type) + return res diff --git a/employee_late_check_in/security/ir.model.access.csv b/employee_late_check_in/security/ir.model.access.csv new file mode 100755 index 000000000..9da47a16d --- /dev/null +++ b/employee_late_check_in/security/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_late_check_in_manager,access.late.check.in.manager,model_late_check_in,hr.group_hr_manager,1,1,0,1 +access_late_check_in_officer,access.late.check.in.officer,model_late_check_in,hr.group_hr_user,1,1,0,0 +access_late_check_in_user,access.late.check.in.user,model_late_check_in,base.group_user,1,0,0,0 diff --git a/employee_late_check_in/static/description/assets/cybro-icon.png b/employee_late_check_in/static/description/assets/cybro-icon.png new file mode 100644 index 000000000..06e73e11d Binary files /dev/null and b/employee_late_check_in/static/description/assets/cybro-icon.png differ diff --git a/employee_late_check_in/static/description/assets/cybro-odoo.png b/employee_late_check_in/static/description/assets/cybro-odoo.png new file mode 100644 index 000000000..ed02e07a4 Binary files /dev/null and b/employee_late_check_in/static/description/assets/cybro-odoo.png differ diff --git a/employee_late_check_in/static/description/assets/h2.png b/employee_late_check_in/static/description/assets/h2.png new file mode 100644 index 000000000..0bfc4707d Binary files /dev/null and b/employee_late_check_in/static/description/assets/h2.png differ diff --git a/employee_late_check_in/static/description/assets/icons/arrows-repeat.svg b/employee_late_check_in/static/description/assets/icons/arrows-repeat.svg new file mode 100644 index 000000000..1d7efabc5 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/banner-1.png b/employee_late_check_in/static/description/assets/icons/banner-1.png new file mode 100644 index 000000000..c180db172 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/banner-1.png differ diff --git a/employee_late_check_in/static/description/assets/icons/banner-2.svg b/employee_late_check_in/static/description/assets/icons/banner-2.svg new file mode 100644 index 000000000..e606d97d9 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/banner-bg.png b/employee_late_check_in/static/description/assets/icons/banner-bg.png new file mode 100644 index 000000000..a8238d3c0 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/banner-bg.png differ diff --git a/employee_late_check_in/static/description/assets/icons/banner-bg.svg b/employee_late_check_in/static/description/assets/icons/banner-bg.svg new file mode 100644 index 000000000..b1378103e --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/banner-call.svg b/employee_late_check_in/static/description/assets/icons/banner-call.svg new file mode 100644 index 000000000..96c687e81 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/banner-mail.svg b/employee_late_check_in/static/description/assets/icons/banner-mail.svg new file mode 100644 index 000000000..cbf0d158d --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/banner-pattern.svg b/employee_late_check_in/static/description/assets/icons/banner-pattern.svg new file mode 100644 index 000000000..9c1c7e101 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/banner-promo.svg b/employee_late_check_in/static/description/assets/icons/banner-promo.svg new file mode 100644 index 000000000..d52791b11 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/brand-pair.svg b/employee_late_check_in/static/description/assets/icons/brand-pair.svg new file mode 100644 index 000000000..d8db7fc1e --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/capture (1).png b/employee_late_check_in/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/capture (1).png differ diff --git a/employee_late_check_in/static/description/assets/icons/check.png b/employee_late_check_in/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/check.png differ diff --git a/employee_late_check_in/static/description/assets/icons/chevron.png b/employee_late_check_in/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/chevron.png differ diff --git a/employee_late_check_in/static/description/assets/icons/close-icon.svg b/employee_late_check_in/static/description/assets/icons/close-icon.svg new file mode 100644 index 000000000..df8cce37a --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/cogs.png b/employee_late_check_in/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/cogs.png differ diff --git a/employee_late_check_in/static/description/assets/icons/collabarate-icon.svg b/employee_late_check_in/static/description/assets/icons/collabarate-icon.svg new file mode 100644 index 000000000..dd4e10518 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/employee_late_check_in/static/description/assets/icons/consultation.png b/employee_late_check_in/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/consultation.png differ diff --git a/employee_late_check_in/static/description/assets/icons/cybro-logo.png b/employee_late_check_in/static/description/assets/icons/cybro-logo.png new file mode 100644 index 000000000..ff4b78220 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/cybro-logo.png differ diff --git a/employee_late_check_in/static/description/assets/icons/down.svg b/employee_late_check_in/static/description/assets/icons/down.svg new file mode 100644 index 000000000..f21c36271 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/employee_late_check_in/static/description/assets/icons/ecom-black.png b/employee_late_check_in/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/ecom-black.png differ diff --git a/employee_late_check_in/static/description/assets/icons/education-black.png b/employee_late_check_in/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/education-black.png differ diff --git a/employee_late_check_in/static/description/assets/icons/faq.png b/employee_late_check_in/static/description/assets/icons/faq.png new file mode 100644 index 000000000..4250b5b81 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/faq.png differ diff --git a/employee_late_check_in/static/description/assets/icons/feature-icon.svg b/employee_late_check_in/static/description/assets/icons/feature-icon.svg new file mode 100644 index 000000000..fa0ea6850 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/feature.png b/employee_late_check_in/static/description/assets/icons/feature.png new file mode 100644 index 000000000..ac7a785c0 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/feature.png differ diff --git a/employee_late_check_in/static/description/assets/icons/gear.svg b/employee_late_check_in/static/description/assets/icons/gear.svg new file mode 100644 index 000000000..0cc66b6ea --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/hero.gif b/employee_late_check_in/static/description/assets/icons/hero.gif new file mode 100644 index 000000000..2eac10e8e Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/hero.gif differ diff --git a/employee_late_check_in/static/description/assets/icons/hire-odoo.svg b/employee_late_check_in/static/description/assets/icons/hire-odoo.svg new file mode 100644 index 000000000..e1ac089b0 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/hotel-black.png b/employee_late_check_in/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/hotel-black.png differ diff --git a/employee_late_check_in/static/description/assets/icons/img.png b/employee_late_check_in/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/img.png differ diff --git a/employee_late_check_in/static/description/assets/icons/license.png b/employee_late_check_in/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/license.png differ diff --git a/employee_late_check_in/static/description/assets/icons/life-ring-icon.svg b/employee_late_check_in/static/description/assets/icons/life-ring-icon.svg new file mode 100644 index 000000000..3ae6e1d89 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/lifebuoy.png b/employee_late_check_in/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/lifebuoy.png differ diff --git a/employee_late_check_in/static/description/assets/icons/mail.svg b/employee_late_check_in/static/description/assets/icons/mail.svg new file mode 100644 index 000000000..1eedde695 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/employee_late_check_in/static/description/assets/icons/manufacturing-black.png b/employee_late_check_in/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/manufacturing-black.png differ diff --git a/employee_late_check_in/static/description/assets/icons/notes.png b/employee_late_check_in/static/description/assets/icons/notes.png new file mode 100644 index 000000000..ee5e95404 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/notes.png differ diff --git a/employee_late_check_in/static/description/assets/icons/notification icon.svg b/employee_late_check_in/static/description/assets/icons/notification icon.svg new file mode 100644 index 000000000..053189973 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/odoo-consultancy.svg b/employee_late_check_in/static/description/assets/icons/odoo-consultancy.svg new file mode 100644 index 000000000..e05f65bde --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/employee_late_check_in/static/description/assets/icons/odoo-licencing.svg b/employee_late_check_in/static/description/assets/icons/odoo-licencing.svg new file mode 100644 index 000000000..2606c88b0 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/employee_late_check_in/static/description/assets/icons/odoo-logo.png b/employee_late_check_in/static/description/assets/icons/odoo-logo.png new file mode 100644 index 000000000..0e4d0eb5a Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/odoo-logo.png differ diff --git a/employee_late_check_in/static/description/assets/icons/patter.svg b/employee_late_check_in/static/description/assets/icons/patter.svg new file mode 100644 index 000000000..25c9c0a8f --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/pattern1.png b/employee_late_check_in/static/description/assets/icons/pattern1.png new file mode 100644 index 000000000..09ab0fb2d Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/pattern1.png differ diff --git a/employee_late_check_in/static/description/assets/icons/photo-capture.png b/employee_late_check_in/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/photo-capture.png differ diff --git a/employee_late_check_in/static/description/assets/icons/pos-black.png b/employee_late_check_in/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/pos-black.png differ diff --git a/employee_late_check_in/static/description/assets/icons/puzzle-piece-icon.svg b/employee_late_check_in/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100644 index 000000000..3e9ad9373 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/puzzle.png b/employee_late_check_in/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/puzzle.png differ diff --git a/employee_late_check_in/static/description/assets/icons/replace-icon.svg b/employee_late_check_in/static/description/assets/icons/replace-icon.svg new file mode 100644 index 000000000..d0e3a7af1 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/restaurant-black.png b/employee_late_check_in/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/restaurant-black.png differ diff --git a/employee_late_check_in/static/description/assets/icons/screenshot-main.png b/employee_late_check_in/static/description/assets/icons/screenshot-main.png new file mode 100644 index 000000000..575f8e676 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/screenshot-main.png differ diff --git a/employee_late_check_in/static/description/assets/icons/screenshot.png b/employee_late_check_in/static/description/assets/icons/screenshot.png new file mode 100644 index 000000000..cef272529 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/screenshot.png differ diff --git a/employee_late_check_in/static/description/assets/icons/service-black.png b/employee_late_check_in/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/service-black.png differ diff --git a/employee_late_check_in/static/description/assets/icons/skype-fill.svg b/employee_late_check_in/static/description/assets/icons/skype-fill.svg new file mode 100644 index 000000000..c17423639 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/skype.png b/employee_late_check_in/static/description/assets/icons/skype.png new file mode 100644 index 000000000..51b409fb3 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/skype.png differ diff --git a/employee_late_check_in/static/description/assets/icons/skype.svg b/employee_late_check_in/static/description/assets/icons/skype.svg new file mode 100644 index 000000000..df3dad39b --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/employee_late_check_in/static/description/assets/icons/star-1.svg b/employee_late_check_in/static/description/assets/icons/star-1.svg new file mode 100644 index 000000000..7e55ab162 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/star-2.svg b/employee_late_check_in/static/description/assets/icons/star-2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/support.png b/employee_late_check_in/static/description/assets/icons/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/support.png differ diff --git a/employee_late_check_in/static/description/assets/icons/test-1 - Copy.png b/employee_late_check_in/static/description/assets/icons/test-1 - Copy.png new file mode 100644 index 000000000..f6a902663 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/test-1 - Copy.png differ diff --git a/employee_late_check_in/static/description/assets/icons/test-1.png b/employee_late_check_in/static/description/assets/icons/test-1.png new file mode 100644 index 000000000..0908add2b Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/test-1.png differ diff --git a/employee_late_check_in/static/description/assets/icons/test-2.png b/employee_late_check_in/static/description/assets/icons/test-2.png new file mode 100644 index 000000000..4671fe91e Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/test-2.png differ diff --git a/employee_late_check_in/static/description/assets/icons/trading-black.png b/employee_late_check_in/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/trading-black.png differ diff --git a/employee_late_check_in/static/description/assets/icons/training.png b/employee_late_check_in/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/training.png differ diff --git a/employee_late_check_in/static/description/assets/icons/translate.svg b/employee_late_check_in/static/description/assets/icons/translate.svg new file mode 100644 index 000000000..af9c8a1aa --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/update.png b/employee_late_check_in/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/update.png differ diff --git a/employee_late_check_in/static/description/assets/icons/user.png b/employee_late_check_in/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/user.png differ diff --git a/employee_late_check_in/static/description/assets/icons/video.png b/employee_late_check_in/static/description/assets/icons/video.png new file mode 100644 index 000000000..576705b17 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/video.png differ diff --git a/employee_late_check_in/static/description/assets/icons/whatsapp.png b/employee_late_check_in/static/description/assets/icons/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/whatsapp.png differ diff --git a/employee_late_check_in/static/description/assets/icons/wrench-icon.svg b/employee_late_check_in/static/description/assets/icons/wrench-icon.svg new file mode 100644 index 000000000..174b5a465 --- /dev/null +++ b/employee_late_check_in/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/icons/wrench.png b/employee_late_check_in/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/employee_late_check_in/static/description/assets/icons/wrench.png differ diff --git a/employee_late_check_in/static/description/assets/misc/Cybrosys R.png b/employee_late_check_in/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/employee_late_check_in/static/description/assets/misc/Cybrosys R.png differ diff --git a/employee_late_check_in/static/description/assets/misc/categories.png b/employee_late_check_in/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/employee_late_check_in/static/description/assets/misc/categories.png differ diff --git a/employee_late_check_in/static/description/assets/misc/check-box.png b/employee_late_check_in/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/employee_late_check_in/static/description/assets/misc/check-box.png differ diff --git a/employee_late_check_in/static/description/assets/misc/compass.png b/employee_late_check_in/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/employee_late_check_in/static/description/assets/misc/compass.png differ diff --git a/employee_late_check_in/static/description/assets/misc/corporate.png b/employee_late_check_in/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/employee_late_check_in/static/description/assets/misc/corporate.png differ diff --git a/employee_late_check_in/static/description/assets/misc/customer-support.png b/employee_late_check_in/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/employee_late_check_in/static/description/assets/misc/customer-support.png differ diff --git a/employee_late_check_in/static/description/assets/misc/cybrosys-logo.png b/employee_late_check_in/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/employee_late_check_in/static/description/assets/misc/cybrosys-logo.png differ diff --git a/employee_late_check_in/static/description/assets/misc/email.svg b/employee_late_check_in/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/employee_late_check_in/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/misc/features.png b/employee_late_check_in/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/employee_late_check_in/static/description/assets/misc/features.png differ diff --git a/employee_late_check_in/static/description/assets/misc/logo.png b/employee_late_check_in/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/employee_late_check_in/static/description/assets/misc/logo.png differ diff --git a/employee_late_check_in/static/description/assets/misc/phone.svg b/employee_late_check_in/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/employee_late_check_in/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/employee_late_check_in/static/description/assets/misc/pictures.png b/employee_late_check_in/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/employee_late_check_in/static/description/assets/misc/pictures.png differ diff --git a/employee_late_check_in/static/description/assets/misc/pie-chart.png b/employee_late_check_in/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/employee_late_check_in/static/description/assets/misc/pie-chart.png differ diff --git a/employee_late_check_in/static/description/assets/misc/right-arrow.png b/employee_late_check_in/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/employee_late_check_in/static/description/assets/misc/right-arrow.png differ diff --git a/employee_late_check_in/static/description/assets/misc/star (1) 2.svg b/employee_late_check_in/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/employee_late_check_in/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/misc/star.png b/employee_late_check_in/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/employee_late_check_in/static/description/assets/misc/star.png differ diff --git a/employee_late_check_in/static/description/assets/misc/support (1) 1.svg b/employee_late_check_in/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/employee_late_check_in/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/misc/support-email.svg b/employee_late_check_in/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/employee_late_check_in/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/employee_late_check_in/static/description/assets/misc/support.png b/employee_late_check_in/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/employee_late_check_in/static/description/assets/misc/support.png differ diff --git a/employee_late_check_in/static/description/assets/misc/tick-mark.svg b/employee_late_check_in/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/employee_late_check_in/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/misc/whatsapp 1.svg b/employee_late_check_in/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/employee_late_check_in/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/misc/whatsapp.png b/employee_late_check_in/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/employee_late_check_in/static/description/assets/misc/whatsapp.png differ diff --git a/employee_late_check_in/static/description/assets/misc/whatsapp.svg b/employee_late_check_in/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/employee_late_check_in/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/employee_late_check_in/static/description/assets/modules/1.gif b/employee_late_check_in/static/description/assets/modules/1.gif new file mode 100644 index 000000000..ae3a880a2 Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/1.gif differ diff --git a/employee_late_check_in/static/description/assets/modules/1.jpg b/employee_late_check_in/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..08bbafeb6 Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/1.jpg differ diff --git a/employee_late_check_in/static/description/assets/modules/1.png b/employee_late_check_in/static/description/assets/modules/1.png new file mode 100644 index 000000000..31ed46762 Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/1.png differ diff --git a/employee_late_check_in/static/description/assets/modules/2.gif b/employee_late_check_in/static/description/assets/modules/2.gif new file mode 100644 index 000000000..d19e2b352 Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/2.gif differ diff --git a/employee_late_check_in/static/description/assets/modules/2.png b/employee_late_check_in/static/description/assets/modules/2.png new file mode 100644 index 000000000..a1209a01f Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/2.png differ diff --git a/employee_late_check_in/static/description/assets/modules/3.jpg b/employee_late_check_in/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..3d171226b Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/3.jpg differ diff --git a/employee_late_check_in/static/description/assets/modules/3.png b/employee_late_check_in/static/description/assets/modules/3.png new file mode 100644 index 000000000..8513873ea Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/3.png differ diff --git a/employee_late_check_in/static/description/assets/modules/4.jpg b/employee_late_check_in/static/description/assets/modules/4.jpg new file mode 100644 index 000000000..1f3f2e27f Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/4.jpg differ diff --git a/employee_late_check_in/static/description/assets/modules/4.png b/employee_late_check_in/static/description/assets/modules/4.png new file mode 100644 index 000000000..3bedf7981 Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/4.png differ diff --git a/employee_late_check_in/static/description/assets/modules/5.jpg b/employee_late_check_in/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..0db717519 Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/5.jpg differ diff --git a/employee_late_check_in/static/description/assets/modules/5.png b/employee_late_check_in/static/description/assets/modules/5.png new file mode 100644 index 000000000..0e311ca87 Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/5.png differ diff --git a/employee_late_check_in/static/description/assets/modules/6.jpg b/employee_late_check_in/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/6.jpg differ diff --git a/employee_late_check_in/static/description/assets/modules/6.png b/employee_late_check_in/static/description/assets/modules/6.png new file mode 100644 index 000000000..b3c3ca084 Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/6.png differ diff --git a/employee_late_check_in/static/description/assets/modules/module_image (1).jpeg b/employee_late_check_in/static/description/assets/modules/module_image (1).jpeg new file mode 100644 index 000000000..5ae24843e Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/module_image (1).jpeg differ diff --git a/employee_late_check_in/static/description/assets/modules/module_image (1).png b/employee_late_check_in/static/description/assets/modules/module_image (1).png new file mode 100644 index 000000000..0dea4f332 Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/module_image (1).png differ diff --git a/employee_late_check_in/static/description/assets/modules/module_image (2).png b/employee_late_check_in/static/description/assets/modules/module_image (2).png new file mode 100644 index 000000000..a5dc79613 Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/module_image (2).png differ diff --git a/employee_late_check_in/static/description/assets/modules/module_image-1.jpeg b/employee_late_check_in/static/description/assets/modules/module_image-1.jpeg new file mode 100644 index 000000000..31f066e9c Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/module_image-1.jpeg differ diff --git a/employee_late_check_in/static/description/assets/modules/module_image.jpeg b/employee_late_check_in/static/description/assets/modules/module_image.jpeg new file mode 100644 index 000000000..0cbac311c Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/module_image.jpeg differ diff --git a/employee_late_check_in/static/description/assets/modules/module_image.png b/employee_late_check_in/static/description/assets/modules/module_image.png new file mode 100644 index 000000000..612be4b77 Binary files /dev/null and b/employee_late_check_in/static/description/assets/modules/module_image.png differ diff --git a/employee_late_check_in/static/description/assets/screenshots/1.png b/employee_late_check_in/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..deb04c5b1 Binary files /dev/null and b/employee_late_check_in/static/description/assets/screenshots/1.png differ diff --git a/employee_late_check_in/static/description/assets/screenshots/2.png b/employee_late_check_in/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..f18308829 Binary files /dev/null and b/employee_late_check_in/static/description/assets/screenshots/2.png differ diff --git a/employee_late_check_in/static/description/assets/screenshots/3.png b/employee_late_check_in/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..b14df577e Binary files /dev/null and b/employee_late_check_in/static/description/assets/screenshots/3.png differ diff --git a/employee_late_check_in/static/description/assets/screenshots/4.png b/employee_late_check_in/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..68166b413 Binary files /dev/null and b/employee_late_check_in/static/description/assets/screenshots/4.png differ diff --git a/employee_late_check_in/static/description/assets/screenshots/5.png b/employee_late_check_in/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..378627578 Binary files /dev/null and b/employee_late_check_in/static/description/assets/screenshots/5.png differ diff --git a/employee_late_check_in/static/description/assets/y18.jpg b/employee_late_check_in/static/description/assets/y18.jpg new file mode 100644 index 000000000..eea1714f2 Binary files /dev/null and b/employee_late_check_in/static/description/assets/y18.jpg differ diff --git a/employee_late_check_in/static/description/banner.jpg b/employee_late_check_in/static/description/banner.jpg new file mode 100644 index 000000000..caf1a2684 Binary files /dev/null and b/employee_late_check_in/static/description/banner.jpg differ diff --git a/employee_late_check_in/static/description/icon.png b/employee_late_check_in/static/description/icon.png new file mode 100644 index 000000000..c18264f49 Binary files /dev/null and b/employee_late_check_in/static/description/icon.png differ diff --git a/employee_late_check_in/static/description/index.html b/employee_late_check_in/static/description/index.html new file mode 100644 index 000000000..b0e841faf --- /dev/null +++ b/employee_late_check_in/static/description/index.html @@ -0,0 +1,1071 @@ + + + + + + Employee Late Check-in + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+
+ +
+
+
+
+

+ Module for Tracking and Managing Late Check-ins + of Employees. +

+

Employee Late Check-in +

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

Key + Highlights

+
+
+
+
+ +
+
+ Easy to track employee check-ins. +
+
+
+
+
+
+ +
+
+ Deduct from salary. +
+
+
+
+
+ +
+
+
+ Employee Late Check-in +

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

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

+ Attendances --> Settings + +

+

In Late Check-in + block fill the field for + Deduction amount (Choose Per + Minutes or Per Total) for how + much amount to be deducted from + payslip. + Field Late Check-in Starts After + was for when the employee is + considered as late. + Field Maximum Late Minute was + for maximum time limit an + employee is considered as late. +

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

+ + Attendances --> Late Check-in Menu + +

+

Here you can see the + employee's tardiness records + together with the duration of + his tardiness (Default group by + Employees). +

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

+ + Individual record when group by is removed. + +

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

+ + Manager Can Approve or refuse the Late Check-in. + +

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

+ + Create payroll for the employee. + +

+

Choose Base + Salary Structure for Late + Check-in, and the amount is + deducted from the payslip. +

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

+ Tracking and management of employee punctuality. It enables organizations to monitor late check-ins efficiently, offering insights into tardiness patterns.This module contributes to fostering a punctual and efficient work environment.

+
+ +
+
+
+
+
+
+ +
+

+ Employer can deduct salary from payslip of the employees.

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

+ While configuring a + backup, selecting + the Zip option will + include the + filestore in the + backup, while + choosing the Dump + option will create a + backup without the + filestore. +

+
+
+ +
+ +
+

+ Enable the "Remove + Old Backups" option + in the backup + creation view to + automatically delete + previous backups + based on the number + of days specified. +

+
+
+ +
+ +
+

+ Enable the "Notify + User" option and + specify a contact to + receive an email + containing a + detailed report with + the failure reason + and backup details. + This option will + also send an email + upon successful + backup. +

+
+
+ +
+ +
+

+ Select the backup + destination as local + storage and specify + a backup path to a + location on the + system to create + backups on your own + system. +

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

+ Latest Release 18.0.1.0.0 +

+ + 25th October, 2024 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • + +
+
+
+
+
+
+
+
+
+
+ + + + + + +
+

+ Our Services

+ +
+
+ +
+
+ .... +
+
+ +
+ +
+
+ + + + + + diff --git a/employee_late_check_in/views/hr_attendance_views.xml b/employee_late_check_in/views/hr_attendance_views.xml new file mode 100755 index 000000000..5d2492414 --- /dev/null +++ b/employee_late_check_in/views/hr_attendance_views.xml @@ -0,0 +1,14 @@ + + + + + hr.attendance.view.list.inherit.employee.late.check.in + hr.attendance + + + + + + + + diff --git a/employee_late_check_in/views/hr_employee_views.xml b/employee_late_check_in/views/hr_employee_views.xml new file mode 100755 index 000000000..de93bf2c7 --- /dev/null +++ b/employee_late_check_in/views/hr_employee_views.xml @@ -0,0 +1,35 @@ + + + + + hr.employee.public.view.form.inherit.employee.late.check.in + hr.employee.public + + +
+ +
+
+
+ + + hr.employee.view.form.inherit.employee.late.check.in + hr.employee + + +
+ +
+
+
+
diff --git a/employee_late_check_in/views/hr_payslip_views.xml b/employee_late_check_in/views/hr_payslip_views.xml new file mode 100755 index 000000000..e43fc8351 --- /dev/null +++ b/employee_late_check_in/views/hr_payslip_views.xml @@ -0,0 +1,15 @@ + + + + + hr.payslip.view.form.inherit.employee.late.check.in + hr.payslip + + + + + + + + diff --git a/employee_late_check_in/views/late_check_in_views.xml b/employee_late_check_in/views/late_check_in_views.xml new file mode 100755 index 000000000..47e23913e --- /dev/null +++ b/employee_late_check_in/views/late_check_in_views.xml @@ -0,0 +1,93 @@ + + + + + late.check.in.sequence + late.check.in + LC + + + 5 + + + + + late.check.in.view.form + late.check.in + +
+
+ +
+ +
+

+ +

+
+ + + + + + + + + + + +
+
+
+
+ + + late.check.in.view.search + late.check.in + + + + + + + + + + + late.check.in.view.list + late.check.in + + + + + + + + + + + + + Late Check-in + late.check.in + list,form + {'search_default_group_employee': 1} + + + +
diff --git a/employee_late_check_in/views/res_config_settings_views.xml b/employee_late_check_in/views/res_config_settings_views.xml new file mode 100755 index 000000000..04b7c36b1 --- /dev/null +++ b/employee_late_check_in/views/res_config_settings_views.xml @@ -0,0 +1,37 @@ + + + Adding fields in res.config.settings + + res.config.settings.view.form.inherit.employee.late.check.in + res.config.settings + + + + + + + + + + + Minutes + + + + Minutes + + + + + +