diff --git a/employee_bonus_manager/README.rst b/employee_bonus_manager/README.rst deleted file mode 100644 index dacce1d81..000000000 --- a/employee_bonus_manager/README.rst +++ /dev/null @@ -1,50 +0,0 @@ -.. 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 Bonus -============== -This module will help you in managing employee bonus. - -Configuration -============= -* Add users to the three user groups - - User: can create and submit the bonus request - - Department Head: can approve the bonus request of users - - Manager(HR Manager): can do the final approval - -Company -------- -* `Cybrosys Techno Solutions `__ - -License -------- -Affero General Public License v3.0 (AGPL v3) - -(https://www.gnu.org/licenses/agpl-3.0-standalone.html) - -Credits -------- -Developer : (V14) Ruksana P, 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_bonus_manager/__init__.py b/employee_bonus_manager/__init__.py deleted file mode 100644 index aef502ea6..000000000 --- a/employee_bonus_manager/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################### -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Ruksana P (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_bonus_manager/__manifest__.py b/employee_bonus_manager/__manifest__.py deleted file mode 100644 index 426bbdd0c..000000000 --- a/employee_bonus_manager/__manifest__.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################### -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Ruksana P (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 Bonus', - 'version': '14.0.1.0.0', - 'category': 'Human Resources', - 'summary': """This module will help you in managing the employee bonus""", - 'description': """This module helps to manage the bonus for employees , the - user can submit the bonus request , department head can validate request - manager can approve the request of employees and billing administrator can - post the journal entry. The approved bonus amount will be added to payslip - """, - 'author': 'Cybrosys Techno Solutions', - 'company': 'Cybrosys Techno Solutions', - 'maintainer': 'Cybrosys Techno Solutions', - 'website': "https://www.cybrosys.com", - 'depends': ['account', 'hr', 'hr_payroll'], - 'data': [ - 'security/employee_bonus_manager_groups.xml', - 'security/bonus_request_security.xml', - 'security/ir.model.access.csv', - 'data/ir_sequence_data.xml', - 'data/hr_salary_rule_data.xml', - 'data/hr_payslip_input_type_data.xml', - 'views/bonus_request_views.xml', - 'views/bonus_reason_views.xml', - 'views/employee_bonus_manager_menus.xml' - ], - 'images': ['static/description/banner.png'], - 'license': 'AGPL-3', - 'installable': True, - 'auto_install': False, - 'application': True -} diff --git a/employee_bonus_manager/data/hr_payslip_input_type_data.xml b/employee_bonus_manager/data/hr_payslip_input_type_data.xml deleted file mode 100644 index 46f07adc9..000000000 --- a/employee_bonus_manager/data/hr_payslip_input_type_data.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - Employee Bonus - BONUS - - diff --git a/employee_bonus_manager/data/hr_salary_rule_data.xml b/employee_bonus_manager/data/hr_salary_rule_data.xml deleted file mode 100644 index e8344151d..000000000 --- a/employee_bonus_manager/data/hr_salary_rule_data.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - code - BONUS - - Employee Bonus - - result = inputs.BONUS.amount - - - diff --git a/employee_bonus_manager/data/ir_sequence_data.xml b/employee_bonus_manager/data/ir_sequence_data.xml deleted file mode 100644 index c9be361c3..000000000 --- a/employee_bonus_manager/data/ir_sequence_data.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Bonus Request Sequence - bonus.request - BR/ - 4 - - - diff --git a/employee_bonus_manager/doc/RELEASE_NOTES.md b/employee_bonus_manager/doc/RELEASE_NOTES.md deleted file mode 100644 index 90f19b52f..000000000 --- a/employee_bonus_manager/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,6 +0,0 @@ -## Module - -#### 26.09.2023 -#### Version 14.0.1.0.0 -#### ADD -- Initial Commit for Employee Bonus diff --git a/employee_bonus_manager/models/__init__.py b/employee_bonus_manager/models/__init__.py deleted file mode 100644 index d0f75edc3..000000000 --- a/employee_bonus_manager/models/__init__.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################### -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Ruksana P (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 bonus_reason -from . import bonus_request -from . import hr_payslip diff --git a/employee_bonus_manager/models/bonus_reason.py b/employee_bonus_manager/models/bonus_reason.py deleted file mode 100644 index b733fda3f..000000000 --- a/employee_bonus_manager/models/bonus_reason.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################### -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Ruksana P (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 BonusReason(models.Model): - """ This class is used to create the bonus reasons. """ - _name = "bonus.reason" - _description = 'Bonus Reason Records' - - name = fields.Char(string='Reason', required=True, - help='Reason to be added for the bonus requests.') diff --git a/employee_bonus_manager/models/bonus_request.py b/employee_bonus_manager/models/bonus_request.py deleted file mode 100644 index 055f6a96c..000000000 --- a/employee_bonus_manager/models/bonus_request.py +++ /dev/null @@ -1,241 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################### -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Ruksana P (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 api, fields, models - - -class BonusRequest(models.Model): - """ - This class is created for model bonus.request. It contains fields and - functions for the model. - Methods: - create(self, vals): - override create function for generating sequence number for the new - records of the model. - action_confirm(self): - actions to perform when clicking on the 'Confirm' button. - action_department_approve(self): - actions to perform when clicking on the 'Approve by Department' - button. - action_manager_approve(self): - actions to perform when clicking on the 'Approve by Manager' - button. - action_reject(self): - actions to perform when clicking on the 'Reject' button. - action_reset_to_draft(self): - actions to perform when clicking on the 'Reset to Draft' button. - """ - _name = 'bonus.request' - _description = 'Create Bonus Request' - _inherit = 'mail.thread' - _rec_name = 'reference' - - reference = fields.Char(string='Reference Number', copy=False, - help='Sequence number for the bonus request.') - state = fields.Selection([('draft', 'Draft'), ('submitted', 'Submitted'), - ('department_approved', 'Department Approved'), - ('manager_approved', 'Manager Approved'), - ('rejected', 'Rejected'), - ('accounting', 'Accounting Head Approved')], - string='State', default='draft', tracking=True, - help='State of the bonus request', copy=False, - group_expand='_group_expand_states') - employee_id = fields.Many2one('hr.employee', string='Employee', store=True, - required=True, tracking=True, - help='The bonus will be given to this ' - 'employee') - user_id = fields.Many2one('res.users', string='User', - related='employee_id.user_id', - help='The user of the employee(If any)') - department_id = fields.Many2one('hr.department', string='Department', - help='The department of the employee', - store=True) - job_id = fields.Many2one('hr.job', string='Job', store=True, - help='Job of the employee') - bonus_reason_id = fields.Many2one('bonus.reason', string='Bonus Reason', - help='Reason for providing the Bonus', - required=True) - confirmed_user_id = fields.Many2one('res.users', string='Confirmed by', - readonly=True, copy=False, - help='This field will record the name ' - 'of the person who confirmed ' - 'the bonus request.') - confirmed_date = fields.Date(string='Confirmed Date', readonly=True, - copy=False, tracking=True, - help='Confirmed date of bonus request') - bonus_amount = fields.Float(string='Bonus Amount', tracking=True, - help='This amount will be given as the bonus.') - currency_id = fields.Many2one('res.currency', string='Company Currency', - readonly=True, - default=lambda self: - self.env.user.company_id.currency_id, - help='Company Currency') - company_id = fields.Many2one('res.company', string='Company', readonly=True, - default=lambda self: self.env.company, - help='Company of the user.') - department_approved_date = fields.Date(string='Department Approved Date', - readonly=True, copy=False, - help='Date on which the bonus ' - 'request is approved by the ' - 'Department.') - manager_approved_date = fields.Date(string='Manager Approved Date', - readonly=True, copy=False, - help='Date on which the bonus request ' - 'is approved by the Manager.') - department_manager_id = fields.Many2one('res.users', readonly=True, - help='Name of the Department Head,' - ' who approved the bonus ' - 'request', copy=False, - string='Department Head') - hr_manager_id = fields.Many2one('res.users', string='Manager', copy=False, - help='Name of the Manager, who approved the' - ' bonus request', readonly=True) - journal_id = fields.Many2one('account.journal', string='Bonus Journal', - help='The Jornal for bonus request', - company_dependent=True, required=False, - domain="[('type', '=', 'general')]", - states={'accounting': [('required', True)]}) - move_id = fields.Many2one('account.move', string='Accounting Entry', - help='Accounting entry of bonus request', - readonly=True) - credit_account_id = fields.Many2one('account.account', - string='Credit Account', readonly=True, - help='The credit account for creating ' - 'journal entry', - states={'manager_approved': [ - ('required', True), - ('readonly', False)]}) - debit_account_id = fields.Many2one('account.account', - string='Debit Account', readonly=True, - help='The debit account for creating ' - 'journal entry', - states={'manager_approved': [ - ('required', True), - ('readonly', False)]}) - - @api.model - def create(self, vals): - """ Override the create function for creating new sequence number. - Args: vals (dict): values for creating new records. - Returns: models.Model: the created records of 'bonus.request'.""" - if vals.get('reference', 'New') == 'New': - vals['reference'] = self.env['ir.sequence'].next_by_code( - 'bonus.request') or 'New' - res = super(BonusRequest, self).create(vals) - return res - - @api.onchange('employee_id') - def _onchange_employee_id(self): - """ When changing employee_id , the department_id and job_id of - employee is changed """ - if self.employee_id: - self.department_id = self.employee_id.department_id - self.job_id = self.employee_id.job_id - - def _group_expand_states(self, domain, states, order): - """To add the states in the kanban view""" - return [key for - key, val in type(self).state.selection] - - def action_confirm(self): - """ Function for the 'Confirm' button to change the state to 'submitted', - and update the confirmed user and date.""" - self.write({ - 'state': 'submitted', - 'confirmed_user_id': self._uid, - 'confirmed_date': fields.Date.today() - }) - - def action_department_approve(self): - """ Function for the 'Approve by Department' button to change the state to - 'department_approved', and update the department manager and approved - time. """ - self.write({ - 'state': 'department_approved', - 'department_manager_id': self._uid, - 'department_approved_date': fields.Date.today() - }) - - def action_manager_approve(self): - """ Function for the 'Approve by Manager' button to change the state to - 'manager_approved', and update the HR manager and approved date & time. - """ - self.write({ - 'state': 'manager_approved', - 'hr_manager_id': self._uid, - 'manager_approved_date': fields.Date.today() - }) - - def action_reject(self): - """ Function for the 'Reject' button to change the state to 'rejected'. - """ - self.state = 'rejected' - - def action_reset_to_draft(self): - """ Function for the 'Reset to Draft' button to change the state to - 'draft' and reset the fields which are to be updated on changing the - states.""" - self.write({ - 'state': 'draft', - 'confirmed_user_id': False, - 'confirmed_date': False, - 'department_manager_id': False, - 'department_approved_date': False, - 'hr_manager_id': False, - 'manager_approved_date': False - }) - - def action_post_journal_entry(self): - """ Function for the 'Post Journal Entry' button to create a draft - entry for approved bonus request """ - account_move = self.env['account.move'].create({ - 'ref': self.reference, - 'state': 'draft', - 'date': self.manager_approved_date, - 'journal_id': self.journal_id.id, - 'line_ids': [ - (0, 0, { - 'account_id': self.credit_account_id.id, - 'credit': self.bonus_amount, - 'name': self.employee_id.name + '-' + self.reference, - 'debit': 0.0, - }), - (0, 0, { - 'account_id': self.debit_account_id.id, - 'debit': self.bonus_amount, - 'name': self.employee_id.name + '-' + self.reference, - 'credit': 0.0, - }) - ] - }) - account_move.state = 'posted' - self.move_id = account_move.id - self.state = 'accounting' - - def action_view_journal_items(self): - """To view the journal items for the bonus request""" - return { - 'name': 'Journal Items', - 'type': 'ir.actions.act_window', - 'res_model': 'account.move', - 'view_mode': 'form', - 'res_id': self.move_id.id - } diff --git a/employee_bonus_manager/models/hr_payslip.py b/employee_bonus_manager/models/hr_payslip.py deleted file mode 100644 index 21154548f..000000000 --- a/employee_bonus_manager/models/hr_payslip.py +++ /dev/null @@ -1,46 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################### -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Ruksana P (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 api, models - - -class HrPayslip(models.Model): - """ This class is used to create the bonus reasons. """ - _inherit = "hr.payslip" - - @api.onchange('employee_id', 'date_from', 'date_to') - def _onchange_employee_id(self): - """ When changing employee the bonus amount for the employee will be - loaded as other input """ - bonus_rule = self.env.ref( - 'employee_bonus_manager.hr_salary_rule_bonus') - if bonus_rule.struct_id == self.struct_id: - bonus = self.env['bonus.request'].search([ - ('employee_id', '=', self.employee_id.id), - ('state', '=', 'accounting'), ('move_id.state', '=', 'posted'), - ('move_id.date', '>=', self.date_from), - ('move_id.date', '<=', self.date_to)]) - amount = sum(bonus.mapped('bonus_amount')) - self.input_line_ids = [(0, 0, { - 'input_type_id': self.env.ref( - 'employee_bonus_manager.hr_payslip_input_type_bonus'), - 'amount': amount, - })] diff --git a/employee_bonus_manager/security/bonus_request_security.xml b/employee_bonus_manager/security/bonus_request_security.xml deleted file mode 100644 index d6b546fea..000000000 --- a/employee_bonus_manager/security/bonus_request_security.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - Bonus Request multi company rule - - ['|', ('company_id', '=', False), - ('company_id', 'in', company_ids)] - - - diff --git a/employee_bonus_manager/security/employee_bonus_manager_groups.xml b/employee_bonus_manager/security/employee_bonus_manager_groups.xml deleted file mode 100644 index 1800af27a..000000000 --- a/employee_bonus_manager/security/employee_bonus_manager_groups.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - Employee Bonus - Access for Employee Bonus module - 50 - - - - - User - - - - - - Department Head - - - - - - Manager - - - - - - - - - diff --git a/employee_bonus_manager/security/ir.model.access.csv b/employee_bonus_manager/security/ir.model.access.csv deleted file mode 100644 index 3fbc863c0..000000000 --- a/employee_bonus_manager/security/ir.model.access.csv +++ /dev/null @@ -1,7 +0,0 @@ -id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink -access_bonus_request_user,access.bonus.request.user,model_bonus_request,employee_bonus_manager_group_user,1,1,1,0 -access_bonus_request_department,access.bonus.request.department,model_bonus_request,employee_bonus_manager_group_department,1,1,1,0 -access_bonus_request_manager,access.bonus.request.manager,model_bonus_request,employee_bonus_manager_group_manager,1,1,1,1 -access_bonus_reason_user,access.bonus.reason.user,model_bonus_reason,employee_bonus_manager_group_user,1,1,1,0 -access_bonus_reason_department,access.bonus.reason.department,model_bonus_reason,employee_bonus_manager_group_department,1,1,1,0 -access_bonus_reason_manager,access.bonus.reason.manager,model_bonus_reason,employee_bonus_manager_group_manager,1,1,1,1 diff --git a/employee_bonus_manager/static/description/assets/icons/check.png b/employee_bonus_manager/static/description/assets/icons/check.png deleted file mode 100644 index c8e85f51d..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/check.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/chevron.png b/employee_bonus_manager/static/description/assets/icons/chevron.png deleted file mode 100644 index 2089293d6..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/chevron.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/cogs.png b/employee_bonus_manager/static/description/assets/icons/cogs.png deleted file mode 100644 index 95d0bad62..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/cogs.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/consultation.png b/employee_bonus_manager/static/description/assets/icons/consultation.png deleted file mode 100644 index 8319d4baa..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/consultation.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/ecom-black.png b/employee_bonus_manager/static/description/assets/icons/ecom-black.png deleted file mode 100644 index a9385ff13..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/ecom-black.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/education-black.png b/employee_bonus_manager/static/description/assets/icons/education-black.png deleted file mode 100644 index 3eb09b27b..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/education-black.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/hotel-black.png b/employee_bonus_manager/static/description/assets/icons/hotel-black.png deleted file mode 100644 index 130f613be..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/hotel-black.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/license.png b/employee_bonus_manager/static/description/assets/icons/license.png deleted file mode 100644 index a5869797e..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/license.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/lifebuoy.png b/employee_bonus_manager/static/description/assets/icons/lifebuoy.png deleted file mode 100644 index 658d56ccc..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/lifebuoy.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/manufacturing-black.png b/employee_bonus_manager/static/description/assets/icons/manufacturing-black.png deleted file mode 100644 index 697eb0e9f..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/manufacturing-black.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/pos-black.png b/employee_bonus_manager/static/description/assets/icons/pos-black.png deleted file mode 100644 index 97c0f90c1..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/pos-black.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/puzzle.png b/employee_bonus_manager/static/description/assets/icons/puzzle.png deleted file mode 100644 index 65cf854e7..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/puzzle.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/restaurant-black.png b/employee_bonus_manager/static/description/assets/icons/restaurant-black.png deleted file mode 100644 index 4a35eb939..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/restaurant-black.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/service-black.png b/employee_bonus_manager/static/description/assets/icons/service-black.png deleted file mode 100644 index 301ab51cb..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/service-black.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/trading-black.png b/employee_bonus_manager/static/description/assets/icons/trading-black.png deleted file mode 100644 index 9398ba2f1..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/trading-black.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/training.png b/employee_bonus_manager/static/description/assets/icons/training.png deleted file mode 100644 index 884ca024d..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/training.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/update.png b/employee_bonus_manager/static/description/assets/icons/update.png deleted file mode 100644 index ecbc5a01a..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/update.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/user.png b/employee_bonus_manager/static/description/assets/icons/user.png deleted file mode 100644 index 6ffb23d9f..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/user.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/icons/wrench.png b/employee_bonus_manager/static/description/assets/icons/wrench.png deleted file mode 100644 index 6c04dea0f..000000000 Binary files a/employee_bonus_manager/static/description/assets/icons/wrench.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/misc/categories.png b/employee_bonus_manager/static/description/assets/misc/categories.png deleted file mode 100644 index bedf1e0b1..000000000 Binary files a/employee_bonus_manager/static/description/assets/misc/categories.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/misc/check-box.png b/employee_bonus_manager/static/description/assets/misc/check-box.png deleted file mode 100644 index 42caf24b9..000000000 Binary files a/employee_bonus_manager/static/description/assets/misc/check-box.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/misc/compass.png b/employee_bonus_manager/static/description/assets/misc/compass.png deleted file mode 100644 index d5fed8faa..000000000 Binary files a/employee_bonus_manager/static/description/assets/misc/compass.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/misc/corporate.png b/employee_bonus_manager/static/description/assets/misc/corporate.png deleted file mode 100644 index 2eb13edbf..000000000 Binary files a/employee_bonus_manager/static/description/assets/misc/corporate.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/misc/customer-support.png b/employee_bonus_manager/static/description/assets/misc/customer-support.png deleted file mode 100644 index 79efc72ed..000000000 Binary files a/employee_bonus_manager/static/description/assets/misc/customer-support.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/misc/cybrosys-logo.png b/employee_bonus_manager/static/description/assets/misc/cybrosys-logo.png deleted file mode 100644 index cc3cc0ccf..000000000 Binary files a/employee_bonus_manager/static/description/assets/misc/cybrosys-logo.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/misc/features.png b/employee_bonus_manager/static/description/assets/misc/features.png deleted file mode 100644 index b41769f77..000000000 Binary files a/employee_bonus_manager/static/description/assets/misc/features.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/misc/logo.png b/employee_bonus_manager/static/description/assets/misc/logo.png deleted file mode 100644 index 478462d3e..000000000 Binary files a/employee_bonus_manager/static/description/assets/misc/logo.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/misc/pictures.png b/employee_bonus_manager/static/description/assets/misc/pictures.png deleted file mode 100644 index 56d255fe9..000000000 Binary files a/employee_bonus_manager/static/description/assets/misc/pictures.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/misc/pie-chart.png b/employee_bonus_manager/static/description/assets/misc/pie-chart.png deleted file mode 100644 index 426e05244..000000000 Binary files a/employee_bonus_manager/static/description/assets/misc/pie-chart.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/misc/right-arrow.png b/employee_bonus_manager/static/description/assets/misc/right-arrow.png deleted file mode 100644 index 730984a06..000000000 Binary files a/employee_bonus_manager/static/description/assets/misc/right-arrow.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/misc/star.png b/employee_bonus_manager/static/description/assets/misc/star.png deleted file mode 100644 index 2eb9ab29f..000000000 Binary files a/employee_bonus_manager/static/description/assets/misc/star.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/misc/support.png b/employee_bonus_manager/static/description/assets/misc/support.png deleted file mode 100644 index 4f18b8b82..000000000 Binary files a/employee_bonus_manager/static/description/assets/misc/support.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/misc/whatsapp.png b/employee_bonus_manager/static/description/assets/misc/whatsapp.png deleted file mode 100644 index d513a5356..000000000 Binary files a/employee_bonus_manager/static/description/assets/misc/whatsapp.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/modules/employee_covid_info.png b/employee_bonus_manager/static/description/assets/modules/employee_covid_info.png deleted file mode 100644 index a804cd110..000000000 Binary files a/employee_bonus_manager/static/description/assets/modules/employee_covid_info.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/modules/employee_document.png b/employee_bonus_manager/static/description/assets/modules/employee_document.png deleted file mode 100644 index 34cee3e01..000000000 Binary files a/employee_bonus_manager/static/description/assets/modules/employee_document.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/modules/employee_timesheet.png b/employee_bonus_manager/static/description/assets/modules/employee_timesheet.png deleted file mode 100644 index 43f1ab5c9..000000000 Binary files a/employee_bonus_manager/static/description/assets/modules/employee_timesheet.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/modules/leave_approval.png b/employee_bonus_manager/static/description/assets/modules/leave_approval.png deleted file mode 100644 index bf034085a..000000000 Binary files a/employee_bonus_manager/static/description/assets/modules/leave_approval.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/modules/over_time.png b/employee_bonus_manager/static/description/assets/modules/over_time.png deleted file mode 100644 index acd13f78b..000000000 Binary files a/employee_bonus_manager/static/description/assets/modules/over_time.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/modules/vacation.png b/employee_bonus_manager/static/description/assets/modules/vacation.png deleted file mode 100644 index a43834a4a..000000000 Binary files a/employee_bonus_manager/static/description/assets/modules/vacation.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/1.png b/employee_bonus_manager/static/description/assets/screenshots/1.png deleted file mode 100644 index b7315bbca..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/1.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/10.png b/employee_bonus_manager/static/description/assets/screenshots/10.png deleted file mode 100644 index afbdc75dd..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/10.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/11.png b/employee_bonus_manager/static/description/assets/screenshots/11.png deleted file mode 100644 index be7b38a6e..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/11.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/12.png b/employee_bonus_manager/static/description/assets/screenshots/12.png deleted file mode 100644 index 4a2f3da79..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/12.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/13.png b/employee_bonus_manager/static/description/assets/screenshots/13.png deleted file mode 100644 index 5c5449ad3..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/13.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/14.png b/employee_bonus_manager/static/description/assets/screenshots/14.png deleted file mode 100644 index 8a9a1ddab..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/14.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/15.png b/employee_bonus_manager/static/description/assets/screenshots/15.png deleted file mode 100644 index 9fb78942c..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/15.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/16.png b/employee_bonus_manager/static/description/assets/screenshots/16.png deleted file mode 100644 index da6b9675c..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/16.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/17.png b/employee_bonus_manager/static/description/assets/screenshots/17.png deleted file mode 100644 index 1c41c7db3..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/17.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/18.png b/employee_bonus_manager/static/description/assets/screenshots/18.png deleted file mode 100644 index 43cadf3c7..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/18.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/19.png b/employee_bonus_manager/static/description/assets/screenshots/19.png deleted file mode 100644 index ea335139e..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/19.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/2.png b/employee_bonus_manager/static/description/assets/screenshots/2.png deleted file mode 100644 index 2b839af98..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/2.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/20.png b/employee_bonus_manager/static/description/assets/screenshots/20.png deleted file mode 100644 index 6ebafac1a..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/20.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/21.png b/employee_bonus_manager/static/description/assets/screenshots/21.png deleted file mode 100644 index de5df3c68..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/21.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/22.png b/employee_bonus_manager/static/description/assets/screenshots/22.png deleted file mode 100644 index 63e0118b7..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/22.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/3.png b/employee_bonus_manager/static/description/assets/screenshots/3.png deleted file mode 100644 index e226a7dd9..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/3.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/4.png b/employee_bonus_manager/static/description/assets/screenshots/4.png deleted file mode 100644 index bd3902301..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/4.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/5.png b/employee_bonus_manager/static/description/assets/screenshots/5.png deleted file mode 100644 index 4658ba4f5..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/5.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/6.png b/employee_bonus_manager/static/description/assets/screenshots/6.png deleted file mode 100644 index 4785efa04..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/6.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/7.png b/employee_bonus_manager/static/description/assets/screenshots/7.png deleted file mode 100644 index c8405fccc..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/7.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/8.png b/employee_bonus_manager/static/description/assets/screenshots/8.png deleted file mode 100644 index 106e5a224..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/8.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/9.png b/employee_bonus_manager/static/description/assets/screenshots/9.png deleted file mode 100644 index 32f8042d4..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/9.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/assets/screenshots/hero.gif b/employee_bonus_manager/static/description/assets/screenshots/hero.gif deleted file mode 100644 index 152de3320..000000000 Binary files a/employee_bonus_manager/static/description/assets/screenshots/hero.gif and /dev/null differ diff --git a/employee_bonus_manager/static/description/banner.png b/employee_bonus_manager/static/description/banner.png deleted file mode 100644 index 968abfdfe..000000000 Binary files a/employee_bonus_manager/static/description/banner.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/icon.png b/employee_bonus_manager/static/description/icon.png deleted file mode 100644 index 5c9c0a55d..000000000 Binary files a/employee_bonus_manager/static/description/icon.png and /dev/null differ diff --git a/employee_bonus_manager/static/description/index.html b/employee_bonus_manager/static/description/index.html deleted file mode 100644 index 377ab6a08..000000000 --- a/employee_bonus_manager/static/description/index.html +++ /dev/null @@ -1,705 +0,0 @@ -
- -
- -
-
- Enterprise -
-
- Odoo.sh -
-
-
- -
-
-
- -

- Employee Bonus

-

- It Helps To Manage The Bonuses Of The Employees.

- - -
-
-
-
- - -
-
- -
-

- Explore This Module

-
- - - - -
-
- -
-

- Overview

-
-
-
This module provides an option to manage the - bonuses of the employees. The user, department head, or managers can - create the bonus request for the employees. The bonus will be approved - after the three level approvals. The final approved bonus amount is - reimbursed - in next payslip of the employee. -
-
- - - -
-
- -
-

- Features

-
-
-
-
- - Easy to manage Employee Bonus. -
-
- - Three user groups - User, Department Head and Manager. -
-
- - User can create the bonus request for the employees. -
-
- - Department head, Manager and Accounting head can approve or reject the requests. -
-
- - The Accounting head approved bonus amount will reimburse in next payslip of employee. -
-
- - Easy to use. -
-
-
- - - -
-
- -
-

- Screenshots

-
-
-
-
-

- There will be three user groups. -

-

- User with billing access.

- -

- Department Head with billing access.

- -

- Manager with billing access.

- -

- User/Department head/Manager with billing administrator - access.

- -
-
-

- Separate menu for bonus reasons. Here, you can create bonus - reasons which has to be provided when creating the bonus - request. -

- -
-
-

- The user can create and confirm bonus requests for the - employees. -

- -
-
-

- Once it is submitted, the state will be changed to SUBMITTED - and the name of the submitted person and submitted date will - be recorded. Next, it has to be approved by the department - head/ manager. -

- -
-
-

- The department head/ manager can approve or reject the request. -

- -
-
-

- If rejected, it will go to the REJECTED state. And if needed, it - can be reset to the DRAFT state. -

- -
-
-

- Once the request is approved by the department head, it will - move on to the DEPARTMENT APPROVED state. - The name of the department head and approved date will - be recorded. Next, it has to be approved by the manager. -

- -
-
-

- The manager can approve or reject the request. -

- -
-
-

- Once the request is approved by the manager, it will move to the - MANAGER APPROVED state. - The name of the manager and approved date will be recorded. The - changes will also be visible in the chatter. -

- -
-
-

- The accounting head can edit the Accounting Information and - click the ACCOUNTING HEAD APPROVAL (final approval)button to - post the journal entries. -

- -
-
-

- Once the request is approved by the accounting - head, it will move to the ACCOUNTING HEAD APPROVED state. -

- -
-
-

- Now, we can see the corresponding journal entries for bonus - request by clicking Journal Items smart button -

- -
-
-

- The salary rule for bonus is loaded. -

- -
-
-

- When calculating payslip for employee, the bonus amount is - loaded as Other Input for those who have the final approved - bonus - request for the dates of payslip. -

- -
-
-

- When computing sheet, the bonus rule is taken account. -

- -
-
-

- Separate menus will be available for viewing all bonus requests - and, the requests to be approved by the department and the - manager and accounting head. - The users can see only the All Requests menu and view their own - requests. -

- -
-
-

- Department Approval menu will display all the confirmed bonus - requests which are ready for the Department approval. -

- -
-
-

- Manager Approval menu will display all the confirmed bonus - requests which are ready for the Manager approval. -

- -
-
-

- Accounting Head Approval menu will display all the manager - approved bonus - requests which are ready for the Accounting Head approval. -

- -
-
-
- - - -
-
- -
-

- Related Products

-
-
-
-

Suggested Products

-
- -
-
- - - -
-
- -
-

- Our Services

-
-
-
-
-
- -
-
- Odoo Customization
-
-
-
- -
-
- Odoo Implementation
-
-
-
- -
-
- Odoo Support
-
-
-
- -
-
- Hire Odoo Developer
-
-
-
- -
-
- Odoo Integration
-
-
-
- -
-
- Odoo Migration
-
-
-
- -
-
- Odoo Consultancy
-
-
-
- -
-
- Odoo Implementation
-
-
-
- -
-
- Odoo Licensing Consultancy
-
-
-
- - - -
-
- -
-

- Our Industries

-
-
-
-
-
- -
- Trading
-

- Easily procure and sell your products

-
-
-
-
- -
- POS
-

- Easy configuration and convivial experience

-
-
-
-
- -
- Education
-

- A platform for educational management

-
-
-
-
- -
- Manufacturing
-

- Plan, track and schedule your operations

-
-
-
-
- -
- E-commerce & Website
-

- Mobile friendly, awe-inspiring product pages

-
-
-
-
- -
- Service Management
-

- Keep track of services and invoice

-
-
-
-
- -
- Restaurant
-

- Run your bar or restaurant methodically

-
-
-
-
- -
- Hotel Management
-

- An all-inclusive hotel management application

-
-
-
-
- - - -
-
- -
-

- Support

-
-
-
-
-
-
- -
-
-

Need Help?

-

Got questions or need help? - Get in touch.

- -

- odoo@cybrosys.com

-
-
-
-
-
-
-
- -
-
-

WhatsApp

-

Say hi to us on WhatsApp!

- -

- +91 86068 27707

-
-
-
-
-
-
-
- -
-
-
- diff --git a/employee_bonus_manager/views/bonus_reason_views.xml b/employee_bonus_manager/views/bonus_reason_views.xml deleted file mode 100644 index 1190a7f54..000000000 --- a/employee_bonus_manager/views/bonus_reason_views.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - bonus.reason.view.tree - bonus.reason - - - - - - - - - bonus.reason.view.form - bonus.reason - -
- -
-
-
-
-
-
- - - Bonus Reasons - bonus.reason - - -

- Add new bonus reasons -

-
-
-
diff --git a/employee_bonus_manager/views/bonus_request_views.xml b/employee_bonus_manager/views/bonus_request_views.xml deleted file mode 100644 index aedf3a09c..000000000 --- a/employee_bonus_manager/views/bonus_request_views.xml +++ /dev/null @@ -1,353 +0,0 @@ - - - - - bonus.request.view.form - bonus.request - -
-
- -
- -
- -
-

- -

-

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
-
-
- - - bonus.request.view.tree - bonus.request - - - - - - - - - - - - - - - - - - - - - - - bonus.request.view.kanban - bonus.request - - - - - - - - - - - - - - - - - - -
-
- -
- -
- -
- -
-
- - -
-
-
- -
-
- -
-
-
-
-
-
-
-
-
- - - bonus.request.view.graph - bonus.request - - - - - - - - - - bonus.request.view.pivot - bonus.request - - - - - - - - - - bonus.request.view.calendar - bonus.request - - - - - - - - - - - - - - - - - - - - - bonus.request.view.search - bonus.request - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Bonus Requests - bonus.request - tree,kanban,graph,pivot,calendar,form - - -

- Create new bonus request -

-
-
- - - Department Approval - ir.actions.act_window - bonus.request - tree,kanban,graph,pivot,calendar,form - {'create': False} - [('state','=','submitted')] - - -

- No requests found for department approval -

-
-
- - - Manager Approval - ir.actions.act_window - bonus.request - tree,kanban,graph,pivot,calendar,form - {'create': False} - [('state','=','department_approved')] - - -

- No requests found for Manager approval -

-
-
- - - Accounting Head Approval - ir.actions.act_window - bonus.request - tree,kanban,graph,pivot,calendar,form - {'create': False} - [('state','=','manager_approved')] - - -

- No requests found for Accounting Head -

-
-
-
diff --git a/employee_bonus_manager/views/employee_bonus_manager_menus.xml b/employee_bonus_manager/views/employee_bonus_manager_menus.xml deleted file mode 100644 index d68435022..000000000 --- a/employee_bonus_manager/views/employee_bonus_manager_menus.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - -