diff --git a/employee_documents_expiry/README.rst b/employee_documents_expiry/README.rst new file mode 100644 index 000000000..6df1d761e --- /dev/null +++ b/employee_documents_expiry/README.rst @@ -0,0 +1,44 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Employee Documents +================== +* Supporting Addon for HR, Manages Employee Related Documents + +Configuration +============= +Nothing to configure. + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Affero General Public License, v3.0 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developers: (V17) Farhana Jahan PT, 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_documents_expiry/__init__.py b/employee_documents_expiry/__init__.py new file mode 100644 index 000000000..d46a02c17 --- /dev/null +++ b/employee_documents_expiry/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (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_documents_expiry/__manifest__.py b/employee_documents_expiry/__manifest__.py new file mode 100644 index 000000000..fcafa9977 --- /dev/null +++ b/employee_documents_expiry/__manifest__.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### +{ + 'name': 'Employee Documents', + 'version': '17.0.1.0.0', + 'category': 'Human Resources', + 'summary': """Manages Employee Documents With Expiry Notifications.""", + 'description': 'Manages Employee Related Documents' + ' with Expiry Notifications.', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['hr'], + 'data': [ + 'security/ir.model.access.csv', + 'data/employee_checklist_data.xml', + 'data/ir_cron_data.xml', + 'views/employee_checklist_views.xml', + 'views/hr_employee_document_views.xml', + 'views/hr_employee_views.xml', + ], + 'demo': ['data/data.xml'], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/employee_documents_expiry/data/employee_checklist_data.xml b/employee_documents_expiry/data/employee_checklist_data.xml new file mode 100644 index 000000000..a8af46329 --- /dev/null +++ b/employee_documents_expiry/data/employee_checklist_data.xml @@ -0,0 +1,31 @@ + + + + + + Education Certificate + entry + + + Salary Certificate + entry + + + Experience Certificate + entry + + + Experience Certificate + exit + + + Salary Certificate + exit + + + diff --git a/employee_documents_expiry/data/ir_cron_data.xml b/employee_documents_expiry/data/ir_cron_data.xml new file mode 100644 index 000000000..421336fa9 --- /dev/null +++ b/employee_documents_expiry/data/ir_cron_data.xml @@ -0,0 +1,15 @@ + + + + + + HR Employee Data Expiration + + code + model.mail_reminder() + 1 + days + -1 + + + diff --git a/employee_documents_expiry/doc/RELEASE_NOTES.md b/employee_documents_expiry/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..f4b0d89fb --- /dev/null +++ b/employee_documents_expiry/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 19.12.2023 +#### Version 17.0.1.0.0 +#### ADD + +- Initial commit for Employee Documents diff --git a/employee_documents_expiry/models/__init__.py b/employee_documents_expiry/models/__init__.py new file mode 100644 index 000000000..771a20fdb --- /dev/null +++ b/employee_documents_expiry/models/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################### +from . import employee_checklist +from . import hr_employee +from . import hr_employee_document +from . import ir_attachment diff --git a/employee_documents_expiry/models/employee_checklist.py b/employee_documents_expiry/models/employee_checklist.py new file mode 100644 index 000000000..3b1f98315 --- /dev/null +++ b/employee_documents_expiry/models/employee_checklist.py @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (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 EmployeeChecklist(models.Model): + """Create an 'employee_checklist' model to incorporate + details about document types""" + _name = 'employee.checklist' + _inherit = 'mail.thread' + _description = "Employee Checklist" + + name = fields.Char(string='Document Name', copy=False, required=1, + help="Enter Document Name") + document_type = fields.Selection([('entry', 'Entry Process'), + ('exit', 'Exit Process'), + ('other', 'Other')], + string='Checklist Type', required=1, + help="Select checklist type for document") + + def name_get(self): + """Function to obtain the names '_en,' '_ex,' or '_ot' + for entry, exit, and other.""" + result = [] + for each in self: + if each.document_type == 'entry': + name = each.name + '_en' + elif each.document_type == 'exit': + name = each.name + '_ex' + elif each.document_type == 'other': + name = each.name + '_ot' + result.append((each.id, name)) + return result diff --git a/employee_documents_expiry/models/hr_employee.py b/employee_documents_expiry/models/hr_employee.py new file mode 100644 index 000000000..f51dc1bf2 --- /dev/null +++ b/employee_documents_expiry/models/hr_employee.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (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 HrEmployee(models.Model): + """Inherit the 'hr_employee' module to add 'Documents' super button.""" + _inherit = 'hr.employee' + + document_count = fields.Integer(compute='_compute_document_count', + string='# Documents', + help="Get total count of Document for" + " an Employee") + + def _compute_document_count(self): + """Function to obtain the total count of documents.""" + for rec in self: + rec.document_count = self.env['hr.employee.document'].search_count( + [('employee_id', '=', rec.id)]) + + def document_view(self): + """Function to open the 'hr_employee_document' model.""" + self.ensure_one() + return { + 'name': _('Documents'), + 'domain': [('employee_id', '=', self.id)], + 'res_model': 'hr.employee.document', + 'type': 'ir.actions.act_window', + 'view_mode': 'tree,form', + 'view_type': 'form', + 'help': _('''

+ Click to Create for New Documents +

'''), + 'limit': 80, + 'context': {'default_employee_id': self.id} + } diff --git a/employee_documents_expiry/models/hr_employee_document.py b/employee_documents_expiry/models/hr_employee_document.py new file mode 100644 index 000000000..6727f8e33 --- /dev/null +++ b/employee_documents_expiry/models/hr_employee_document.py @@ -0,0 +1,87 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (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 datetime, date, timedelta + +from odoo import api, fields, models, _ + + +class HrEmployeeDocument(models.Model): + """Create a new module for retrieving document files, allowing users + to input details about the documents.""" + _name = 'hr.employee.document' + _description = 'HR Employee Documents' + + name = fields.Char(string='Document Number', required=True, copy=False, + help="Enter Document Number") + document_id = fields.Many2one('employee.checklist', + string='Document', + required=True, + help="Choose Employee Checklist for" + " Employee Document") + description = fields.Text(string='Description', copy=False, + help="Description for Employee Document") + expiry_date = fields.Date(string='Expiry Date', copy=False, + help="Choose Expiry Date for Employee Document") + employee_id = fields.Many2one('hr.employee', copy=False, string="Employee", + help="Choose Employee for Employee Document") + doc_attachment_ids = fields.Many2many('ir.attachment', + 'doc_attach_ids', + 'doc_id', 'attach_id3', + string="Attachment", + help='You can attach the copy' + 'of your document', + copy=False) + issue_date = fields.Date(string='Issue Date', + default=fields.Date.context_today, copy=False, + help="Choose Issue Date for Employee Document") + + def mail_reminder(self): + """Function for scheduling emails to send reminders + about document expiry dates.""" + for doc in self.search([]): + if doc.expiry_date: + if (datetime.now() + timedelta(days=1)).date() >= ( + doc.expiry_date - timedelta(days=7)): + mail_content = (" Hello " + str( + doc.employee_id.name) + ",
Your Document " + str( + doc.name) + "is going to expire on " + \ + str(doc.expiry_date) + ". Please renew it " + "before expiry date") + main_content = { + 'subject': _('Document-%s Expired On %s') % ( + str(doc.name), str(doc.expiry_date)), + 'author_id': self.env.user.partner_id.id, + 'body_html': mail_content, + 'email_to': doc.employee_id.work_email, + } + self.env['mail.mail'].create(main_content).send() + + @api.onchange('expiry_date') + def check_expr_date(self): + """Function to obtain a validation error for expired documents.""" + if self.expiry_date and self.expiry_date < date.today(): + return { + 'warning': { + 'title': _('Document Expired.'), + 'message': _("Your Document Is Already Expired.") + } + } diff --git a/employee_documents_expiry/models/ir_attachment.py b/employee_documents_expiry/models/ir_attachment.py new file mode 100644 index 000000000..c6df63410 --- /dev/null +++ b/employee_documents_expiry/models/ir_attachment.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions (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 IrAttachment(models.Model): + """Inherit the 'ir_attachment' model to retrieve attached documents.""" + _inherit = 'ir.attachment' + + doc_attach_ids = fields.Many2many('hr.employee.document', + 'doc_attachment_ids', + 'attach_id3', + 'doc_id', + string="Attachment", invisible=1, + help="Choose Employee Document for" + " Attachment") diff --git a/employee_documents_expiry/security/ir.model.access.csv b/employee_documents_expiry/security/ir.model.access.csv new file mode 100644 index 000000000..4bb989274 --- /dev/null +++ b/employee_documents_expiry/security/ir.model.access.csv @@ -0,0 +1,6 @@ +id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink +access_hr_employee_checklist_user,employee.checklist.user,model_employee_checklist,hr.group_hr_user,1,1,1,1 +access_hr_employee_checklist_emp,employee.checklist.emp,model_employee_checklist,base.group_user,1,1,1,0 +access_hr_employee_document_employee,hr.employee.document_employee,model_hr_employee_document,base.group_user,1,1,1,0 +access_hr_employee_document_manager,hr.employee.document_manager,model_hr_employee_document,hr.group_hr_manager,1,1,1,1 +access_hr_employee_document_user,hr.employee.document_user,model_hr_employee_document,hr.group_hr_user,1,1,1,0 diff --git a/employee_documents_expiry/static/description/assets/icons/capture (1).png b/employee_documents_expiry/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/capture (1).png differ diff --git a/employee_documents_expiry/static/description/assets/icons/check.png b/employee_documents_expiry/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/check.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/chevron.png b/employee_documents_expiry/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/chevron.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/cogs.png b/employee_documents_expiry/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/cogs.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/consultation.png b/employee_documents_expiry/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/consultation.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/ecom-black.png b/employee_documents_expiry/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/ecom-black.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/education-black.png b/employee_documents_expiry/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/education-black.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/hotel-black.png b/employee_documents_expiry/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/hotel-black.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/img.png b/employee_documents_expiry/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/img.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/license.png b/employee_documents_expiry/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/license.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/lifebuoy.png b/employee_documents_expiry/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/lifebuoy.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/manufacturing-black.png b/employee_documents_expiry/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/manufacturing-black.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/photo-capture.png b/employee_documents_expiry/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/photo-capture.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/pos-black.png b/employee_documents_expiry/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/pos-black.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/puzzle.png b/employee_documents_expiry/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/puzzle.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/restaurant-black.png b/employee_documents_expiry/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/restaurant-black.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/service-black.png b/employee_documents_expiry/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/service-black.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/trading-black.png b/employee_documents_expiry/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/trading-black.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/training.png b/employee_documents_expiry/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/training.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/update.png b/employee_documents_expiry/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/update.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/user.png b/employee_documents_expiry/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/user.png differ diff --git a/employee_documents_expiry/static/description/assets/icons/wrench.png b/employee_documents_expiry/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/employee_documents_expiry/static/description/assets/icons/wrench.png differ diff --git a/employee_documents_expiry/static/description/assets/misc/Cybrosys R.png b/employee_documents_expiry/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/misc/Cybrosys R.png differ diff --git a/employee_documents_expiry/static/description/assets/misc/email.svg b/employee_documents_expiry/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/employee_documents_expiry/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/employee_documents_expiry/static/description/assets/misc/phone.svg b/employee_documents_expiry/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/employee_documents_expiry/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/employee_documents_expiry/static/description/assets/misc/star (1) 2.svg b/employee_documents_expiry/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/employee_documents_expiry/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/employee_documents_expiry/static/description/assets/misc/support (1) 1.svg b/employee_documents_expiry/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/employee_documents_expiry/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/employee_documents_expiry/static/description/assets/misc/support-email.svg b/employee_documents_expiry/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/employee_documents_expiry/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/employee_documents_expiry/static/description/assets/misc/tick-mark.svg b/employee_documents_expiry/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/employee_documents_expiry/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/employee_documents_expiry/static/description/assets/misc/whatsapp 1.svg b/employee_documents_expiry/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/employee_documents_expiry/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/employee_documents_expiry/static/description/assets/misc/whatsapp.svg b/employee_documents_expiry/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/employee_documents_expiry/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/employee_documents_expiry/static/description/assets/modules/1.png b/employee_documents_expiry/static/description/assets/modules/1.png new file mode 100644 index 000000000..8513873ea Binary files /dev/null and b/employee_documents_expiry/static/description/assets/modules/1.png differ diff --git a/employee_documents_expiry/static/description/assets/modules/2.jpg b/employee_documents_expiry/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/modules/2.jpg differ diff --git a/employee_documents_expiry/static/description/assets/modules/3.png b/employee_documents_expiry/static/description/assets/modules/3.png new file mode 100644 index 000000000..cb17cf612 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/modules/3.png differ diff --git a/employee_documents_expiry/static/description/assets/modules/4.png b/employee_documents_expiry/static/description/assets/modules/4.png new file mode 100644 index 000000000..d6b1fe049 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/modules/4.png differ diff --git a/employee_documents_expiry/static/description/assets/modules/5.jpg b/employee_documents_expiry/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..87c2bb2ba Binary files /dev/null and b/employee_documents_expiry/static/description/assets/modules/5.jpg differ diff --git a/employee_documents_expiry/static/description/assets/modules/6.png b/employee_documents_expiry/static/description/assets/modules/6.png new file mode 100644 index 000000000..a0ac2d840 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/modules/6.png differ diff --git a/employee_documents_expiry/static/description/assets/screenshots/1.png b/employee_documents_expiry/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..2169dfb03 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/screenshots/1.png differ diff --git a/employee_documents_expiry/static/description/assets/screenshots/2.png b/employee_documents_expiry/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..156975dc0 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/screenshots/2.png differ diff --git a/employee_documents_expiry/static/description/assets/screenshots/3.png b/employee_documents_expiry/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..37eda5158 Binary files /dev/null and b/employee_documents_expiry/static/description/assets/screenshots/3.png differ diff --git a/employee_documents_expiry/static/description/assets/screenshots/hero.gif b/employee_documents_expiry/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..77069f18b Binary files /dev/null and b/employee_documents_expiry/static/description/assets/screenshots/hero.gif differ diff --git a/employee_documents_expiry/static/description/banner.jpg b/employee_documents_expiry/static/description/banner.jpg new file mode 100644 index 000000000..61799bd90 Binary files /dev/null and b/employee_documents_expiry/static/description/banner.jpg differ diff --git a/employee_documents_expiry/static/description/icon.png b/employee_documents_expiry/static/description/icon.png new file mode 100644 index 000000000..38bb415ff Binary files /dev/null and b/employee_documents_expiry/static/description/icon.png differ diff --git a/employee_documents_expiry/static/description/index.html b/employee_documents_expiry/static/description/index.html new file mode 100644 index 000000000..3062d5162 --- /dev/null +++ b/employee_documents_expiry/static/description/index.html @@ -0,0 +1,763 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Employee Documents

+

+ Manages Employee Related Documents. +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Manage Employee Documents

+

Easily manage + documents of employees. +

+
+
+
+
+
+
+ +
+
+

+ Documents Types

+

Different + document types. +

+
+
+
+
+
+
+ +
+
+

+ Expiry Date

+

Expiry Date for + Documents. +

+
+
+
+
+
+
+ +
+
+

+ Expiry Date Validation

+

Validation for + Expiry Date. +

+
+
+
+
+
+
+ +
+
+

+ Mail Notifications

+

Mail + Notification Based on Expiry Date. +

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

+ Click on the Documents super button

+
+
+
+
+
+
+ +
+
+

+ Fill the form to add a new document.

+
+
+
+
+
+
+ +
+
+

+ Notification mails for expired + documents.

+
+
+
+
+
+
+
    +
  • + Manage Employee + Documents. +
  • +
  • + Documents Types. +
  • +
  • + Expiry Date. +
      +
    • +
    • +
    +
  • +
  • + Expiry Date + Validation. +
      +
    • +
    • +
    +
  • +
  • + Mail + Notifications. +
      +
    • +
    • +
    +
  • + +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:24th Nov 2023 +
+

+ + Initial Commit for Employee Documents.

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

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

Odoo + Customization

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

Odoo + Implementation

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

Odoo + Support

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

Hire + Odoo Developer

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

Odoo + Integration

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

Odoo + Migration

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

Odoo + Consultancy

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

Odoo + Implementation

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

Odoo + Licensing Consultancy

+
+
+
+
+
+
+

+ Our Industries

+ +
+
+
+
+
+
+ +

Trading

+

Easily procure and sell your products

+
+
+
+
+ +

POS

+

Easy configuration and convivial experience

+
+
+
+
+ +

+ Education

+

A platform for educational management

+
+
+
+
+ +

+ Manufacturing

+

Plan, track and schedule your operations

+
+
+
+
+ +

E-commerce & + Website

+

Mobile friendly, awe-inspiring product pages

+
+
+
+
+ +

Service + Management

+

Keep track of services and invoice

+
+
+
+
+ +

+ Restaurant

+

Run your bar or restaurant methodically

+
+
+
+
+ +

Hotel + Management

+

An all-inclusive hotel management application

+
+
+
+
+
+
+

+ Support

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

Got + questions or need help? Get in touch.

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

Say hi to + us on WhatsApp!

+
+91 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/employee_documents_expiry/views/employee_checklist_views.xml b/employee_documents_expiry/views/employee_checklist_views.xml new file mode 100644 index 000000000..339f5343e --- /dev/null +++ b/employee_documents_expiry/views/employee_checklist_views.xml @@ -0,0 +1,46 @@ + + + + + employee.checklist.view.form + employee.checklist + +
+ + + + + + +
+ + +
+
+
+
+ + + employee.checklist.view.tree + employee.checklist + + + + + + + + + + Employee Checklist + employee.checklist + tree,form + + + +
diff --git a/employee_documents_expiry/views/hr_employee_document_views.xml b/employee_documents_expiry/views/hr_employee_document_views.xml new file mode 100644 index 000000000..62e1d149d --- /dev/null +++ b/employee_documents_expiry/views/hr_employee_document_views.xml @@ -0,0 +1,44 @@ + + + + + hr.employee.document.view.form + hr.employee.document + +
+ + + + + + + + + + + + + + + + + + + +
+
+
+ + + hr.employee.document.view.tree + hr.employee.document + + + + + + + + +
diff --git a/employee_documents_expiry/views/hr_employee_views.xml b/employee_documents_expiry/views/hr_employee_views.xml new file mode 100644 index 000000000..198276370 --- /dev/null +++ b/employee_documents_expiry/views/hr_employee_views.xml @@ -0,0 +1,20 @@ + + + + + + hr.employee.view.form.inherit.employee.documents.expiry + + hr.employee + + +
+ +
+
+
+