diff --git a/automatic_payroll/README.rst b/automatic_payroll/README.rst new file mode 100644 index 000000000..7a1b7eb61 --- /dev/null +++ b/automatic_payroll/README.rst @@ -0,0 +1,52 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Automatic Payroll +================= +* Generate payslip batches automatically. +* The feature works with the help of scheduler. + +Configuration +============= +* Enable Automatic payroll from payroll settings. +* Option to select the date to generate payslips. + +License +------- +GNU Lesser General Public License, v3.0 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer: (V14) Varsha Vivek, + (V15) Mohammed Musthafa, + (V16) Sumith Sivan, + (V17) Anagha S, + (V18) Nivedhya T, +Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@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 https://www.cybrosys.com. + +Further information +=================== +HTML Description: ``__ diff --git a/automatic_payroll/__init__.py b/automatic_payroll/__init__.py new file mode 100644 index 000000000..2d5f0062a --- /dev/null +++ b/automatic_payroll/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# A part of Open HRMS Project +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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/automatic_payroll/__manifest__.py b/automatic_payroll/__manifest__.py new file mode 100644 index 000000000..97cb8b6df --- /dev/null +++ b/automatic_payroll/__manifest__.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################# +# A part of Open HRMS Project +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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': 'Automatic Payroll', + 'version': '18.0.1.0.0', + 'category': 'Human Resources', + 'summary': 'Automatic Payroll Processing for Active Employees in Odoo 18', + 'description': """ This module automates the creation of payslip batches + specifically for active employees with active contracts, providing a + hassle-free solution for payroll management.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['base', 'hr_payroll_community'], + 'data': [ + 'data/ir_cron_data.xml', + 'views/res_config_settings_views.xml' + ], + 'images': ['static/description/banner.jpg'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/automatic_payroll/data/ir_cron_data.xml b/automatic_payroll/data/ir_cron_data.xml new file mode 100644 index 000000000..1936de15f --- /dev/null +++ b/automatic_payroll/data/ir_cron_data.xml @@ -0,0 +1,12 @@ + + + + + Payroll: Generate payslip batches and payslips + + code + model._check_options() + 1 + days + + diff --git a/automatic_payroll/doc/RELEASE_NOTES.md b/automatic_payroll/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..6859c8000 --- /dev/null +++ b/automatic_payroll/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 05.12.2024 +#### Version 18.0.1.0.0 +##### ADD +- Initial Commit for Automatic Payroll \ No newline at end of file diff --git a/automatic_payroll/models/__init__.py b/automatic_payroll/models/__init__.py new file mode 100644 index 000000000..31952d6e3 --- /dev/null +++ b/automatic_payroll/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# A part of Open HRMS Project +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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_payslip_run +from . import res_config_settings diff --git a/automatic_payroll/models/hr_payslip_run.py b/automatic_payroll/models/hr_payslip_run.py new file mode 100644 index 000000000..236dab593 --- /dev/null +++ b/automatic_payroll/models/hr_payslip_run.py @@ -0,0 +1,123 @@ +# -*- coding: utf-8 -*- +############################################################################# +# A part of Open HRMS Project +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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, _ +from odoo.exceptions import UserError +from datetime import date, datetime +from dateutil.relativedelta import relativedelta + + +class HrPayslipRun(models.Model): + """ Automation of payslip generation based on specified options: + 1.Month First + 2.Specific Date + 3.Month End """ + _inherit = 'hr.payslip.run' + + def _check_options(self): + """Check the options and call the corresponding methods.""" + if self.env['ir.config_parameter'].sudo().get_param('automatic_payroll.generate_payslip'): + if self.env['ir.config_parameter'].sudo().get_param( + 'automatic_payroll.option', 'first') == 'first': + self.month_first() + elif self.env['ir.config_parameter'].sudo().get_param( + 'automatic_payroll.option', 'specific') == 'specific': + self.specific_date() + elif self.env['ir.config_parameter'].sudo().get_param( + 'automatic_payroll.option', 'end') == 'end': + self.month_end() + else: + raise UserError(_("Enable configuration settings")) + + def month_first(self): + """Automates payslip generation for the 'Month First' option.""" + today = fields.Date.today() + day = today.day + if day == 1: + self.generate_payslips() + else: + raise UserError(_("Today is not month first")) + pass + + def month_end(self): + """Automates payslip generation for the 'Month End' option""" + today = fields.Date.today() + day_today = today.day + last_date = today + relativedelta(day=1, months=+1, days=-1) + last_day = last_date.day + if day_today == last_day: + self.generate_payslips() + else: + raise UserError(_("Today is not month end")) + pass + + def specific_date(self): + """Automates payslip generation for the 'Specific date' option""" + val = int(self.env['ir.config_parameter'].sudo().get_param('automatic_payroll.generate_day')) + today = fields.Date.today() + day = today.day + if day == val: + self.generate_payslips() + else: + raise UserError(_("Can't generate payslips today")) + + def generate_payslips(self): + """Method for generate payslip batches and payslips, + before that you must assign ongoing contracts for employees.""" + batch_id = self.create([{ + 'name': 'Payslip Batch For ' + date.today().strftime( + '%B') + ' ' + str(date.today().year), + 'date_start': fields.Date.to_string(date.today().replace(day=1)), + 'date_end': fields.Date.to_string((datetime.now() + relativedelta( + months=+1, day=1, days=-1)).date())}]) + generate_payslip = self.env['hr.payslip.employees'] + contract_ids = self.env['hr.contract'].search([('state', '=', 'open')]) + employee_ids = [] + for line in contract_ids: + employee_ids.append(line.employee_id) + generate_payslip.create( + {'employee_ids': [(4, line.employee_id.id)]}) + payslips = self.env['hr.payslip'] + [run_data] = batch_id.read(['date_start', 'date_end', 'credit_note']) + from_date = run_data.get('date_start') + to_date = run_data.get('date_end') + if not employee_ids: + raise UserError(_("You must select employees to generate payslip.")) + for employee in employee_ids: + slip_data = self.env['hr.payslip'].onchange_employee_id( + from_date, to_date, employee.id, contract_id=False) + res = { + 'employee_id': employee.id, + 'name': slip_data['value'].get('name'), + 'struct_id': slip_data['value'].get('struct_id'), + 'contract_id': slip_data['value'].get('contract_id'), + 'payslip_run_id': batch_id.id, + 'input_line_ids': [(0, 0, x) for x in slip_data['value'].get('input_line_ids')], + 'worked_days_line_ids': [ + (0, 0, x) for x in slip_data['value'].get('worked_days_line_ids')], + 'date_from': from_date, + 'date_to': to_date, + 'credit_note': run_data.get('credit_note'), + 'company_id': employee.company_id.id} + payslips += self.env['hr.payslip'].create(res) + payslips.action_compute_sheet() + return {'type': 'ir.actions.act_window_close'} diff --git a/automatic_payroll/models/res_config_settings.py b/automatic_payroll/models/res_config_settings.py new file mode 100644 index 000000000..7e114f61f --- /dev/null +++ b/automatic_payroll/models/res_config_settings.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################# +# A part of Open HRMS Project +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 ResConfigSettings(models.TransientModel): + """Extends the default ResConfigSettings model to add configuration settings + for automatic payroll generation.""" + _inherit = 'res.config.settings' + + generate_payslip = fields.Boolean(string="Generate Payslip", + config_parameter="automatic_payroll.generate_payslip", + help="Automatic generation of payslip " + "batches and payslips (Monthly)") + option = fields.Selection( + [('first', 'Month First'), ('specific', 'Specific date'), + ('end', 'Month End'), ], string='Option', default='first', + config_parameter="automatic_payroll.option", + help='Option to select the date to generate payslips') + generate_day = fields.Integer(string="Day", default=1, + config_parameter="automatic_payroll.generate_day", + help="payslip generated day in a month") diff --git a/automatic_payroll/static/description/assets/cybro-odoo.png b/automatic_payroll/static/description/assets/cybro-odoo.png new file mode 100644 index 000000000..ed02e07a4 Binary files /dev/null and b/automatic_payroll/static/description/assets/cybro-odoo.png differ diff --git a/automatic_payroll/static/description/assets/icons/arrows-repeat.svg b/automatic_payroll/static/description/assets/icons/arrows-repeat.svg new file mode 100644 index 000000000..1d7efabc5 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/banner-1.png b/automatic_payroll/static/description/assets/icons/banner-1.png new file mode 100644 index 000000000..c180db172 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/banner-1.png differ diff --git a/automatic_payroll/static/description/assets/icons/banner-2.svg b/automatic_payroll/static/description/assets/icons/banner-2.svg new file mode 100644 index 000000000..e606d97d9 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/banner-bg.png b/automatic_payroll/static/description/assets/icons/banner-bg.png new file mode 100644 index 000000000..a8238d3c0 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/banner-bg.png differ diff --git a/automatic_payroll/static/description/assets/icons/banner-bg.svg b/automatic_payroll/static/description/assets/icons/banner-bg.svg new file mode 100644 index 000000000..b1378103e --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/banner-call.svg b/automatic_payroll/static/description/assets/icons/banner-call.svg new file mode 100644 index 000000000..96c687e81 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/automatic_payroll/static/description/assets/icons/banner-mail.svg b/automatic_payroll/static/description/assets/icons/banner-mail.svg new file mode 100644 index 000000000..cbf0d158d --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/automatic_payroll/static/description/assets/icons/banner-pattern.svg b/automatic_payroll/static/description/assets/icons/banner-pattern.svg new file mode 100644 index 000000000..9c1c7e101 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/banner-promo.svg b/automatic_payroll/static/description/assets/icons/banner-promo.svg new file mode 100644 index 000000000..d52791b11 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/brand-pair.svg b/automatic_payroll/static/description/assets/icons/brand-pair.svg new file mode 100644 index 000000000..d8db7fc1e --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/check.png b/automatic_payroll/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/check.png differ diff --git a/automatic_payroll/static/description/assets/icons/chevron.png b/automatic_payroll/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/chevron.png differ diff --git a/automatic_payroll/static/description/assets/icons/close-icon.svg b/automatic_payroll/static/description/assets/icons/close-icon.svg new file mode 100644 index 000000000..df8cce37a --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/automatic_payroll/static/description/assets/icons/cogs.png b/automatic_payroll/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/cogs.png differ diff --git a/automatic_payroll/static/description/assets/icons/collabarate-icon.svg b/automatic_payroll/static/description/assets/icons/collabarate-icon.svg new file mode 100644 index 000000000..dd4e10518 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/automatic_payroll/static/description/assets/icons/consultation.png b/automatic_payroll/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/consultation.png differ diff --git a/automatic_payroll/static/description/assets/icons/cybro-logo.png b/automatic_payroll/static/description/assets/icons/cybro-logo.png new file mode 100644 index 000000000..ff4b78220 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/cybro-logo.png differ diff --git a/automatic_payroll/static/description/assets/icons/down.svg b/automatic_payroll/static/description/assets/icons/down.svg new file mode 100644 index 000000000..f21c36271 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/automatic_payroll/static/description/assets/icons/ecom-black.png b/automatic_payroll/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/ecom-black.png differ diff --git a/automatic_payroll/static/description/assets/icons/education-black.png b/automatic_payroll/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/education-black.png differ diff --git a/automatic_payroll/static/description/assets/icons/faq.png b/automatic_payroll/static/description/assets/icons/faq.png new file mode 100644 index 000000000..4250b5b81 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/faq.png differ diff --git a/automatic_payroll/static/description/assets/icons/feature-icon.svg b/automatic_payroll/static/description/assets/icons/feature-icon.svg new file mode 100644 index 000000000..fa0ea6850 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/feature.png b/automatic_payroll/static/description/assets/icons/feature.png new file mode 100644 index 000000000..ac7a785c0 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/feature.png differ diff --git a/automatic_payroll/static/description/assets/icons/gear.svg b/automatic_payroll/static/description/assets/icons/gear.svg new file mode 100644 index 000000000..0cc66b6ea --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/hero.gif b/automatic_payroll/static/description/assets/icons/hero.gif new file mode 100644 index 000000000..d656605d5 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/hero.gif differ diff --git a/automatic_payroll/static/description/assets/icons/hire-odoo.svg b/automatic_payroll/static/description/assets/icons/hire-odoo.svg new file mode 100644 index 000000000..e1ac089b0 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/hotel-black.png b/automatic_payroll/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/hotel-black.png differ diff --git a/automatic_payroll/static/description/assets/icons/license.png b/automatic_payroll/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/license.png differ diff --git a/automatic_payroll/static/description/assets/icons/life-ring-icon.svg b/automatic_payroll/static/description/assets/icons/life-ring-icon.svg new file mode 100644 index 000000000..3ae6e1d89 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/lifebuoy.png b/automatic_payroll/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/lifebuoy.png differ diff --git a/automatic_payroll/static/description/assets/icons/mail.svg b/automatic_payroll/static/description/assets/icons/mail.svg new file mode 100644 index 000000000..1eedde695 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/automatic_payroll/static/description/assets/icons/manufacturing-black.png b/automatic_payroll/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/manufacturing-black.png differ diff --git a/automatic_payroll/static/description/assets/icons/notes.png b/automatic_payroll/static/description/assets/icons/notes.png new file mode 100644 index 000000000..ee5e95404 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/notes.png differ diff --git a/automatic_payroll/static/description/assets/icons/notification icon.svg b/automatic_payroll/static/description/assets/icons/notification icon.svg new file mode 100644 index 000000000..053189973 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/odoo-consultancy.svg b/automatic_payroll/static/description/assets/icons/odoo-consultancy.svg new file mode 100644 index 000000000..e05f65bde --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/automatic_payroll/static/description/assets/icons/odoo-licencing.svg b/automatic_payroll/static/description/assets/icons/odoo-licencing.svg new file mode 100644 index 000000000..2606c88b0 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/automatic_payroll/static/description/assets/icons/odoo-logo.png b/automatic_payroll/static/description/assets/icons/odoo-logo.png new file mode 100644 index 000000000..0e4d0eb5a Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/odoo-logo.png differ diff --git a/automatic_payroll/static/description/assets/icons/patter.svg b/automatic_payroll/static/description/assets/icons/patter.svg new file mode 100644 index 000000000..25c9c0a8f --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/pattern1.png b/automatic_payroll/static/description/assets/icons/pattern1.png new file mode 100644 index 000000000..09ab0fb2d Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/pattern1.png differ diff --git a/automatic_payroll/static/description/assets/icons/pos-black.png b/automatic_payroll/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/pos-black.png differ diff --git a/automatic_payroll/static/description/assets/icons/puzzle-piece-icon.svg b/automatic_payroll/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100644 index 000000000..3e9ad9373 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/puzzle.png b/automatic_payroll/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/puzzle.png differ diff --git a/automatic_payroll/static/description/assets/icons/replace-icon.svg b/automatic_payroll/static/description/assets/icons/replace-icon.svg new file mode 100644 index 000000000..d0e3a7af1 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/restaurant-black.png b/automatic_payroll/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/restaurant-black.png differ diff --git a/automatic_payroll/static/description/assets/icons/screenshot-main.png b/automatic_payroll/static/description/assets/icons/screenshot-main.png new file mode 100644 index 000000000..575f8e676 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/screenshot-main.png differ diff --git a/automatic_payroll/static/description/assets/icons/screenshot.png b/automatic_payroll/static/description/assets/icons/screenshot.png new file mode 100644 index 000000000..cef272529 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/screenshot.png differ diff --git a/automatic_payroll/static/description/assets/icons/service-black.png b/automatic_payroll/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/service-black.png differ diff --git a/automatic_payroll/static/description/assets/icons/skype-fill.svg b/automatic_payroll/static/description/assets/icons/skype-fill.svg new file mode 100644 index 000000000..c17423639 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/skype.png b/automatic_payroll/static/description/assets/icons/skype.png new file mode 100644 index 000000000..51b409fb3 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/skype.png differ diff --git a/automatic_payroll/static/description/assets/icons/skype.svg b/automatic_payroll/static/description/assets/icons/skype.svg new file mode 100644 index 000000000..df3dad39b --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/automatic_payroll/static/description/assets/icons/star-1.svg b/automatic_payroll/static/description/assets/icons/star-1.svg new file mode 100644 index 000000000..7e55ab162 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/star-2.svg b/automatic_payroll/static/description/assets/icons/star-2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/support.png b/automatic_payroll/static/description/assets/icons/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/support.png differ diff --git a/automatic_payroll/static/description/assets/icons/test-1 - Copy.png b/automatic_payroll/static/description/assets/icons/test-1 - Copy.png new file mode 100644 index 000000000..f6a902663 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/test-1 - Copy.png differ diff --git a/automatic_payroll/static/description/assets/icons/test-1.png b/automatic_payroll/static/description/assets/icons/test-1.png new file mode 100644 index 000000000..0908add2b Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/test-1.png differ diff --git a/automatic_payroll/static/description/assets/icons/test-2.png b/automatic_payroll/static/description/assets/icons/test-2.png new file mode 100644 index 000000000..4671fe91e Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/test-2.png differ diff --git a/automatic_payroll/static/description/assets/icons/trading-black.png b/automatic_payroll/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/trading-black.png differ diff --git a/automatic_payroll/static/description/assets/icons/training.png b/automatic_payroll/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/training.png differ diff --git a/automatic_payroll/static/description/assets/icons/translate.svg b/automatic_payroll/static/description/assets/icons/translate.svg new file mode 100644 index 000000000..af9c8a1aa --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/update.png b/automatic_payroll/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/update.png differ diff --git a/automatic_payroll/static/description/assets/icons/user.png b/automatic_payroll/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/user.png differ diff --git a/automatic_payroll/static/description/assets/icons/video.png b/automatic_payroll/static/description/assets/icons/video.png new file mode 100644 index 000000000..576705b17 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/video.png differ diff --git a/automatic_payroll/static/description/assets/icons/whatsapp.png b/automatic_payroll/static/description/assets/icons/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/whatsapp.png differ diff --git a/automatic_payroll/static/description/assets/icons/wrench-icon.svg b/automatic_payroll/static/description/assets/icons/wrench-icon.svg new file mode 100644 index 000000000..174b5a465 --- /dev/null +++ b/automatic_payroll/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/automatic_payroll/static/description/assets/icons/wrench.png b/automatic_payroll/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/automatic_payroll/static/description/assets/icons/wrench.png differ diff --git a/automatic_payroll/static/description/assets/modules/b03.png b/automatic_payroll/static/description/assets/modules/b03.png new file mode 100644 index 000000000..05239cada Binary files /dev/null and b/automatic_payroll/static/description/assets/modules/b03.png differ diff --git a/automatic_payroll/static/description/assets/modules/b1.png b/automatic_payroll/static/description/assets/modules/b1.png new file mode 100644 index 000000000..82f8c6260 Binary files /dev/null and b/automatic_payroll/static/description/assets/modules/b1.png differ diff --git a/automatic_payroll/static/description/assets/modules/b2.png b/automatic_payroll/static/description/assets/modules/b2.png new file mode 100644 index 000000000..5d7ca7c19 Binary files /dev/null and b/automatic_payroll/static/description/assets/modules/b2.png differ diff --git a/automatic_payroll/static/description/assets/modules/b4.png b/automatic_payroll/static/description/assets/modules/b4.png new file mode 100644 index 000000000..b7f57430d Binary files /dev/null and b/automatic_payroll/static/description/assets/modules/b4.png differ diff --git a/automatic_payroll/static/description/assets/modules/b5.png b/automatic_payroll/static/description/assets/modules/b5.png new file mode 100644 index 000000000..817ba4bb3 Binary files /dev/null and b/automatic_payroll/static/description/assets/modules/b5.png differ diff --git a/automatic_payroll/static/description/assets/modules/b6.png b/automatic_payroll/static/description/assets/modules/b6.png new file mode 100644 index 000000000..54b45eadf Binary files /dev/null and b/automatic_payroll/static/description/assets/modules/b6.png differ diff --git a/automatic_payroll/static/description/assets/screenshots/screenshot1.png b/automatic_payroll/static/description/assets/screenshots/screenshot1.png new file mode 100644 index 000000000..ce6f89195 Binary files /dev/null and b/automatic_payroll/static/description/assets/screenshots/screenshot1.png differ diff --git a/automatic_payroll/static/description/assets/screenshots/screenshot2.png b/automatic_payroll/static/description/assets/screenshots/screenshot2.png new file mode 100644 index 000000000..16ea4c373 Binary files /dev/null and b/automatic_payroll/static/description/assets/screenshots/screenshot2.png differ diff --git a/automatic_payroll/static/description/assets/screenshots/screenshot3.png b/automatic_payroll/static/description/assets/screenshots/screenshot3.png new file mode 100644 index 000000000..6744ce9d8 Binary files /dev/null and b/automatic_payroll/static/description/assets/screenshots/screenshot3.png differ diff --git a/automatic_payroll/static/description/assets/screenshots/screenshot4.png b/automatic_payroll/static/description/assets/screenshots/screenshot4.png new file mode 100644 index 000000000..10886eaee Binary files /dev/null and b/automatic_payroll/static/description/assets/screenshots/screenshot4.png differ diff --git a/automatic_payroll/static/description/assets/screenshots/screenshot5.png b/automatic_payroll/static/description/assets/screenshots/screenshot5.png new file mode 100644 index 000000000..5156c5abc Binary files /dev/null and b/automatic_payroll/static/description/assets/screenshots/screenshot5.png differ diff --git a/automatic_payroll/static/description/banner.jpg b/automatic_payroll/static/description/banner.jpg new file mode 100644 index 000000000..25f627af8 Binary files /dev/null and b/automatic_payroll/static/description/banner.jpg differ diff --git a/automatic_payroll/static/description/icon.png b/automatic_payroll/static/description/icon.png new file mode 100644 index 000000000..036d1efe4 Binary files /dev/null and b/automatic_payroll/static/description/icon.png differ diff --git a/automatic_payroll/static/description/index.html b/automatic_payroll/static/description/index.html new file mode 100644 index 000000000..71e2788ab --- /dev/null +++ b/automatic_payroll/static/description/index.html @@ -0,0 +1,997 @@ + + + + + + Automatic Payroll + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+
+ +
+
+
+
+

+ Generate payslip batches automatically. +

+

Automatic Payroll +

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

Key + Heighlights

+
+
+
+
+ +
+
+ Odoo 18 Community + Support. +
+

+ Available + in Odoo 18.0 Community.

+
+
+
+
+
+ +
+
+ Create payslip by month start, end or a specific date. +
+

+ The module provisions to generate payslip batches automatically once in a month. +

+
+
+
+
+
+ +
+
+ The feature works with the help of scheduler. +
+

+ Scheduler would check the options in the + configuration settings and automatically generate payslip batches + via adding all active employees possessing active contracts. +

+
+
+
+
+
+ +
+
+ confirm generated payslip. +
+

+ The end user can confirm the generated payslip batch as well as the payslips in draft state. +

+
+
+
+ +
+
+
+ Automatic Payroll +

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

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

+ Automatic Payroll + + Configuration. +

+
+
+

+ Go to Payroll > Configuration > Settings > Enable/Disable Automatic Payroll. +

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

+ Three options are + + available. +

+
+
+

+ +

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

+ Selecting the + + option. +

+
+
+

+ Upon selecting the second + option (Specific date), + there appears a field to enter + specific date of the month. Based + on date the scheduler shall generate + payslip batches for the month. +

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

+ The feature works with the + + + help of scheduler. +

+
+
+

+

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

+ Payslip + + + batches. +

+
+
+

+ During execution of scheduler, + it would check contract table for active contracts and later create a new payslip batch via adding all active employees +

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

+ Create payslip by month start, end or a specific date.

+
+ +
+
+
+
+
+
+ +
+

+ The feature works with the help of scheduler.

+
+
+
+
+
+
+
+ +
+

+ The end user can confirm the generated payslip batch as well as the payslips in draft state.

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

+ Yes, you can manually + adjust the payslip batch + after it has been generated. + The module allows for flexibility + in adding or removing employees + before finalizing the payroll. +

+
+
+ +
+ +
+

+ Yes, the module can accommodate + different pay schedules (e.g., Month first, Specific date, Month end). +

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

+ Latest Release 18.0.1.0.0 +

+ + 05th December, 2024 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • + +
+
+
+
+
+
+
+
+
+
+ + +
+

+ Related Products +

+ +
+ + +
+

+ Our Services

+ +
+ +
+
+ .... +
+
+ +
+ + +
+
+ + + + + + diff --git a/automatic_payroll/views/res_config_settings_views.xml b/automatic_payroll/views/res_config_settings_views.xml new file mode 100644 index 000000000..ba4423e82 --- /dev/null +++ b/automatic_payroll/views/res_config_settings_views.xml @@ -0,0 +1,45 @@ + + + + + res.config.settings.view.form.inherit.automatic.payroll + res.config.settings + + + +
+
+ +
+
+
+
+
+
+
+