diff --git a/hr_employee_shift/README.rst b/hr_employee_shift/README.rst
deleted file mode 100644
index becfda80b..000000000
--- a/hr_employee_shift/README.rst
+++ /dev/null
@@ -1,43 +0,0 @@
-OHRMS Employee Shift v11
-========================
-
-Easily create, manage, and track employee shift schedules
-
-Depends
-=======
-[hr] addon Odoo
-
-Tech
-====
-* [Python] - Models
-* [XML] - Odoo views
-
-Installation
-============
-- www.odoo.com/documentation/10.0/setup/install.html
-- Install our custom addon
-
-License
-=======
-GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (LGPLv3)
-(http://www.gnu.org/licenses/agpl.html)
-
-Bug Tracker
-===========
-Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.
-
-Credits
-=======
-* Cybrosys Techno Solutions
-
-Author
-------
-
-Developer: Saritha Sahadevan, saritha@cybrosys.in
-
-Maintainer
-----------
-
-This module is maintained by Cybrosys Technologies.
-
-For support and more information, please visit https://www.cybrosys.com.
diff --git a/hr_employee_shift/__init__.py b/hr_employee_shift/__init__.py
deleted file mode 100644
index 7cacd9c23..000000000
--- a/hr_employee_shift/__init__.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHrms Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Saritha Sahadevan ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from . import models
diff --git a/hr_employee_shift/__manifest__.py b/hr_employee_shift/__manifest__.py
deleted file mode 100644
index 29dab1050..000000000
--- a/hr_employee_shift/__manifest__.py
+++ /dev/null
@@ -1,49 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of Open Hrms Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Saritha Sahadevan ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-{
- 'name': "Open HRMS Employee Shift",
- 'version': '11.0.1.0.0',
- 'summary': """Easily create, manage, and track employee shift schedules.""",
- 'description': """Easily create, manage, and track employee shift schedules.""",
- 'category': 'Human Resource',
- 'author': 'Cybrosys Techno Solutions',
- 'company': 'Cybrosys Techno Solutions',
- 'maintainer': 'Cybrosys Techno Solutions',
- 'website': "https://www.openhrms.com",
- 'depends': ['hr', 'hr_payroll', 'resource'],
- 'data': [
- 'security/ir.model.access.csv',
- 'security/hr_employee_shift_security.xml',
- 'views/hr_employee_shift_view.xml',
- 'views/hr_employee_contract_view.xml',
- 'views/hr_generate_shift_view.xml',
- 'views/templates.xml',
- ],
- 'demo': [
- 'demo/shift_schedule_data.xml',
- ],
- 'images': ["static/description/banner.jpg"],
- 'license': "AGPL-3",
- 'installable': True,
- 'application': True,
-}
diff --git a/hr_employee_shift/demo/shift_schedule_data.xml b/hr_employee_shift/demo/shift_schedule_data.xml
deleted file mode 100644
index 863a85449..000000000
--- a/hr_employee_shift/demo/shift_schedule_data.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- Morning
-
-
-
-
-
-
diff --git a/hr_employee_shift/doc/RELEASE_NOTES.md b/hr_employee_shift/doc/RELEASE_NOTES.md
deleted file mode 100644
index 95cfa4db2..000000000
--- a/hr_employee_shift/doc/RELEASE_NOTES.md
+++ /dev/null
@@ -1,6 +0,0 @@
-## Module
-
-#### 21.04.2018
-#### Version 11.0.1.0.0
-##### ADD
-- Initial commit for OpenHrms Project
diff --git a/hr_employee_shift/models/__init__.py b/hr_employee_shift/models/__init__.py
deleted file mode 100644
index e00ab4743..000000000
--- a/hr_employee_shift/models/__init__.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHrms Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Saritha Sahadevan ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from . import hr_employee_shift, hr_employee_contract, hr_generate_shift, hr_shift_payroll
diff --git a/hr_employee_shift/models/hr_employee_contract.py b/hr_employee_shift/models/hr_employee_contract.py
deleted file mode 100644
index 4d833d3e6..000000000
--- a/hr_employee_shift/models/hr_employee_contract.py
+++ /dev/null
@@ -1,76 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHrms Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Saritha Sahadevan ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from odoo.exceptions import Warning
-from odoo import models, fields, api, _
-
-
-class HrEmployeeContract(models.Model):
- _inherit = 'hr.contract'
-
- shift_schedule = fields.One2many('hr.shift.schedule', 'rel_hr_schedule', string="Shift Schedule")
- working_hours = fields.Many2one('resource.calendar', string='Working Schedule')
- department_id = fields.Many2one('hr.department', string="Department",
- required=True)
-
-
-class HrSchedule(models.Model):
- _name = 'hr.shift.schedule'
-
- start_date = fields.Date(string="Date From", required=True)
- end_date = fields.Date(string="Date To", required=True)
- rel_hr_schedule = fields.Many2one('hr.contract')
- hr_shift = fields.Many2one('resource.calendar', string="Shift", required=True)
-
- @api.onchange('start_date', 'end_date')
- def get_department(self):
- """Adding domain to the hr_shift field"""
- hr_department = None
- if self.start_date:
- hr_department = self.rel_hr_schedule.department_id.id
- return {
- 'domain': {
- 'hr_shift': [('hr_department', '=', hr_department)]
- }
- }
-
- @api.multi
- def write(self, vals):
- self._check_overlap(vals)
- return super(HrSchedule, self).write(vals)
-
- @api.model
- def create(self, vals):
- self._check_overlap(vals)
- return super(HrSchedule, self).create(vals)
-
- def _check_overlap(self, vals):
- if vals.get('start_date', False) and vals.get('end_date', False):
- shifts = self.env['hr.shift.schedule'].search([('rel_hr_schedule', '=', vals.get('rel_hr_schedule'))])
- for each in shifts:
- if each != shifts[-1]:
- if each.end_date >= vals.get('start_date') or each.start_date >= vals.get('start_date'):
- raise Warning(_('The dates may not overlap with one another.'))
- if vals.get('start_date') > vals.get('end_date'):
- raise Warning(_('Start date should be less than end date.'))
- return True
-
diff --git a/hr_employee_shift/models/hr_employee_shift.py b/hr_employee_shift/models/hr_employee_shift.py
deleted file mode 100644
index 9a8473d8c..000000000
--- a/hr_employee_shift/models/hr_employee_shift.py
+++ /dev/null
@@ -1,61 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHrms Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Saritha Sahadevan ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from odoo.exceptions import ValidationError
-from odoo import models, fields, api, _
-
-
-class HrEmployeeInherited(models.Model):
- _inherit = 'hr.employee'
-
- resource_calendar_ids = fields.Many2one('resource.calendar', 'Working Hours')
-
-
-class HrEmployeeShift(models.Model):
- _inherit = 'resource.calendar'
-
- def _get_default_attendance_ids(self):
- return [
- (0, 0, {'name': _('Monday Morning'), 'dayofweek': '0', 'hour_from': 8, 'hour_to': 12}),
- (0, 0, {'name': _('Tuesday Morning'), 'dayofweek': '1', 'hour_from': 8, 'hour_to': 12}),
- (0, 0, {'name': _('Wednesday Morning'), 'dayofweek': '2', 'hour_from': 8, 'hour_to': 12}),
- (0, 0, {'name': _('Thursday Morning'), 'dayofweek': '3', 'hour_from': 8, 'hour_to': 12}),
- (0, 0, {'name': _('Friday Morning'), 'dayofweek': '4', 'hour_from': 8, 'hour_to': 12}),
- ]
-
- color = fields.Integer(string='Color Index')
- hr_department = fields.Many2one('hr.department', string="Department", required=True)
- sequence = fields.Integer(string="Sequence", required=True, default=1)
- attendance_ids = fields.One2many(
- 'resource.calendar.attendance', 'calendar_id', 'Workingssss Time',
- copy=True, default=_get_default_attendance_ids)
-
- @api.constrains('sequence')
- def validate_seq(self):
- record = self.env['resource.calendar'].search([('hr_department', '=', self.hr_department.id),
- ('sequence', '=', self.sequence)
- ])
- if len(record) > 1:
- raise ValidationError("One record with same sequence is already active."
- "You can't activate more than one record at a time")
-
-
diff --git a/hr_employee_shift/models/hr_generate_shift.py b/hr_employee_shift/models/hr_generate_shift.py
deleted file mode 100644
index db60362c6..000000000
--- a/hr_employee_shift/models/hr_generate_shift.py
+++ /dev/null
@@ -1,101 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHrms Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Saritha Sahadevan ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from odoo import models, fields
-
-
-class HrGenerateShift(models.Model):
- _name = 'hr.shift.generate'
-
- hr_department = fields.Many2one('hr.department', string="Department")
- start_date = fields.Date(string="Start Date", required=True)
- end_date = fields.Date(string="End Date", required=True)
-
- def action_schedule_shift(self):
- """Create mass schedule for all departments based on the shift scheduled in corresponding employee's contract"""
-
- if self.hr_department:
- for contract in self.env['hr.contract'].search([('department_id', '=', self.hr_department.id)]):
- if contract.shift_schedule:
- for shift_val in contract.shift_schedule:
- shift = shift_val.hr_shift
- start_date = self.start_date
- end_date = self.end_date
- shift_obj = self.env['resource.calendar'].search([('hr_department', '=', self.hr_department.id),
- ('name', '=', shift.name)], limit=1)
- sequence = shift_obj.sequence
- seq_no = sequence + 1
- new_shift = self.env['resource.calendar'].search([
- ('sequence', '=', seq_no), ('hr_department', '=', self.hr_department.id)], limit=1)
- if new_shift:
- shift_ids = [(0, 0, {
- 'hr_shift': new_shift.id,
- 'start_date': start_date,
- 'end_date': end_date
- })]
- contract.shift_schedule = shift_ids
- else:
- seq_no = 1
- new_shift = self.env['resource.calendar'].search([
- ('sequence', '=', seq_no), ('hr_department', '=', self.hr_department.id)], limit=1)
- if new_shift:
- shift_ids = [(0, 0, {
- 'hr_shift': new_shift.id,
- 'start_date': start_date,
- 'end_date': end_date
- })]
- contract.shift_schedule = shift_ids
- else:
- for contract in self.env['hr.contract'].search([]):
- if contract.shift_schedule and contract.department_id:
- for shift_val in contract.shift_schedule:
- shift = shift_val.hr_shift
- start_date = self.start_date
- end_date = self.end_date
- shift_obj = self.env['resource.calendar'].search([('hr_department', '=', contract.department_id.id),
- ('name', '=', shift.name)], limit=1)
- sequence = shift_obj.sequence
- seq_no = sequence + 1
- new_shift = self.env['resource.calendar'].search([
- ('sequence', '=', seq_no), ('hr_department', '=', contract.department_id.id)], limit=1)
- if new_shift:
- shift_ids = [(0, 0, {
- 'hr_shift': new_shift.id,
- 'start_date': start_date,
- 'end_date': end_date
- })]
- contract.shift_schedule = shift_ids
- else:
- seq_no = 1
- new_shift = self.env['resource.calendar'].search([
- ('sequence', '=', seq_no), ('hr_department', '=', contract.department_id.id)], limit=1)
- shift_ids = [(0, 0, {
- 'hr_shift': new_shift.id,
- 'start_date': start_date,
- 'end_date': end_date
- })]
- contract.shift_schedule = shift_ids
-
-
-
-
-
diff --git a/hr_employee_shift/models/hr_shift_payroll.py b/hr_employee_shift/models/hr_shift_payroll.py
deleted file mode 100644
index 2c25766df..000000000
--- a/hr_employee_shift/models/hr_shift_payroll.py
+++ /dev/null
@@ -1,109 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHrms Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Saritha Sahadevan ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from datetime import datetime, timedelta
-from odoo import models, fields, api, _, tools
-
-
-class HrPayroll(models.Model):
- _inherit = 'hr.payslip'
-
- @api.model
- def get_worked_day_lines(self, contract_ids, date_from, date_to):
- """
- @param contract_ids: list of contract id
- @return: returns a list of dict containing the input that should be applied for the given contract between date_from and date_to
- """
-
- def was_on_leave_interval(employee_id, date_from, date_to):
- date_from = fields.Datetime.to_string(date_from)
- date_to = fields.Datetime.to_string(date_to)
- return self.env['hr.holidays'].search([
- ('state', '=', 'validate'),
- ('employee_id', '=', employee_id),
- ('type', '=', 'remove'),
- ('date_from', '<=', date_from),
- ('date_to', '>=', date_to)
- ], limit=1)
-
- res = []
- # fill only if the contract as a working schedule linked
- uom_day = self.env.ref('product.product_uom_day', raise_if_not_found=False)
- for contract in self.env['hr.contract'].browse(contract_ids).filtered(lambda contract: contract):
- uom_hour = contract.employee_id.resource_id.calendar_id.uom_id or self.env.ref('product.product_uom_hour',
- raise_if_not_found=False)
- interval_data = []
- holidays = self.env['hr.holidays']
- attendances = {
- 'name': _("Normal Working Days paid at 100%"),
- 'sequence': 1,
- 'code': 'WORK100',
- 'number_of_days': 0.0,
- 'number_of_hours': 0.0,
- 'contract_id': contract.id,
- }
- leaves = {}
-
- # Gather all intervals and holidays
- for days in contract.shift_schedule:
- start_date = datetime.strptime(days.start_date, tools.DEFAULT_SERVER_DATE_FORMAT)
- end_date = datetime.strptime(days.end_date, tools.DEFAULT_SERVER_DATE_FORMAT)
-
- nb_of_days = (end_date - start_date).days + 1
- for day in range(0, nb_of_days):
-
- working_intervals_on_day = days.hr_shift.get_working_intervals_of_day(
- start_dt=start_date + timedelta(days=day))
- for interval in working_intervals_on_day:
- interval_data.append(
- (interval, was_on_leave_interval(contract.employee_id.id, interval[0], interval[1])))
-
- # Extract information from previous data. A working interval is considered:
- # - as a leave if a hr.holiday completely covers the period
- # - as a working period instead
- for interval, holiday in interval_data:
- holidays |= holiday
- hours = (interval[1] - interval[0]).total_seconds() / 3600.0
- if holiday:
- # if he was on leave, fill the leaves dict
- if holiday.holiday_status_id.name in leaves:
- leaves[holiday.holiday_status_id.name]['number_of_hours'] += hours
- else:
- leaves[holiday.holiday_status_id.name] = {
- 'name': holiday.holiday_status_id.name,
- 'sequence': 5,
- 'code': holiday.holiday_status_id.name,
- 'number_of_days': 0.0,
- 'number_of_hours': hours,
- 'contract_id': contract.id,
- }
- else:
- # add the input vals to tmp (increment if existing)
- attendances['number_of_hours'] += hours
- # Clean-up the results
- leaves = [value for key, value in leaves.items()]
- for data in [attendances] + leaves:
- data['number_of_days'] = uom_hour._compute_quantity(data['number_of_hours'], uom_day) \
- if uom_day and uom_hour \
- else data['number_of_hours'] / 8.0
- res.append(data)
- return res
\ No newline at end of file
diff --git a/hr_employee_shift/security/hr_employee_shift_security.xml b/hr_employee_shift/security/hr_employee_shift_security.xml
deleted file mode 100644
index 2b9a20882..000000000
--- a/hr_employee_shift/security/hr_employee_shift_security.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
- Hr Shift Multi Company
-
-
- ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
-
-
-
- Hr Shift Genarate Multi Company
-
-
- ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
-
-
\ No newline at end of file
diff --git a/hr_employee_shift/security/ir.model.access.csv b/hr_employee_shift/security/ir.model.access.csv
deleted file mode 100644
index a51d85c3b..000000000
--- a/hr_employee_shift/security/ir.model.access.csv
+++ /dev/null
@@ -1,3 +0,0 @@
-id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
-access_hr_employee_shift_hr_employee_shift,hr_employee_shift.hr_shift_schedule,model_hr_shift_schedule,hr.group_hr_manager,1,1,1,1
-access_hr_employee_shift_hr_employee_shift1,hr_employee_shift.hr_shift_generate,model_hr_shift_generate,hr.group_hr_manager,1,1,1,1
\ No newline at end of file
diff --git a/hr_employee_shift/static/description/HRMS-BUTTON.png b/hr_employee_shift/static/description/HRMS-BUTTON.png
deleted file mode 100644
index 0f1b65bea..000000000
Binary files a/hr_employee_shift/static/description/HRMS-BUTTON.png and /dev/null differ
diff --git a/hr_employee_shift/static/description/banner.jpg b/hr_employee_shift/static/description/banner.jpg
deleted file mode 100644
index 9d6978271..000000000
Binary files a/hr_employee_shift/static/description/banner.jpg and /dev/null differ
diff --git a/hr_employee_shift/static/description/contract1.png b/hr_employee_shift/static/description/contract1.png
deleted file mode 100644
index 2fcae184f..000000000
Binary files a/hr_employee_shift/static/description/contract1.png and /dev/null differ
diff --git a/hr_employee_shift/static/description/create_shift.png b/hr_employee_shift/static/description/create_shift.png
deleted file mode 100644
index 9bdaf57ea..000000000
Binary files a/hr_employee_shift/static/description/create_shift.png and /dev/null differ
diff --git a/hr_employee_shift/static/description/cybro-service.png b/hr_employee_shift/static/description/cybro-service.png
deleted file mode 100644
index 252929a86..000000000
Binary files a/hr_employee_shift/static/description/cybro-service.png and /dev/null differ
diff --git a/hr_employee_shift/static/description/cybro_logo.png b/hr_employee_shift/static/description/cybro_logo.png
deleted file mode 100644
index bb309114c..000000000
Binary files a/hr_employee_shift/static/description/cybro_logo.png and /dev/null differ
diff --git a/hr_employee_shift/static/description/generate_schedule.png b/hr_employee_shift/static/description/generate_schedule.png
deleted file mode 100644
index 72b434978..000000000
Binary files a/hr_employee_shift/static/description/generate_schedule.png and /dev/null differ
diff --git a/hr_employee_shift/static/description/icon.png b/hr_employee_shift/static/description/icon.png
deleted file mode 100644
index 674251dd4..000000000
Binary files a/hr_employee_shift/static/description/icon.png and /dev/null differ
diff --git a/hr_employee_shift/static/description/index.html b/hr_employee_shift/static/description/index.html
deleted file mode 100644
index 643f69434..000000000
--- a/hr_employee_shift/static/description/index.html
+++ /dev/null
@@ -1,136 +0,0 @@
-
-
- Employee Shift Management is a component of Open HRMS suit.
- This module allows the user to create and manage employee work shifts.
- Administrator can create various shifts according to the working hours and assign the Shift in
- employee work contract. The module also helps to automatically assign new shift according to
- the shift sequence
-
-
-
-
-
-
-
-
-
Create Employee Shift
-
-
-
-
-
-
-
-
-
-
Employee Shift In Contract
-
-
-
-
-
-
-
Have an option to schedule shift in employee contract form.
- It is very important to create atleast one shift schedule manually in contract form
-
-
-
-
-
-
-
-
Generate Automatic Shifts
-
-
Automatically assign new shift according to the shift sequence
-
-
-
-
-
-
-
- Shift Working Time
- resource.calendar
- form
- kanban,tree,form
-
-
-
-
- Define working hours and time table that could be scheduled to your project members
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/hr_employee_shift/views/hr_generate_shift_view.xml b/hr_employee_shift/views/hr_generate_shift_view.xml
deleted file mode 100644
index 63d411109..000000000
--- a/hr_employee_shift/views/hr_generate_shift_view.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-
- hr_employee_shift_generate_schedule form
- hr.shift.generate
-
-
-
-
-
-
-
- Employee Shift
- hr.shift.generate
- form
- new
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/hr_employee_shift/views/templates.xml b/hr_employee_shift/views/templates.xml
deleted file mode 100644
index 6768c74e2..000000000
--- a/hr_employee_shift/views/templates.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/hr_insurance/README.rst b/hr_insurance/README.rst
deleted file mode 100644
index f5cae3780..000000000
--- a/hr_insurance/README.rst
+++ /dev/null
@@ -1,39 +0,0 @@
-OHRMS Employee Insurance Management v10
-=======================================
-
-Employee insurance management for Open HRMS.
-
-Depends
-=======
-[hr] addon Odoo
-
-Tech
-====
-* [Python] - Models
-* [XML] - Odoo views
-
-Installation
-============
-- www.odoo.com/documentation/10.0/setup/install.html
-- Install our custom addon
-
-
-Bug Tracker
-===========
-Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.
-
-Credits
-=======
-* Cybrosys Techno Solutions
-
-Author
-------
-
-Developer: Treesa Maria Jude @ cybrosys, treesa@cybrosys.in
-
-Maintainer
-----------
-
-This module is maintained by Cybrosys Technologies.
-
-For support and more information, please visit https://www.cybrosys.com.
diff --git a/hr_insurance/RELEASE_NOTES.md b/hr_insurance/RELEASE_NOTES.md
deleted file mode 100644
index 97c725f14..000000000
--- a/hr_insurance/RELEASE_NOTES.md
+++ /dev/null
@@ -1,6 +0,0 @@
-## Module hr_insurance
-
-#### 21.04.2018
-#### Version 11.0.1.0.0
-##### ADD
-- Initial commit for OpenHrms Project
diff --git a/hr_insurance/__init__.py b/hr_insurance/__init__.py
deleted file mode 100644
index 1609385da..000000000
--- a/hr_insurance/__init__.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Treesa Maria Jude ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-
-from . import models
diff --git a/hr_insurance/__manifest__.py b/hr_insurance/__manifest__.py
deleted file mode 100644
index 7aff1a7f0..000000000
--- a/hr_insurance/__manifest__.py
+++ /dev/null
@@ -1,49 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of Open HRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Treesa Maria Jude ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-
-{
- 'name': 'Open HRMS Employee Insurance',
- 'version': '11.0.1.0.0',
- 'summary': """Employee Insurance Management for Open HRMS.""",
- 'description': """Manages insurance amounts for employees to be deducted from salary""",
- 'category': 'Human Resources',
- 'author': 'Cybrosys Techno solutions',
- 'maintainer': 'Cybrosys Techno Solutions',
- 'company': 'Cybrosys Techno Solutions',
- 'website': 'https://www.openhrms.com',
- 'depends': [
- 'base', 'hr', 'hr_payroll',
- ],
- 'data': [
- 'security/ir.model.access.csv',
- 'security/hr_insurance_security.xml',
- 'views/employee_insurance_view.xml',
- 'views/insurance_salary_stucture.xml',
- 'views/policy_management.xml',
- ],
- 'images': ['static/description/banner.jpg'],
- 'license': 'AGPL-3',
- 'installable': True,
- 'auto_install': False,
- 'application': False,
-}
diff --git a/hr_insurance/models/__init__.py b/hr_insurance/models/__init__.py
deleted file mode 100644
index d83103344..000000000
--- a/hr_insurance/models/__init__.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Treesa Maria Jude ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-
-from . import policy_details
-from . import employee_insurance
diff --git a/hr_insurance/models/__init__.pyc b/hr_insurance/models/__init__.pyc
deleted file mode 100644
index f1be60292..000000000
Binary files a/hr_insurance/models/__init__.pyc and /dev/null differ
diff --git a/hr_insurance/models/employee_insurance.py b/hr_insurance/models/employee_insurance.py
deleted file mode 100644
index 3af541f43..000000000
--- a/hr_insurance/models/employee_insurance.py
+++ /dev/null
@@ -1,120 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Treesa Maria Jude ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-
-import time
-from datetime import datetime
-from dateutil import relativedelta
-from odoo import models, fields, api, _
-
-
-class EmployeeInsurance(models.Model):
- _name = 'hr.insurance'
- _description = 'HR Insurance'
- _rec_name = 'employee_id'
-
- employee_id = fields.Many2one('hr.employee', string='Employee', required=True)
- policy_id = fields.Many2one('insurance.policy', string='Policy', required=True)
- amount = fields.Float(string='Policy Amount', required=True)
- sum_insured = fields.Float(string="Sum Insured", required=True)
- policy_coverage = fields.Selection([('monthly', 'Monthly'), ('yearly', 'Yearly')],
- required=True, default='monthly',
- string='Policy Coverage',)
- date_from = fields.Date(string='Date From',
- default=time.strftime('%Y-%m-%d'), readonly=True)
- date_to = fields.Date(string='Date To', readonly=True,
- default=str(datetime.now() + relativedelta.relativedelta(months=+1, day=1, days=-1))[:10])
- state = fields.Selection([('active', 'Active'),
- ('expired', 'Expired'), ],
- default='active', string="State",compute='get_status')
- company_id = fields.Many2one('res.company', string='Company', required=True,
- default=lambda self: self.env.user.company_id)
-
- def get_status(self):
- current_datetime = datetime.now()
- for i in self:
- x = datetime.strptime(i.date_from, '%Y-%m-%d')
- y = datetime.strptime(i.date_to, '%Y-%m-%d')
- if x <= current_datetime and y >= current_datetime:
- i.state = 'active'
-
- else:
- i.state = 'expired'
-
- @api.constrains('policy_coverage')
- @api.onchange('policy_coverage')
- def get_policy_period(self):
-
- if self.policy_coverage == 'monthly':
- self.date_to = str(datetime.now() + relativedelta.relativedelta(months=+1, day=1, days=-1))[:10]
- if self.policy_coverage == 'yearly':
- self.date_to = str(datetime.now() + relativedelta.relativedelta(months=+12))[:10]
-
-
-class HrInsurance(models.Model):
- _inherit = 'hr.employee'
-
- insurance_percentage = fields.Float(string="Company Percentage ")
- deduced_amount_per_month = fields.Float(string="Salary deduced per month", compute="get_deduced_amount")
- deduced_amount_per_year = fields.Float(string="Salary deduced per year", compute="get_deduced_amount")
- insurance = fields.One2many('hr.insurance', 'employee_id', string="Insurance",
- domain=[('state', '=', 'active')])
-
- def get_deduced_amount(self):
- current_datetime = datetime.now()
- for emp in self:
- ins_amount = 0
- for ins in emp.insurance:
-
- x = datetime.strptime(ins.date_from, '%Y-%m-%d')
- y = datetime.strptime(ins.date_to, '%Y-%m-%d')
- if x < current_datetime and y > current_datetime:
- if ins.policy_coverage == 'monthly':
-
- ins_amount = ins_amount + (ins.amount*12)
- else:
-
- ins_amount = ins_amount + ins.amount
-
- emp.deduced_amount_per_year = ins_amount-((ins_amount*emp.insurance_percentage)/100)
- emp.deduced_amount_per_month = emp.deduced_amount_per_year/12
-
-
-class InsuranceRuleInput(models.Model):
- _inherit = 'hr.payslip'
-
- # insurance_amount = fields.Float("Insurance amount", compute='get_inputs')
-
- def get_inputs(self, contract_ids, date_from, date_to):
- """This Compute the other inputs to employee payslip.
- """
- res = super(InsuranceRuleInput, self).get_inputs(contract_ids, date_from, date_to)
-
- contract_obj = self.env['hr.contract']
- for i in contract_ids:
- if contract_ids[0]:
- emp_id = contract_obj.browse(i[0].id).employee_id
- for result in res:
- if emp_id.deduced_amount_per_month != 0 and result.get('code') == 'INSUR':
- result['amount'] = emp_id.deduced_amount_per_month
- return res
-
diff --git a/hr_insurance/models/employee_insurance.pyc b/hr_insurance/models/employee_insurance.pyc
deleted file mode 100644
index 5fd511ca9..000000000
Binary files a/hr_insurance/models/employee_insurance.pyc and /dev/null differ
diff --git a/hr_insurance/models/policy_details.py b/hr_insurance/models/policy_details.py
deleted file mode 100644
index 0b0b07866..000000000
--- a/hr_insurance/models/policy_details.py
+++ /dev/null
@@ -1,33 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Treesa Maria Jude ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-
-from odoo import models, fields, api
-
-
-class InsurancePolicy(models.Model):
- _name = 'insurance.policy'
-
- name = fields.Char(string='Name', required=True)
- note_field = fields.Html(string='Comment')
- company_id = fields.Many2one('res.company', string='Company', required=True,
- default=lambda self: self.env.user.company_id)
diff --git a/hr_insurance/models/policy_details.pyc b/hr_insurance/models/policy_details.pyc
deleted file mode 100644
index 3918bddb3..000000000
Binary files a/hr_insurance/models/policy_details.pyc and /dev/null differ
diff --git a/hr_insurance/security/hr_insurance_security.xml b/hr_insurance/security/hr_insurance_security.xml
deleted file mode 100644
index e96c9cb84..000000000
--- a/hr_insurance/security/hr_insurance_security.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
- Hr Insurancy Company
-
-
- ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
-
-
-
- Hr Insurance Policy company
-
-
- ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
-
-
\ No newline at end of file
diff --git a/hr_insurance/security/ir.model.access.csv b/hr_insurance/security/ir.model.access.csv
deleted file mode 100644
index 030098bdb..000000000
--- a/hr_insurance/security/ir.model.access.csv
+++ /dev/null
@@ -1,8 +0,0 @@
-id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
-
-access_hr_insurance_policy_officer,hr.insurance_policy.officer,hr_insurance.model_insurance_policy,hr.group_hr_user,1,1,1,1
-access_hr_insurance_policy_employee,hr.insurance_policy.employee,hr_insurance.model_insurance_policy,hr.group_hr_manager,1,1,1,1
-access_hr_insurance_policy_manager,hr.insurance_policy.manager,hr_insurance.model_insurance_policy,base.group_user,1,0,0,0
-access_hr_insurance_officer,hr.insurance.officer,hr_insurance.model_hr_insurance,hr.group_hr_user,1,1,1,1
-access_hr_insurance_employee,hr.insurance.employee,hr_insurance.model_hr_insurance,hr.group_hr_manager,1,1,1,1
-access_hr_insurance_manager,hr.insurance.manager,hr_insurance.model_hr_insurance,base.group_user,1,0,0,0
diff --git a/hr_insurance/static/description/HRMS-BUTTON.png b/hr_insurance/static/description/HRMS-BUTTON.png
deleted file mode 100644
index 0f1b65bea..000000000
Binary files a/hr_insurance/static/description/HRMS-BUTTON.png and /dev/null differ
diff --git a/hr_insurance/static/description/banner.jpg b/hr_insurance/static/description/banner.jpg
deleted file mode 100644
index f64af7d11..000000000
Binary files a/hr_insurance/static/description/banner.jpg and /dev/null differ
diff --git a/hr_insurance/static/description/cybro-service.png b/hr_insurance/static/description/cybro-service.png
deleted file mode 100644
index 252929a86..000000000
Binary files a/hr_insurance/static/description/cybro-service.png and /dev/null differ
diff --git a/hr_insurance/static/description/cybro_logo.png b/hr_insurance/static/description/cybro_logo.png
deleted file mode 100644
index bb309114c..000000000
Binary files a/hr_insurance/static/description/cybro_logo.png and /dev/null differ
diff --git a/hr_insurance/static/description/employee.png b/hr_insurance/static/description/employee.png
deleted file mode 100644
index b3241d3fb..000000000
Binary files a/hr_insurance/static/description/employee.png and /dev/null differ
diff --git a/hr_insurance/static/description/icon.png b/hr_insurance/static/description/icon.png
deleted file mode 100644
index b65b2782f..000000000
Binary files a/hr_insurance/static/description/icon.png and /dev/null differ
diff --git a/hr_insurance/static/description/index.html b/hr_insurance/static/description/index.html
deleted file mode 100644
index eb55e19a3..000000000
--- a/hr_insurance/static/description/index.html
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
- This module allows tracking the insurance details allowed for employees. Also
- efficiently manages the insurance allowances with the salary. You can manage
- the percentage of insurance amount to be deduced from the salary.
-
-
-
-
-
-
-
-
diff --git a/hr_leave_request_aliasing/README.md b/hr_leave_request_aliasing/README.md
deleted file mode 100644
index bbebcea82..000000000
--- a/hr_leave_request_aliasing/README.md
+++ /dev/null
@@ -1,25 +0,0 @@
-Open HRMS Leave Request Aliasing
---------------------------------
-Supporting Addon for Open HRMS, Allows You To Create Leave Request Automatically From Incoming Emails.
-
-Connect with experts
---------------------
-
-If you have any question/queries/additional works on OpenHRMS or this module, You can drop an email directly to Cybrosys.
-
-Technical Notes
----------------
-
-Here you need to send leave request through email with the following rules.
-* You must send leave request through your registered email id.
-* Mail subject must be start with 'LEAVE REQUEST '
-* Mail body must contain date as per given format (%d/%m/%Y)
-
-Contacts
---------
-info - info@cybrosys.com
-Jesni Banu - jesni@cybrosys.in
-
-Website:
-https://www.openhrms.com
-https://www.cybrosys.com
diff --git a/hr_leave_request_aliasing/__init__.py b/hr_leave_request_aliasing/__init__.py
deleted file mode 100644
index b579ce91c..000000000
--- a/hr_leave_request_aliasing/__init__.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Jesni Banu ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from . import models
-
-
diff --git a/hr_leave_request_aliasing/__manifest__.py b/hr_leave_request_aliasing/__manifest__.py
deleted file mode 100644
index 7dcaee642..000000000
--- a/hr_leave_request_aliasing/__manifest__.py
+++ /dev/null
@@ -1,45 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of Open HRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Jesni Banu ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-{
- 'name': 'Open HRMS Leave Request Aliasing',
- 'version': '11.0.1.0.0',
- 'summary': """Allows You To Create Leave Request Automatically From Incoming Mails""",
- 'description': 'This module allows you to create leave request directly from incoming mails.',
- 'category': 'Generic Modules/Human Resources',
- 'author': 'Cybrosys Techno Solutions',
- 'company': 'Cybrosys Techno Solutions',
- 'website': "https://www.openhrms.com",
- 'depends': ['base_setup', 'hr_holidays'],
- 'data': [
- 'data/web_planner_data.xml',
- 'views/hr_leave_template.xml',
- 'views/leave_request_alias_view.xml',
- 'views/res_config_views.xml',
- ],
- 'demo': [],
- 'images': ['static/description/banner.jpg'],
- 'license': 'AGPL-3',
- 'installable': True,
- 'auto_install': False,
- 'application': False,
-}
diff --git a/hr_leave_request_aliasing/data/web_planner_data.xml b/hr_leave_request_aliasing/data/web_planner_data.xml
deleted file mode 100644
index c21ce1667..000000000
--- a/hr_leave_request_aliasing/data/web_planner_data.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
-
- Setup
-
-
- Get Mobile
-
-
- Your email gateway is not configured. Please configure your email
- gateway from the Settings app, menu General Settings.
-
-
- Once your email gateway is configured, come back to this screen
- to setup the next steps.
-
-
-
-
- To create leave request by email, send leave request by email with the following
- information:
-
-
-
-
From: Your Email
-
Your Email Address
-
To:
-
@
-
Subject:
-
LEAVE REQUEST Free Description with Date From: and Date To:
-
-
-
- The LEAVE REQUEST is mandatory and should be in the
- subject of your email. This
- will root the leave request automatically on your
- Odoo.
-
- Also you need to set Date From: and Date To:
- at the end of the body of your email.
-
-
- Note: Set the same email address on your employee form(working email) than
- the one you use are your "From:". Otherwise, your
- leave request will not be accepted by email.
-
-
-
-
-
-
- End
-
-
-
-
-
-
Congratulations, you're done!
-
We hope this feature helped you manage your leave request efficiently.
-
Don't hesitate to send us an email to describe your experience or to suggest improvements!
-
-
Have a wonderful day, - Cybrosys
-
-
-
-
-
-
-
- Leave strategy planner
-
-
- planner_hr_leave
-
-
-
-
diff --git a/hr_leave_request_aliasing/doc/RELEASE_NOTES.md b/hr_leave_request_aliasing/doc/RELEASE_NOTES.md
deleted file mode 100644
index d8cbf249f..000000000
--- a/hr_leave_request_aliasing/doc/RELEASE_NOTES.md
+++ /dev/null
@@ -1,6 +0,0 @@
-## Module
-
-#### 24.03.2018
-#### Version 11.0.1.0.0
-##### ADD
-- Initial commit for Open HRMS Project
diff --git a/hr_leave_request_aliasing/models/__init__.py b/hr_leave_request_aliasing/models/__init__.py
deleted file mode 100644
index 79435f83b..000000000
--- a/hr_leave_request_aliasing/models/__init__.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Jesni Banu ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from . import leave_request_alias
-from . import res_config
-from . import web_planner
-
-
diff --git a/hr_leave_request_aliasing/models/__init__.pyc b/hr_leave_request_aliasing/models/__init__.pyc
deleted file mode 100644
index e57e06aa2..000000000
Binary files a/hr_leave_request_aliasing/models/__init__.pyc and /dev/null differ
diff --git a/hr_leave_request_aliasing/models/__pycache__/__init__.cpython-35.pyc b/hr_leave_request_aliasing/models/__pycache__/__init__.cpython-35.pyc
deleted file mode 100644
index 0e1b707d6..000000000
Binary files a/hr_leave_request_aliasing/models/__pycache__/__init__.cpython-35.pyc and /dev/null differ
diff --git a/hr_leave_request_aliasing/models/__pycache__/leave_request_alias.cpython-35.pyc b/hr_leave_request_aliasing/models/__pycache__/leave_request_alias.cpython-35.pyc
deleted file mode 100644
index 9bcfd4d4a..000000000
Binary files a/hr_leave_request_aliasing/models/__pycache__/leave_request_alias.cpython-35.pyc and /dev/null differ
diff --git a/hr_leave_request_aliasing/models/__pycache__/res_config.cpython-35.pyc b/hr_leave_request_aliasing/models/__pycache__/res_config.cpython-35.pyc
deleted file mode 100644
index c4b0aa136..000000000
Binary files a/hr_leave_request_aliasing/models/__pycache__/res_config.cpython-35.pyc and /dev/null differ
diff --git a/hr_leave_request_aliasing/models/__pycache__/web_planner.cpython-35.pyc b/hr_leave_request_aliasing/models/__pycache__/web_planner.cpython-35.pyc
deleted file mode 100644
index f69ca2b3b..000000000
Binary files a/hr_leave_request_aliasing/models/__pycache__/web_planner.cpython-35.pyc and /dev/null differ
diff --git a/hr_leave_request_aliasing/models/leave_request_alias.py b/hr_leave_request_aliasing/models/leave_request_alias.py
deleted file mode 100644
index 2e326c22b..000000000
--- a/hr_leave_request_aliasing/models/leave_request_alias.py
+++ /dev/null
@@ -1,73 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Jesni Banu ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-import re
-from datetime import datetime, timedelta
-from odoo import models, api
-from odoo.tools import email_split
-
-
-class HrLeaveAlias(models.Model):
- _inherit = 'hr.holidays'
-
- @api.model
- def message_new(self, msg_dict, custom_values=None):
- """This function extracts required fields of hr.holidays from incoming mail then creating records"""
- try:
- if custom_values is None:
- custom_values = {}
- msg_subject = msg_dict.get('subject', '')
- subject = re.search('LEAVE REQUEST', msg_subject)
- if subject is not None:
- email_address = email_split(msg_dict.get('email_from', False))[0]
- employee = self.env['hr.employee'].sudo().search([
- '|',
- ('work_email', 'ilike', email_address),
- ('user_id.email', 'ilike', email_address)
- ], limit=1)
- msg_body = msg_dict.get('body', '')
- cleaner = re.compile('<.*?>')
- clean_msg_body = re.sub(cleaner, '', msg_body)
- date_list = re.findall(r'\d{2}/\d{2}/\d{4}', clean_msg_body)
- if len(date_list) > 0:
- date_from = date_list[0]
- if len(date_list) > 1:
- start_date = datetime.strptime(date_list[1], '%d/%m/%Y')
- date_to = start_date + timedelta(days=0)
- else:
- start_date = datetime.strptime(date_list[0], '%d/%m/%Y')
- date_to = start_date + timedelta(days=1)
- no_of_days_temp = (datetime.strptime(str(date_to), "%Y-%m-%d %H:%M:%S") -
- datetime.strptime(date_from, '%d/%m/%Y')).days
- custom_values.update({
- 'name': msg_subject.strip(),
- 'employee_id': employee.id,
- 'holiday_status_id': 1,
- 'date_from': date_from,
- 'date_to': date_to,
- 'no_of_days_temp': no_of_days_temp
- })
- return super(HrLeaveAlias, self).message_new(msg_dict, custom_values)
- except:
- pass
-
-
diff --git a/hr_leave_request_aliasing/models/leave_request_alias.pyc b/hr_leave_request_aliasing/models/leave_request_alias.pyc
deleted file mode 100644
index 20a57a492..000000000
Binary files a/hr_leave_request_aliasing/models/leave_request_alias.pyc and /dev/null differ
diff --git a/hr_leave_request_aliasing/models/res_config.py b/hr_leave_request_aliasing/models/res_config.py
deleted file mode 100644
index 58df9c676..000000000
--- a/hr_leave_request_aliasing/models/res_config.py
+++ /dev/null
@@ -1,48 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Jesni Banu ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from odoo import api, fields, models
-
-
-class HrLeaveConfigSettings(models.TransientModel):
- _inherit = 'res.config.settings'
-
- alias_prefix = fields.Char(string='Default Alias Name for Leave', help='Default Alias Name for Leave')
- alias_domain = fields.Char(string='Alias Domain', help='Default Alias Domain for Leave',
- default=lambda self: self.env["ir.config_parameter"].get_param("mail.catchall.domain"))
-
- def set_values(self):
- super(HrLeaveConfigSettings, self).set_values()
- set_param = self.env['ir.config_parameter'].set_param
- set_param('alias_prefix', self.alias_prefix)
- set_param('alias_domain', self.alias_domain )
-
- @api.model
- def get_values(self):
- res = super(HrLeaveConfigSettings, self).get_values()
- get_param = self.env['ir.config_parameter'].sudo().get_param
- res.update(
- alias_prefix=get_param('alias_prefix', default=''),
- alias_domain=get_param('alias_domain', default=''),
- )
- return res
-
diff --git a/hr_leave_request_aliasing/models/res_config.pyc b/hr_leave_request_aliasing/models/res_config.pyc
deleted file mode 100644
index f9621da98..000000000
Binary files a/hr_leave_request_aliasing/models/res_config.pyc and /dev/null differ
diff --git a/hr_leave_request_aliasing/models/web_planner.py b/hr_leave_request_aliasing/models/web_planner.py
deleted file mode 100644
index e62a026d5..000000000
--- a/hr_leave_request_aliasing/models/web_planner.py
+++ /dev/null
@@ -1,44 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Jesni Banu ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from odoo import api, models
-
-
-class PlannerHrLeave(models.Model):
- """This class is used to activate web.planner feature in 'hr_leave_request_aliasing' module"""
-
- _inherit = 'web.planner'
-
- @api.model
- def _get_planner_application(self):
- planner = super(PlannerHrLeave, self)._get_planner_application()
- planner.append(['planner_hr_leave', 'Leave Planner'])
- return planner
-
- @api.model
- def _prepare_planner_hr_leave_data(self):
- alias_record = self.env.ref('hr_leave_request_aliasing.mail_alias_leave')
- return {
- 'alias_domain': alias_record.alias_domain,
- 'alias_name': alias_record.alias_name,
- }
-
diff --git a/hr_leave_request_aliasing/models/web_planner.pyc b/hr_leave_request_aliasing/models/web_planner.pyc
deleted file mode 100644
index 8a7a9c706..000000000
Binary files a/hr_leave_request_aliasing/models/web_planner.pyc and /dev/null differ
diff --git a/hr_leave_request_aliasing/static/description/HRMS-BUTTON.png b/hr_leave_request_aliasing/static/description/HRMS-BUTTON.png
deleted file mode 100644
index 0f1b65bea..000000000
Binary files a/hr_leave_request_aliasing/static/description/HRMS-BUTTON.png and /dev/null differ
diff --git a/hr_leave_request_aliasing/static/description/banner.jpg b/hr_leave_request_aliasing/static/description/banner.jpg
deleted file mode 100644
index 06286d846..000000000
Binary files a/hr_leave_request_aliasing/static/description/banner.jpg and /dev/null differ
diff --git a/hr_leave_request_aliasing/static/description/cybro-service.png b/hr_leave_request_aliasing/static/description/cybro-service.png
deleted file mode 100644
index 252929a86..000000000
Binary files a/hr_leave_request_aliasing/static/description/cybro-service.png and /dev/null differ
diff --git a/hr_leave_request_aliasing/static/description/cybro_logo.png b/hr_leave_request_aliasing/static/description/cybro_logo.png
deleted file mode 100644
index bb309114c..000000000
Binary files a/hr_leave_request_aliasing/static/description/cybro_logo.png and /dev/null differ
diff --git a/hr_leave_request_aliasing/static/description/icon.png b/hr_leave_request_aliasing/static/description/icon.png
deleted file mode 100644
index 2ebe3a208..000000000
Binary files a/hr_leave_request_aliasing/static/description/icon.png and /dev/null differ
diff --git a/hr_leave_request_aliasing/static/description/index.html b/hr_leave_request_aliasing/static/description/index.html
deleted file mode 100644
index 6c368f8a3..000000000
--- a/hr_leave_request_aliasing/static/description/index.html
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
- ☑ Automation on Leaves Request Mails.
- ☑ Option to Set Aliasing Domain Separately for Leave Request.
-
-
-
-
-
-
-
-
Overview
-
- Email aliasing is a default feature in Odoo which allows the user to fetch contents to ERP records directly from incoming emails.
- The feature is a type of automation. Since we can configure the E-mails to fetch contents directly.
- So here we are providing one of the new module to create leave request automatically from incoming email.
-
-
-
-
-
-
-
-
-
-
-
-
- Here we can send leave request through our registered email id. Then it will create leave
- request in Odoo. We must ensure that our mail subject must start with 'LEAVE REQUEST ' and date
- format must be as '%d/%m/%Y'.
-
-
- You can setup a generic email alias to create
- incoming leave request easily. Write an email with the desired
- format to create leave request in one click.
- Format:- Start subject with 'LEAVE REQUEST'. After your mail content mention
- 'Date From:' and 'Date To:'.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Leaves Config
- ir.actions.act_window
- res.config.settings
- form
- inline
- {'module' : 'hr_leave_request_aliasing'}
-
-
-
-
-
diff --git a/hr_payslip_monthly_report/README.rst b/hr_payslip_monthly_report/README.rst
deleted file mode 100644
index 05daa3a00..000000000
--- a/hr_payslip_monthly_report/README.rst
+++ /dev/null
@@ -1,14 +0,0 @@
-Payroll-Payslip Reporting v11
-=============================
-This Module help Human resource managers to get a over all view for the payslips as pivot.
-
-Features
-========
-
-* Pivot view for HR payslips.
-* Group By options like Employee wise, department wise, job title wise, date wise, status wise and Company wise.
-* Spot Export to XLS Report.
-
-Credits
-=======
-Nikhil Krishnan @ cybrosys, nikhil@cybrosys.in
\ No newline at end of file
diff --git a/hr_payslip_monthly_report/__init__.py b/hr_payslip_monthly_report/__init__.py
deleted file mode 100644
index 4eb511d10..000000000
--- a/hr_payslip_monthly_report/__init__.py
+++ /dev/null
@@ -1,22 +0,0 @@
-# -*- coding: utf-8 -*-
-##############################################################################
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2017-TODAY Cybrosys Technologies().
-# Author: Nikhil krishnan()
-# you can modify it under the terms of the GNU LESSER
-# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
-#
-# It is forbidden to publish, distribute, sublicense, or sell copies
-# of the Software or modified copies of the Software.
-#
-# 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
-# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
-# If not, see .
-#
-##############################################################################
-from . import models
diff --git a/hr_payslip_monthly_report/__manifest__.py b/hr_payslip_monthly_report/__manifest__.py
deleted file mode 100644
index 2ae032f9d..000000000
--- a/hr_payslip_monthly_report/__manifest__.py
+++ /dev/null
@@ -1,43 +0,0 @@
-# -*- coding: utf-8 -*-
-##############################################################################
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2017-TODAY Cybrosys Technologies().
-# Author: Nikhil krishnan()
-# you can modify it under the terms of the GNU LESSER
-# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
-#
-# It is forbidden to publish, distribute, sublicense, or sell copies
-# of the Software or modified copies of the Software.
-#
-# 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
-# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
-# If not, see .
-#
-##############################################################################
-{
- 'name': 'Payroll-Payslip Reporting',
- 'version': '11.0.1.0.0',
- 'summary': """Payslip Pivot View Report.""",
- 'description': """Payslip monthly report.
- This module gives a pivot view for the HR managers. they can see all the 'NET' amount of payslips in all states""",
- 'author': 'Cybrosys Techno Solutions',
- 'company': 'Cybrosys Techno Solutions',
- 'maintainer': 'Cybrosys Techno Solutions',
- 'website': 'https://www.cybrosys.com',
- 'category': 'Generic Modules/Human Resources',
- 'depends': ['hr_payroll'],
- 'license': 'LGPL-3',
- 'data': [
- 'security/ir.model.access.csv',
- 'views/menu_payslip_report.xml'
- ],
- 'demo': [],
- 'images': ['static/description/banner.jpg'],
- 'installable': True,
- 'auto_install': False,
-}
diff --git a/hr_payslip_monthly_report/__manifest__.py~ b/hr_payslip_monthly_report/__manifest__.py~
deleted file mode 100644
index 1a56c822e..000000000
--- a/hr_payslip_monthly_report/__manifest__.py~
+++ /dev/null
@@ -1,45 +0,0 @@
-# -*- coding: utf-8 -*-
-
-##############################################################################
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2017-TODAY Cybrosys Technologies().
-# Author: Nikhil krishnan()
-# you can modify it under the terms of the GNU LESSER
-# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
-#
-# It is forbidden to publish, distribute, sublicense, or sell copies
-# of the Software or modified copies of the Software.
-#
-# 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
-# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
-# If not, see .
-#
-##############################################################################
-
-{
- 'name': 'Payroll-Payslip Reporting',
- 'version': '10.0.1.0.0',
- 'summary': """Payslip Pivot View Report.""",
- 'description': """Payslip monthly report.
- This module gives a pivot view for the HR managers. they can see all the 'NET' amount of payslips in all states""",
- 'author': 'Cybrosys Techno Solutions',
- 'company': 'Cybrosys Techno Solutions',
- 'website': 'http://www.cybrosys.com',
- 'category': 'Human Resources',
- 'depends': ['hr_payroll'],
- 'license': 'LGPL-3',
- 'data': [
- 'security/ir.model.access.csv',
- 'views/menu_payslip_report.xml'
- ],
- 'demo': [],
- 'images': ['static/description/banner.jpg'],
- 'installable': True,
- 'auto_install': False,
-}
diff --git a/hr_payslip_monthly_report/models/__init__.py b/hr_payslip_monthly_report/models/__init__.py
deleted file mode 100644
index ab733466e..000000000
--- a/hr_payslip_monthly_report/models/__init__.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- coding: utf-8 -*-
-##############################################################################
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2017-TODAY Cybrosys Technologies().
-# Author: Nikhil krishnan()
-# you can modify it under the terms of the GNU LESSER
-# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
-#
-# It is forbidden to publish, distribute, sublicense, or sell copies
-# of the Software or modified copies of the Software.
-#
-# 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
-# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
-# If not, see .
-#
-##############################################################################
-from . import hr_payroll_report
-
diff --git a/hr_payslip_monthly_report/models/hr_payroll_report.py b/hr_payslip_monthly_report/models/hr_payroll_report.py
deleted file mode 100644
index 2c05fcad9..000000000
--- a/hr_payslip_monthly_report/models/hr_payroll_report.py
+++ /dev/null
@@ -1,70 +0,0 @@
-# -*- coding: utf-8 -*-
-##############################################################################
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2017-TODAY Cybrosys Technologies().
-# Author: Nikhil krishnan()
-# you can modify it under the terms of the GNU LESSER
-# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
-#
-# It is forbidden to publish, distribute, sublicense, or sell copies
-# of the Software or modified copies of the Software.
-#
-# 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
-# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
-# If not, see .
-#
-##############################################################################
-from odoo import fields, models, tools, api
-
-
-class PayrollReportView(models.Model):
- _name = 'hr.payroll.report.view'
- _auto = False
-
- name = fields.Many2one('hr.employee', string='Employee')
- date_from = fields.Date(string='From')
- date_to = fields.Date(string='To')
- state = fields.Selection([('draft', 'Draft'), ('verify', 'Waiting'), ('done', 'Done'), ('cancel', 'Rejected')],
- string='Status')
- job_id = fields.Many2one('hr.job', string='Job Title')
- company_id = fields.Many2one('res.company', string='Company')
- department_id = fields.Many2one('hr.department', string='Department')
- net = fields.Float(string='Net Salary')
-
- def _select(self):
- select_str = """
- min(ps.id) as id,emp.id as name,jb.id as job_id,
- dp.id as department_id,cmp.id as company_id,
- ps.date_from, ps.date_to, sum(psl.total) as net, ps.state as state
- """
- return select_str
-
- def _from(self):
- from_str = """
- hr_payslip_line psl join hr_payslip ps on (ps.employee_id=psl.employee_id and ps.id=psl.slip_id)
- join hr_employee emp on (ps.employee_id=emp.id) join hr_department dp on (emp.department_id=dp.id)
- join hr_job jb on (emp.department_id=jb.id) join res_company cmp on (cmp.id=ps.company_id) where psl.code='NET'
- """
- return from_str
-
- def _group_by(self):
- group_by_str = """
- group by emp.id,psl.total,ps.date_from, ps.date_to, ps.state,jb.id,dp.id,cmp.id
- """
- return group_by_str
-
- @api.model_cr
- def init(self):
- tools.drop_view_if_exists(self.env.cr, self._table)
- self.env.cr.execute("""CREATE or REPLACE VIEW %s as ( SELECT
- %s
- FROM %s
- %s
- )""" % (self._table, self._select(), self._from(), self._group_by()))
-
diff --git a/hr_payslip_monthly_report/security/ir.model.access.csv b/hr_payslip_monthly_report/security/ir.model.access.csv
deleted file mode 100644
index ed054578d..000000000
--- a/hr_payslip_monthly_report/security/ir.model.access.csv
+++ /dev/null
@@ -1,2 +0,0 @@
-id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
-access_hr_payslip_monthly_report_manager,hr.payroll.report.view,hr_payslip_monthly_report.model_hr_payroll_report_view,hr.group_hr_manager,1,1,1,1
diff --git a/hr_payslip_monthly_report/static/description/HR Payslip Report view.png b/hr_payslip_monthly_report/static/description/HR Payslip Report view.png
deleted file mode 100644
index c1f9cacf4..000000000
Binary files a/hr_payslip_monthly_report/static/description/HR Payslip Report view.png and /dev/null differ
diff --git a/hr_payslip_monthly_report/static/description/HR report group by.png b/hr_payslip_monthly_report/static/description/HR report group by.png
deleted file mode 100644
index 20f53735c..000000000
Binary files a/hr_payslip_monthly_report/static/description/HR report group by.png and /dev/null differ
diff --git a/hr_payslip_monthly_report/static/description/Payslip Graph Report.png b/hr_payslip_monthly_report/static/description/Payslip Graph Report.png
deleted file mode 100644
index 7c318c474..000000000
Binary files a/hr_payslip_monthly_report/static/description/Payslip Graph Report.png and /dev/null differ
diff --git a/hr_payslip_monthly_report/static/description/banner.jpg b/hr_payslip_monthly_report/static/description/banner.jpg
deleted file mode 100644
index aa8ba62e1..000000000
Binary files a/hr_payslip_monthly_report/static/description/banner.jpg and /dev/null differ
diff --git a/hr_payslip_monthly_report/static/description/cybro_logo.png b/hr_payslip_monthly_report/static/description/cybro_logo.png
deleted file mode 100644
index bb309114c..000000000
Binary files a/hr_payslip_monthly_report/static/description/cybro_logo.png and /dev/null differ
diff --git a/hr_payslip_monthly_report/static/description/icon.png b/hr_payslip_monthly_report/static/description/icon.png
deleted file mode 100644
index e176696bc..000000000
Binary files a/hr_payslip_monthly_report/static/description/icon.png and /dev/null differ
diff --git a/hr_payslip_monthly_report/static/description/index.html b/hr_payslip_monthly_report/static/description/index.html
deleted file mode 100644
index ccb8b3cdc..000000000
--- a/hr_payslip_monthly_report/static/description/index.html
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
- This report helps in payroll analysis. This helps you to check your pay slips and sorting it out from different group
- criteria (Employee, Job title, Department, Company, Pay slip etc.).
-
-
-
-
-
-
-
-
-
Payroll report as Pivot
-
-
-
-
-
-
-
-
- HR managers need a complete payroll statement and also payroll monthly statement. From
- this pivot view we can easily generate the custom payroll report views in excel format. Also
- we can download it from there. From Odoo payroll report we can get only individual employee
- pay slip reports. To make the use of HR payroll management system easier we can use this pivot
- view to get the payroll/pay slip statement.
-
-
-
-
-
-
-
-
-
-
Group by the pivot view
-
-
-
-
-
-
-
-
- In this View we can easily generate custom reports by using the + button,
- That is we can make the filters by groups, also we can get the counts too, from the "Measures" Button
-
-
-
-
-
-
-
-
-
Graph View
-
-
-
-
-
-
-
-
- In Pivot view we can easily generate custom Graphs like Pie Chart,Bar Chart, Line Chart.
- With date and net salary or date and pay slip's counts.
-
- Create a Quotation, the first step of a new sale.
-
- Once the quotation is confirmed, it becomes a sales order.
- You'll be able to invoice it and collect payments.
- From the Sales Orders menu, you can track delivery
- orders or services.
-
- Create a Quotation, the first step of a new sale.
-
- Your next actions should flow efficiently: confirm the Quotation
- to a Sale Order, then create the Invoice and collect the Payment.
-
- Note that once a Quotation becomes a Sale Order, it will be moved
- from the Quotations list to the Sales Order list.
-
-
-
-
-
- sale.order.form
- sale.order
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {'readonly': [('state', 'in', ('sent','revised','done','cancel'))]}
-
-
-
- {'readonly': [('state', 'in', ('sent','revised','done','cancel'))]}
-
-
-
- {'readonly': [('state', 'in', ('sent','revised','done','cancel'))]}
-
-
-
- {'readonly': [('state', 'in', ('sent','revised','done','cancel'))]}
-
-
-
-
-
- sale.order.tree
- sale.order
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/hr_reminder/README.rst b/hr_reminder/README.rst
deleted file mode 100644
index 2fe35cf95..000000000
--- a/hr_reminder/README.rst
+++ /dev/null
@@ -1,39 +0,0 @@
-Open HRMS Reminders Todo V11
-============================
-
-HR Reminder For OHRMS
-
-Depends
-=======
-[hr] addon Odoo
-
-Tech
-====
-* [Python] - Models
-* [XML] - Odoo views
-
-Installation
-============
-- www.odoo.com/documentation/10.0/setup/install.html
-- Install our custom addon
-
-
-Bug Tracker
-===========
-Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.
-
-Credits
-=======
-* Cybrosys Techno Solutions
-
-Author
-------
-
-Developer: Treesa Maria Jude @ cybrosys, treesa@cybrosys.in
-
-Maintainer
-----------
-
-This module is maintained by Cybrosys Technologies.
-
-For support and more information, please visit https://www.cybrosys.com.
diff --git a/hr_reminder/__init__.py b/hr_reminder/__init__.py
deleted file mode 100644
index a84ea577e..000000000
--- a/hr_reminder/__init__.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Treesa Maria Jude ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-
-from . import models
-from . import controllers
diff --git a/hr_reminder/__manifest__.py b/hr_reminder/__manifest__.py
deleted file mode 100644
index 879e340c4..000000000
--- a/hr_reminder/__manifest__.py
+++ /dev/null
@@ -1,45 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of Open HRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Treesa Maria Jude ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-{
- 'name': 'Open HRMS Reminders Todo',
- 'version': '11.0.1.0.0',
- 'category': 'Extra Tools',
- 'summary': 'HR Reminder For OHRMS',
- 'author': 'Cybrosys Techno Solutions',
- 'company': 'Cybrosys Techno Solutions',
- 'website': "https://www.openhrms.com",
- 'depends': ['base', 'hr'],
- 'data': [
- 'security/ir.model.access.csv',
- 'security/hr_reminder_security.xml',
- 'views/hr_reminder_view.xml',
- 'views/reminder_template.xml',
- ],
- 'qweb': [
- 'static/src/xml/reminder_topbar.xml', ],
- 'images': ['static/description/banner.jpg'],
- 'license': 'AGPL-3',
- 'installable': True,
- 'auto_install': False,
- 'application': False,
-}
diff --git a/hr_reminder/controllers/__init__.py b/hr_reminder/controllers/__init__.py
deleted file mode 100644
index 948e84ff6..000000000
--- a/hr_reminder/controllers/__init__.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Treesa Maria Jude ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-
-from . import main
diff --git a/hr_reminder/controllers/__init__.pyc b/hr_reminder/controllers/__init__.pyc
deleted file mode 100644
index 9c37f9961..000000000
Binary files a/hr_reminder/controllers/__init__.pyc and /dev/null differ
diff --git a/hr_reminder/controllers/main.py b/hr_reminder/controllers/main.py
deleted file mode 100644
index bfb960dee..000000000
--- a/hr_reminder/controllers/main.py
+++ /dev/null
@@ -1,51 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Treesa Maria Jude ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-
-from odoo import http
-from odoo.http import request
-
-
-class Reminders(http.Controller):
-
- @http.route('/hr_reminder/all_reminder', type='json', auth="public")
- def all_reminder(self):
- reminder = []
- for i in request.env['hr.reminder'].search([]):
- if i.reminder_active:
- reminder.append(i.name)
- return reminder
-
- @http.route('/hr_reminder/reminder_active', type='json', auth="public")
- def reminder_active(self, **kwargs):
- reminder_value = kwargs.get('reminder_name')
- value = []
-
- for i in request.env['hr.reminder'].search([('name', '=', reminder_value)]):
- value.append(i.model_name.model)
- value.append(i.model_field.name)
- value.append(i.search_by)
- value.append(i.date_set)
- value.append(i.date_from)
- value.append(i.date_to)
- # value.append(i.exclude_year)
- return value
diff --git a/hr_reminder/controllers/main.pyc b/hr_reminder/controllers/main.pyc
deleted file mode 100644
index 74921027c..000000000
Binary files a/hr_reminder/controllers/main.pyc and /dev/null differ
diff --git a/hr_reminder/controllers/time_reminder.py b/hr_reminder/controllers/time_reminder.py
deleted file mode 100644
index 4dd40e492..000000000
--- a/hr_reminder/controllers/time_reminder.py
+++ /dev/null
@@ -1,69 +0,0 @@
-# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-
-import werkzeug
-
-from odoo.api import Environment
-import odoo.http as http
-
-from odoo.http import request
-from odoo import SUPERUSER_ID
-from odoo import registry as registry_get
-
-
-class CalendarController(http.Controller):
-
- @http.route('/calendar/meeting/accept', type='http', auth="calendar")
- def accept(self, db, token, action, id, **kwargs):
- registry = registry_get(db)
- with registry.cursor() as cr:
- env = Environment(cr, SUPERUSER_ID, {})
- attendee = env['calendar.attendee'].search([('access_token', '=', token), ('state', '!=', 'accepted')])
- if attendee:
- attendee.do_accept()
- return self.view(db, token, action, id, view='form')
-
- @http.route('/calendar/meeting/decline', type='http', auth="calendar")
- def declined(self, db, token, action, id):
- registry = registry_get(db)
- with registry.cursor() as cr:
- env = Environment(cr, SUPERUSER_ID, {})
- attendee = env['calendar.attendee'].search([('access_token', '=', token), ('state', '!=', 'declined')])
- if attendee:
- attendee.do_decline()
- return self.view(db, token, action, id, view='form')
-
- @http.route('/calendar/meeting/view', type='http', auth="calendar")
- def view(self, db, token, action, id, view='calendar'):
- registry = registry_get(db)
- with registry.cursor() as cr:
- # Since we are in auth=none, create an env with SUPERUSER_ID
- env = Environment(cr, SUPERUSER_ID, {})
- attendee = env['calendar.attendee'].search([('access_token', '=', token)])
- timezone = attendee.partner_id.tz
- lang = attendee.partner_id.lang or 'en_US'
- event = env['calendar.event'].with_context(tz=timezone, lang=lang).browse(int(id))
-
- # If user is logged, redirect to form view of event
- # otherwise, display the simplifyed web page with event informations
- if request.session.uid:
- return werkzeug.utils.redirect('/web?db=%s#id=%s&view_type=form&model=calendar.event' % (db, id))
-
- # NOTE : we don't use request.render() since:
- # - we need a template rendering which is not lazy, to render before cursor closing
- # - we need to display the template in the language of the user (not possible with
- # request.render())
- return env['ir.ui.view'].with_context(lang=lang).render_template(
- 'calendar.invitation_page_anonymous', {
- 'event': event,
- 'attendee': attendee,
- })
-
- # Function used, in RPC to check every 5 minutes, if notification to do for an event or not
- @http.route('/calendar/notify', type='json', auth="user")
- def notify(self):
- return request.env['calendar.alarm_manager'].get_next_notif()
-
- @http.route('/calendar/notify_ack', type='json', auth="user")
- def notify_ack(self, type=''):
- return request.env['res.partner']._set_calendar_last_notif_ack()
diff --git a/hr_reminder/docs/RELEASE_NOTES.md b/hr_reminder/docs/RELEASE_NOTES.md
deleted file mode 100644
index cd7da7a5d..000000000
--- a/hr_reminder/docs/RELEASE_NOTES.md
+++ /dev/null
@@ -1,6 +0,0 @@
-## Module hr_reminder
-
-#### 21.04.2018
-#### Version 11.0.1.0.0
-##### ADD
-- Initial commit for OpenHrms Project
diff --git a/hr_reminder/models/__init__.py b/hr_reminder/models/__init__.py
deleted file mode 100644
index 88311d898..000000000
--- a/hr_reminder/models/__init__.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Treesa Maria Jude ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-
-from . import hr_reminder
diff --git a/hr_reminder/models/__init__.pyc b/hr_reminder/models/__init__.pyc
deleted file mode 100644
index bd044fda7..000000000
Binary files a/hr_reminder/models/__init__.pyc and /dev/null differ
diff --git a/hr_reminder/models/hr_reminder.py b/hr_reminder/models/hr_reminder.py
deleted file mode 100644
index e9a6f38af..000000000
--- a/hr_reminder/models/hr_reminder.py
+++ /dev/null
@@ -1,77 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Treesa Maria Jude ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from datetime import datetime
-from odoo import models, fields
-
-
-class HrPopupReminder(models.Model):
- _name = 'hr.reminder'
-
- name = fields.Char(string='Title', required=True)
- model_name = fields.Many2one('ir.model', string="Model", required=True, domain="[('model', 'like','hr')]")
- model_field = fields.Many2one('ir.model.fields', string='Field',
- domain="[('model_id', '=',model_name),('ttype', 'in', ['datetime','date'])]",
- required=True)
- search_by = fields.Selection([('today', 'Today'),
- ('set_period', 'Set Period'),
- ('set_date', 'Set Date'), ],
- required=True, string="Search By")
- days_before = fields.Integer(string='Reminder before')
- active = fields.Boolean(string="Active",default=True)
- # exclude_year = fields.Boolean(string="Consider day alone")
- reminder_active = fields.Boolean(string="Reminder Active")
- date_set = fields.Date(string='Select Date')
- date_from = fields.Date(string="Start Date")
- date_to = fields.Date(string="End Date")
- expiry_date = fields.Date(string="Reminder Expiry Date")
- company_id = fields.Many2one('res.company', string='Company', required=True,
- default=lambda self: self.env.user.company_id)
-
- def reminder_scheduler(self):
- now = fields.Datetime.from_string(fields.Datetime.now())
- today = fields.Date.today()
- obj = self.env['hr.reminder'].search([])
- for i in obj:
- if i.search_by != "today":
- if i.expiry_date and datetime.strptime(today, "%Y-%m-%d") == datetime.strptime(i.expiry_date, "%Y-%m-%d"):
- i.active = False
- else:
- if i.search_by == "set_date":
- d1 = datetime.strptime(i.date_set, "%Y-%m-%d")
- d2 = datetime.strptime(today, "%Y-%m-%d")
- daydiff = abs((d2 - d1).days)
- if daydiff <= i.days_before:
- i.reminder_active = True
- else:
- i.reminder_active = False
- elif i.search_by == "set_period":
- d1 = datetime.strptime(i.date_from, "%Y-%m-%d")
- d2 = datetime.strptime(today, "%Y-%m-%d")
- daydiff = abs((d2 - d1).days)
- if daydiff <= i.days_before:
- i.reminder_active = True
- else:
- i.reminder_active = False
- else:
- i.reminder_active = True
-
diff --git a/hr_reminder/models/hr_reminder.pyc b/hr_reminder/models/hr_reminder.pyc
deleted file mode 100644
index 8a4d77fbf..000000000
Binary files a/hr_reminder/models/hr_reminder.pyc and /dev/null differ
diff --git a/hr_reminder/security/hr_reminder_security.xml b/hr_reminder/security/hr_reminder_security.xml
deleted file mode 100644
index 2650c4fa0..000000000
--- a/hr_reminder/security/hr_reminder_security.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- Hr Reminder Company
-
-
- ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
-
-
-
\ No newline at end of file
diff --git a/hr_reminder/security/ir.model.access.csv b/hr_reminder/security/ir.model.access.csv
deleted file mode 100644
index 46fc9f5d3..000000000
--- a/hr_reminder/security/ir.model.access.csv
+++ /dev/null
@@ -1,5 +0,0 @@
-id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
-
-access_hr_reminder_officer,hr.reminder.officer,hr_reminder.model_hr_reminder,hr.group_hr_user,1,1,1,1
-access_hr_reminder_employee,hr.reminder.employee,hr_reminder.model_hr_reminder,hr.group_hr_manager,1,1,1,1
-access_hr_reminder_manager,hr.reminder.manager,hr_reminder.model_hr_reminder,base.group_user,0,0,0,0
diff --git a/hr_reminder/static/description/HRMS-BUTTON.png b/hr_reminder/static/description/HRMS-BUTTON.png
deleted file mode 100644
index 0f1b65bea..000000000
Binary files a/hr_reminder/static/description/HRMS-BUTTON.png and /dev/null differ
diff --git a/hr_reminder/static/description/banner.jpg b/hr_reminder/static/description/banner.jpg
deleted file mode 100644
index 7579d32ea..000000000
Binary files a/hr_reminder/static/description/banner.jpg and /dev/null differ
diff --git a/hr_reminder/static/description/cybro-service.png b/hr_reminder/static/description/cybro-service.png
deleted file mode 100644
index 252929a86..000000000
Binary files a/hr_reminder/static/description/cybro-service.png and /dev/null differ
diff --git a/hr_reminder/static/description/cybro_logo.png b/hr_reminder/static/description/cybro_logo.png
deleted file mode 100644
index bb309114c..000000000
Binary files a/hr_reminder/static/description/cybro_logo.png and /dev/null differ
diff --git a/hr_reminder/static/description/icon.png b/hr_reminder/static/description/icon.png
deleted file mode 100644
index cf84f5d5c..000000000
Binary files a/hr_reminder/static/description/icon.png and /dev/null differ
diff --git a/hr_reminder/static/description/index.html b/hr_reminder/static/description/index.html
deleted file mode 100644
index 4f20373f8..000000000
--- a/hr_reminder/static/description/index.html
+++ /dev/null
@@ -1,146 +0,0 @@
-
-
-Reminders is an effective module,helps to memorise all your important dates. We
-can set reminders to any model (eg: Sales,HR,Project etc..) and also their corresponding
-date fields to compare.This eases the company work load to memorize the special
-dates (eg: Expiration date,Deadline date,Assigned Date etc...).
-
-
-
-
-
-
-
Set Your Reminders
-
-
-
Settings>Pop-up Reminder>Reminder
-
-
Set your reminders for any model and the corresponding date field.
- Also this module allows different methods to search.
-
-
-
-
-
-
-
-
-
-
-
-
-
Search By
-
-
We can use 3 methods to search:
-
-
→ Today: Compares to the current date.
-
→ Set Date: Compares with the given date.
-
→ Set Period: Reminder is set between a time range(Start date - End date).
★ Employee will create his/her resignation request
-
★ Higher level officers can approve or reject the request
-
-
-
-
-
-
-
-
-
Overview
-
- Employee Resignation is a component of Open HRMS suit. This module manages employee resignation process.
- Employee can fill and send resignation request from their portal and higher level officers can take
- appropriate actions on it.
-
-
-
-
-
-
-
-
-
diff --git a/hr_reward_warning/README.md b/hr_reward_warning/README.md
deleted file mode 100644
index 6fc40f0f2..000000000
--- a/hr_reward_warning/README.md
+++ /dev/null
@@ -1,17 +0,0 @@
-OH Reward/Warning
----------------------
-Supporting Addon for Open HRMS, Managing Official Announcements
-
-Connect with experts
---------------------
-
-If you have any question/queries/additional works on OpenHRMS or this module, You can drop an email directly to Cybrosys.
-
-Contacts
---------
-info - info@cybrosys.com
-Jesni Banu - jesni@cybrosys.in
-
-Website:
-https://www.openhrms.com
-https://www.cybrosys.com
diff --git a/hr_reward_warning/__init__.py b/hr_reward_warning/__init__.py
deleted file mode 100644
index fa5f521c3..000000000
--- a/hr_reward_warning/__init__.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Jesni Banu ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from . import models
-
-
-
diff --git a/hr_reward_warning/__manifest__.py b/hr_reward_warning/__manifest__.py
deleted file mode 100644
index f64f67965..000000000
--- a/hr_reward_warning/__manifest__.py
+++ /dev/null
@@ -1,44 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Jesni Banu ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-{
- 'name': 'Open HRMS Official Announcements',
- 'version': '11.0.1.0.0',
- 'summary': """Managing Official Announcements""",
- 'description': 'This module helps you to manage hr official announcements',
- 'category': 'Generic Modules/Human Resources',
- 'author': 'Cybrosys Techno Solutions',
- 'company': 'Cybrosys Techno Solutions',
- 'website': "https://www.openhrms.com",
- 'depends': ['base', 'hr_payroll'],
- 'data': [
- 'security/ir.model.access.csv',
- 'security/reward_security.xml',
- 'views/hr_announcement_view.xml',
- ],
- 'demo': [],
- 'images': ['static/description/banner.jpg'],
- 'license': 'AGPL-3',
- 'installable': True,
- 'auto_install': False,
- 'application': False,
-}
diff --git a/hr_reward_warning/doc/RELEASE_NOTES.md b/hr_reward_warning/doc/RELEASE_NOTES.md
deleted file mode 100644
index 17bc451cf..000000000
--- a/hr_reward_warning/doc/RELEASE_NOTES.md
+++ /dev/null
@@ -1,6 +0,0 @@
-## Module
-
-#### 21.04.2018
-#### Version 11.0.1.0.0
-##### ADD
-- Initial commit for Open HRMS Project
diff --git a/hr_reward_warning/models/__init__.py b/hr_reward_warning/models/__init__.py
deleted file mode 100644
index 7d8916fd0..000000000
--- a/hr_reward_warning/models/__init__.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Jesni Banu ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from . import hr_warning
-from . import hr_employee
-
-
diff --git a/hr_reward_warning/models/hr_employee.py b/hr_reward_warning/models/hr_employee.py
deleted file mode 100644
index 44730e53c..000000000
--- a/hr_reward_warning/models/hr_employee.py
+++ /dev/null
@@ -1,69 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Jesni Banu ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from odoo import models, fields, api, _
-
-
-class HrAnnouncements(models.Model):
- _inherit = 'hr.employee'
-
- @api.multi
- def _announcement_count(self):
- for obj in self:
- announcement_ids = self.env['hr.announcement'].sudo().search([('is_announcement', '=', True),
- ('state', 'in', ('approved', 'done'))])
- obj.announcement_count = len(announcement_ids)
-
- @api.multi
- def announcement_view(self):
- for obj in self:
- ann_obj = self.env['hr.announcement'].sudo().search([('is_announcement', '=', True),
- ('state', 'in', ('approved', 'done'))])
- ann_ids = []
- for each in ann_obj:
- ann_ids.append(each.id)
- view_id = self.env.ref('hr_reward_warning.view_hr_announcement_form').id
- if ann_ids:
- if len(ann_ids) > 1:
- value = {
- 'domain': str([('id', 'in', ann_ids)]),
- 'view_type': 'form',
- 'view_mode': 'tree,form',
- 'res_model': 'hr.announcement',
- 'view_id': False,
- 'type': 'ir.actions.act_window',
- 'name': _('Announcements'),
- 'res_id': ann_ids
- }
- else:
- value = {
- 'view_type': 'form',
- 'view_mode': 'form',
- 'res_model': 'hr.announcement',
- 'view_id': view_id,
- 'type': 'ir.actions.act_window',
- 'name': _('Announcements'),
- 'res_id': ann_ids and ann_ids[0]
- }
- return value
-
- announcement_count = fields.Integer(compute='_announcement_count', string='# Announcements')
\ No newline at end of file
diff --git a/hr_reward_warning/models/hr_warning.py b/hr_reward_warning/models/hr_warning.py
deleted file mode 100644
index 3a8246e0f..000000000
--- a/hr_reward_warning/models/hr_warning.py
+++ /dev/null
@@ -1,67 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Jesni Banu ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from datetime import datetime
-from odoo import models, fields, api, _
-
-
-class HrAnnouncementTable(models.Model):
- _name = 'hr.announcement'
- _description = 'HR Announcement'
- _inherit = ['mail.thread', 'mail.activity.mixin']
-
- name = fields.Char(string='Code No:')
- announcement_reason = fields.Text(string='Title', states={'draft': [('readonly', False)]}, required=True, readonly=True)
- state = fields.Selection([('draft', 'Draft'), ('to_approve', 'Waiting For Approval'),
- ('approved', 'Approved'),
- ('done', 'Done'), ('rejected', 'Refused')],
- string='Status', default='draft',
- track_visibility='always')
- requested_date = fields.Date(string='Requested Date', default=datetime.now().strftime('%Y-%m-%d'))
- attachment_id = fields.Many2many('ir.attachment', 'doc_warning_rel', 'doc_id', 'attach_id4',
- string="Attachment", help='You can attach the copy of your Letter')
- company_id = fields.Many2one('res.company', string='Company',
- default=lambda self: self.env.user.company_id, readonly=True,)
- is_announcement = fields.Boolean(string='Is general Announcement?')
- announcement = fields.Html(string='Letter', states={'draft': [('readonly', False)]}, readonly=True)
-
- @api.multi
- def reject(self):
- self.state = 'rejected'
-
- @api.multi
- def approve(self):
- self.state = 'approved'
-
- @api.multi
- def set_to_done(self):
- self.state = 'done'
-
- @api.multi
- def sent(self):
- self.state = 'to_approve'
-
- @api.model
- def create(self, vals):
- if vals.get('is_announcement'):
- vals['name'] = self.env['ir.sequence'].next_by_code('hr.announcement')
- return super(HrAnnouncementTable, self).create(vals)
diff --git a/hr_reward_warning/security/ir.model.access.csv b/hr_reward_warning/security/ir.model.access.csv
deleted file mode 100644
index 49d676c97..000000000
--- a/hr_reward_warning/security/ir.model.access.csv
+++ /dev/null
@@ -1,4 +0,0 @@
-"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
-"access_hr_employee_reward_admin","hr.employee.reward","model_hr_announcement","hr.group_hr_manager",1,1,1,1
-"access_hr_employee_reward_user","hr.employee.reward.user","model_hr_announcement","hr.group_hr_user",1,1,1,1
-"access_hr_employee_reward_employee","hr.employee.reward.employee","model_hr_announcement","base.group_user",1,0,0,0
diff --git a/hr_reward_warning/security/reward_security.xml b/hr_reward_warning/security/reward_security.xml
deleted file mode 100644
index c8f6db1f4..000000000
--- a/hr_reward_warning/security/reward_security.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Announcement Multi Company
-
-
- ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
-
-
diff --git a/hr_reward_warning/static/description/HRMS-BUTTON.png b/hr_reward_warning/static/description/HRMS-BUTTON.png
deleted file mode 100644
index 0f1b65bea..000000000
Binary files a/hr_reward_warning/static/description/HRMS-BUTTON.png and /dev/null differ
diff --git a/hr_reward_warning/static/description/banner.jpg b/hr_reward_warning/static/description/banner.jpg
deleted file mode 100644
index 61924dabc..000000000
Binary files a/hr_reward_warning/static/description/banner.jpg and /dev/null differ
diff --git a/hr_reward_warning/static/description/cybro-service.png b/hr_reward_warning/static/description/cybro-service.png
deleted file mode 100644
index 252929a86..000000000
Binary files a/hr_reward_warning/static/description/cybro-service.png and /dev/null differ
diff --git a/hr_reward_warning/static/description/cybro_logo.png b/hr_reward_warning/static/description/cybro_logo.png
deleted file mode 100644
index bb309114c..000000000
Binary files a/hr_reward_warning/static/description/cybro_logo.png and /dev/null differ
diff --git a/hr_reward_warning/static/description/hr_reward.png b/hr_reward_warning/static/description/hr_reward.png
deleted file mode 100644
index 184ee961e..000000000
Binary files a/hr_reward_warning/static/description/hr_reward.png and /dev/null differ
diff --git a/hr_reward_warning/static/description/icon.png b/hr_reward_warning/static/description/icon.png
deleted file mode 100644
index 81e5258c8..000000000
Binary files a/hr_reward_warning/static/description/icon.png and /dev/null differ
diff --git a/hr_reward_warning/static/description/index.html b/hr_reward_warning/static/description/index.html
deleted file mode 100644
index 200f408da..000000000
--- a/hr_reward_warning/static/description/index.html
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
- Send leave remainder emails to holiday managers
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/hr_vacation_mngmt/wizard/__init__.py b/hr_vacation_mngmt/wizard/__init__.py
deleted file mode 100644
index 14c06bcd4..000000000
--- a/hr_vacation_mngmt/wizard/__init__.py
+++ /dev/null
@@ -1,3 +0,0 @@
-# -*- coding: utf-8 -*-
-
-from . import reassign_task
diff --git a/hr_vacation_mngmt/wizard/reassign_task.py b/hr_vacation_mngmt/wizard/reassign_task.py
deleted file mode 100644
index f3f70e003..000000000
--- a/hr_vacation_mngmt/wizard/reassign_task.py
+++ /dev/null
@@ -1,59 +0,0 @@
-# -*- coding: utf-8 -*-
-
-from odoo import models, fields, api, _
-from odoo.exceptions import UserError
-
-
-class ReAssignTask(models.TransientModel):
- _name = 'task.reassign'
-
- pending_tasks = fields.One2many('pending.task', related='leave_req_id.pending_tasks', string='Pending Tasks')
- leave_req_id = fields.Many2one('hr.holidays', string='Leave Request')
-
- @api.multi
- def action_approve(self):
- task_pending = False
- e_unavail = False
- emp_unavail = []
- for task in self.pending_tasks:
- if not task.assigned_to:
- task_pending = True
- if task_pending:
- raise UserError(_('Please assign pending task to employees.'))
- else:
- for task in self.pending_tasks:
- if task.assigned_to in task.unavailable_employee:
- emp_unavail.append(task.assigned_to.name)
- e_unavail = True
- emp_unavail = set(emp_unavail)
- emp_unavail_count = len(emp_unavail)
- if e_unavail:
- if emp_unavail_count == 1:
- raise UserError(_('Selected employee %s is not available') % (', '.join(emp_unavail),))
- else:
- raise UserError(_('Selected employees %s are not available') % (', '.join(emp_unavail),))
-
- else:
- manager = self.env['hr.employee'].search([('user_id', '=', self.env.uid)], limit=1)
- holiday = self.leave_req_id
- tasks = self.env['project.task']
- for task in self.pending_tasks:
- if not task.assigned_to.user_id:
- raise UserError(_('Please configure user for the employee %s') % (task.assigned_to.name,))
- vals = {
- 'name': task.name,
- 'user_id': task.assigned_to.user_id.id,
- 'project_id': task.project_id.id,
- 'description': task.description,
- }
- tasks.sudo().create(vals)
- if holiday.double_validation:
- return holiday.write({'state': 'validate1', 'manager_id': manager.id if manager else False})
- else:
- holiday.action_validate()
-
- @api.multi
- def cancel(self):
- for task in self.pending_tasks:
- task.update({'assigned_to': False})
- return {'type': 'ir.actions.act_window_close'}
diff --git a/hr_vacation_mngmt/wizard/reassign_task.xml b/hr_vacation_mngmt/wizard/reassign_task.xml
deleted file mode 100644
index 8625127c5..000000000
--- a/hr_vacation_mngmt/wizard/reassign_task.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
- Re-Assign Task
- task.reassign
-
-
-
-
-
-
\ No newline at end of file
diff --git a/hrms_dashboard/README.rst b/hrms_dashboard/README.rst
deleted file mode 100644
index 0b77756af..000000000
--- a/hrms_dashboard/README.rst
+++ /dev/null
@@ -1,41 +0,0 @@
-Open HRMS Dashboard v11
-=======================
-
-Keep your eyes on your whole Human resource analysis.
-
-Depends
-=======
-[hr] addon Odoo
-
-Tech
-====
-* [Python] - Models
-* [XML] - Odoo views
-
-Installation
-============
-- www.odoo.com/documentation/10.0/setup/install.html
-- Install our custom addon
-
-
-
-Bug Tracker
-===========
-Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.
-
-Credits
-=======
-* Cybrosys Techno Solutions
-
-Author
-------
-
-Developer: Saritha Sahadevan, saritha@cybrosys.in
-
-Maintainer
-----------
-
-This module is maintained by Cybrosys Technologies.
-
-For support and more information, please visit https://www.openhrms.com
-
diff --git a/hrms_dashboard/__init__.py b/hrms_dashboard/__init__.py
deleted file mode 100644
index ed8e46e29..000000000
--- a/hrms_dashboard/__init__.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of Open HRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Aswani PC , Saritha Sahadevan ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from . import models
diff --git a/hrms_dashboard/__manifest__.py b/hrms_dashboard/__manifest__.py
deleted file mode 100644
index 9bfb7d498..000000000
--- a/hrms_dashboard/__manifest__.py
+++ /dev/null
@@ -1,40 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of Open HRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Aswani PC , Saritha Sahadevan ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-{
- 'name': "Open HRMS Dashboard",
- 'version': '11.0.1.0.0',
- 'summary': """Open HRMS Dashboard""",
- 'description': """Open HRMS Dashboard""",
- 'category': 'Human Resource',
- 'author': 'Cybrosys Techno Solutions',
- 'company': 'Cybrosys Techno Solutions',
- 'maintainer': 'Cybrosys Techno Solutions',
- 'website': "https://www.openhrms.com",
- 'depends': ['hr', 'hr_holidays', 'hr_timesheet', 'hr_payroll', 'hr_attendance','hr_timesheet_attendance','hr_recruitment'],
- 'data': ['views/dashboard_views.xml'],
- 'qweb': ["static/src/xml/hrms_dashboard.xml"],
- 'images': ["static/description/banner.jpg"],
- 'license': "AGPL-3",
- 'installable': True,
- 'application': True,
-}
diff --git a/hrms_dashboard/docs/RELEASE_NOTES.md b/hrms_dashboard/docs/RELEASE_NOTES.md
deleted file mode 100644
index d5e7f79fe..000000000
--- a/hrms_dashboard/docs/RELEASE_NOTES.md
+++ /dev/null
@@ -1,6 +0,0 @@
-## Module
-
-#### 23.04.2018
-#### Version 11.0.1.0.0
-##### ADD
-- Initial commit for Open HRMS Project
diff --git a/hrms_dashboard/models/__init__.py b/hrms_dashboard/models/__init__.py
deleted file mode 100644
index 228320371..000000000
--- a/hrms_dashboard/models/__init__.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of Open HRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Aswani PC , Saritha Sahadevan ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from . import hrms_dashboard
-
-
-
diff --git a/hrms_dashboard/models/hrms_dashboard.py b/hrms_dashboard/models/hrms_dashboard.py
deleted file mode 100644
index 96e69d77c..000000000
--- a/hrms_dashboard/models/hrms_dashboard.py
+++ /dev/null
@@ -1,51 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of Open HRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Aswani PC, Saritha Sahadevan ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from odoo import models, api, _
-from odoo.http import request
-
-
-class Employee(models.Model):
- _inherit = 'hr.employee'
-
- @api.model
- def get_user_employee_details(self):
- uid = request.session.uid
- employee = self.env['hr.employee'].sudo().search_read([('user_id', '=', uid)], limit=1)
- leaves_to_approve = self.env['hr.holidays'].sudo().search_count([('state', 'in', ['confirm', 'validate1']),
- ('type', '=', 'remove')])
- leaves_alloc_req = self.env['hr.holidays'].sudo().search_count([('state', 'in', ['confirm', 'validate1'])
- , ('type', '=', 'add')])
- timesheet_count = self.env['account.analytic.line'].sudo().search_count(
- [('project_id', '!=', False), ('user_id', '=', uid)])
- timesheet_view_id = self.env.ref('hr_timesheet.hr_timesheet_line_search')
- job_applications = self.env['hr.applicant'].sudo().search_count([])
- if employee:
- data = {
- 'leaves_to_approve': leaves_to_approve,
- 'leaves_alloc_req': leaves_alloc_req,
- 'emp_timesheets': timesheet_count,
- 'job_applications': job_applications,
- 'timesheet_view_id': timesheet_view_id
- }
- employee[0].update(data)
- return employee
diff --git a/hrms_dashboard/static/description/HRMS-BUTTON.png b/hrms_dashboard/static/description/HRMS-BUTTON.png
deleted file mode 100644
index 0f1b65bea..000000000
Binary files a/hrms_dashboard/static/description/HRMS-BUTTON.png and /dev/null differ
diff --git a/hrms_dashboard/static/description/banner.jpg b/hrms_dashboard/static/description/banner.jpg
deleted file mode 100644
index 3652da349..000000000
Binary files a/hrms_dashboard/static/description/banner.jpg and /dev/null differ
diff --git a/hrms_dashboard/static/description/cybro-service.png b/hrms_dashboard/static/description/cybro-service.png
deleted file mode 100644
index 252929a86..000000000
Binary files a/hrms_dashboard/static/description/cybro-service.png and /dev/null differ
diff --git a/hrms_dashboard/static/description/cybro_logo.png b/hrms_dashboard/static/description/cybro_logo.png
deleted file mode 100644
index bb309114c..000000000
Binary files a/hrms_dashboard/static/description/cybro_logo.png and /dev/null differ
diff --git a/hrms_dashboard/static/description/dashboard.png b/hrms_dashboard/static/description/dashboard.png
deleted file mode 100644
index 64ce246c3..000000000
Binary files a/hrms_dashboard/static/description/dashboard.png and /dev/null differ
diff --git a/hrms_dashboard/static/description/icon.png b/hrms_dashboard/static/description/icon.png
deleted file mode 100644
index 91ef06c51..000000000
Binary files a/hrms_dashboard/static/description/icon.png and /dev/null differ
diff --git a/hrms_dashboard/static/description/index.html b/hrms_dashboard/static/description/index.html
deleted file mode 100644
index 03a82f52a..000000000
--- a/hrms_dashboard/static/description/index.html
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/hrms_dashboard/views/dashboard_views.xml b/hrms_dashboard/views/dashboard_views.xml
deleted file mode 100644
index f18ac8478..000000000
--- a/hrms_dashboard/views/dashboard_views.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- Dashboard
- hr_dashboard
-
-
-
-
-
-
-
-
-
-
-
diff --git a/oh_hr_lawsuit_management/README.md b/oh_hr_lawsuit_management/README.md
deleted file mode 100644
index a9015a97d..000000000
--- a/oh_hr_lawsuit_management/README.md
+++ /dev/null
@@ -1,32 +0,0 @@
-OHRMS Legal Actions
----------------------
-Supporting Addon for Open HRMS, Managing Legal Actions
-
-
-Installation
-------------
-- www.odoo.com/documentation/11.0/setup/install.html
-- Install our custom addon
-
-
-Bug Tracker
------------
-Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.
-
-
-Contacts
---------
-info - info@cybrosys.com
-Sreejith P - sreejith@cybrosys.in
-Jesni Banu - jesni@cybrosys.in
-
-Website:
-https://www.openhrms.com
-https://www.cybrosys.com
-
-Maintainer
-----------
-
-This module is maintained by Cybrosys Technologies.
-
-For support and more information, please visit https://www.cybrosys.com.
diff --git a/oh_hr_lawsuit_management/__init__.py b/oh_hr_lawsuit_management/__init__.py
deleted file mode 100644
index b3d73d4fb..000000000
--- a/oh_hr_lawsuit_management/__init__.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Jesni Banu ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from . import models
-
diff --git a/oh_hr_lawsuit_management/__manifest__.py b/oh_hr_lawsuit_management/__manifest__.py
deleted file mode 100644
index 960ed035b..000000000
--- a/oh_hr_lawsuit_management/__manifest__.py
+++ /dev/null
@@ -1,44 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Jesni Banu ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-{
- 'name': 'Open HRMS Legal Actions',
- 'version': '11.0.1.0.0',
- 'summary': """Managing Legal Actions""",
- 'description': 'This module manages legal actions.',
- 'category': 'Generic Modules/Human Resources',
- 'author': 'Cybrosys Techno Solutions',
- 'company': 'Cybrosys Techno Solutions',
- 'website': "https://www.openhrms.com",
- 'depends': ['base', 'hr'],
- 'data': [
- 'security/security.xml',
- 'security/ir.model.access.csv',
- 'views/legal_action_view.xml',
- ],
- 'demo': [],
- 'images': ['static/description/banner.jpg'],
- 'license': 'AGPL-3',
- 'installable': True,
- 'auto_install': False,
- 'application': False,
-}
diff --git a/oh_hr_lawsuit_management/doc/RELEASE_NOTES.md b/oh_hr_lawsuit_management/doc/RELEASE_NOTES.md
deleted file mode 100644
index 886a6d9bf..000000000
--- a/oh_hr_lawsuit_management/doc/RELEASE_NOTES.md
+++ /dev/null
@@ -1,6 +0,0 @@
-## Module
-
-#### 21.04.2018
-#### Version 11.0.1.0.0
-##### ADD
-- Initial commit for Open HRMS Project
diff --git a/oh_hr_lawsuit_management/models/__init__.py b/oh_hr_lawsuit_management/models/__init__.py
deleted file mode 100644
index fd2cead90..000000000
--- a/oh_hr_lawsuit_management/models/__init__.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Jesni Banu ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from . import legal_action
-
-
-
-
diff --git a/oh_hr_lawsuit_management/models/legal_action.py b/oh_hr_lawsuit_management/models/legal_action.py
deleted file mode 100644
index 20e0178d3..000000000
--- a/oh_hr_lawsuit_management/models/legal_action.py
+++ /dev/null
@@ -1,128 +0,0 @@
-# -*- coding: utf-8 -*-
-###################################################################################
-# A part of OpenHRMS Project
-#
-# Cybrosys Technologies Pvt. Ltd.
-# Copyright (C) 2018-TODAY Cybrosys Technologies ().
-# Author: Jesni Banu ()
-#
-# This program is free software: you can modify
-# it under the terms of the GNU Affero General Public License (AGPL) as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# 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 for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-###################################################################################
-from datetime import datetime
-from odoo import models, fields, api, _
-
-
-class HrLawsuit(models.Model):
- _name = 'hr.lawsuit'
- _description = 'Hr Lawsuit Management'
- _inherit = ['mail.thread', 'mail.activity.mixin']
-
- @api.model
- def create(self, vals):
- vals['name'] = self.env['ir.sequence'].next_by_code('hr.lawsuit')
- return super(HrLawsuit, self).create(vals)
-
- @api.multi
- def won(self):
- self.state = 'won'
-
- @api.multi
- def cancel(self):
- self.state = 'cancel'
-
- @api.multi
- def loss(self):
- self.state = 'fail'
-
- @api.multi
- def process(self):
- self.state = 'running'
-
- @api.depends('party2', 'employee_id')
- def set_party2(self):
- for each in self:
- if each.party2 == 'employee':
- each.party2_name = each.employee_id.name
-
- name = fields.Char(string='Code', copy=False)
- company_id = fields.Many2one('res.company', 'Company', readonly=True,
- default=lambda self: self.env.user.company_id)
- requested_date = fields.Date(string='Date', copy=False, readonly=1, default=datetime.now(),
- states={'draft': [('readonly', False)]})
- court_name = fields.Char(string='Court Name', track_visibility='always',
- states={'won': [('readonly', True)]})
- judge = fields.Char(string='Judge', track_visibility='always', states={'won': [('readonly', True)]})
- lawyer = fields.Char(string='Lawyer', track_visibility='always', states={'won': [('readonly', True)]})
- party1 = fields.Many2one('res.company', string='Party 1', required=1, readonly=1,
- states={'draft': [('readonly', False)]})
- party2 = fields.Selection([('employee', 'Employee')], default='employee',
- string='Party 2', required=1, readonly=1, states={'draft': [('readonly', False)]})
- employee_id = fields.Many2one('hr.employee', string='Employee', copy=False,
- readonly=1, states={'draft': [('readonly', False)]})
- party2_name = fields.Char(compute='set_party2', string='Name', store=True)
- case_details = fields.Html(string='Case Details', copy=False, track_visibility='always')
- state = fields.Selection([('draft', 'Draft'),
- ('running', 'Running'),
- ('cancel', 'Cancelled'),
- ('fail', 'Failed'),
- ('won', 'Won')], string='Status',
- default='draft', track_visibility='always', copy=False)
-
-
-class HrLegalEmployeeMaster(models.Model):
- _inherit = 'hr.employee'
-
- legal_count = fields.Integer(compute='_legal_count', string='# Legal Actions')
-
- @api.multi
- def _legal_count(self):
- for each in self:
- legal_ids = self.env['hr.lawsuit'].search([('employee_id', '=', each.id)])
- each.legal_count = len(legal_ids)
-
- @api.multi
- def legal_view(self):
- for each1 in self:
- legal_obj = self.env['hr.lawsuit'].sudo().search([('employee_id', '=', each1.id)])
- legal_ids = []
- for each in legal_obj:
- legal_ids.append(each.id)
- view_id = self.env.ref('oh_hr_lawsuit_management.hr_lawsuit_form_view').id
- if legal_ids:
- if len(legal_ids) <= 1:
- value = {
- 'view_type': 'form',
- 'view_mode': 'form',
- 'res_model': 'hr.lawsuit',
- 'view_id': view_id,
- 'type': 'ir.actions.act_window',
- 'name': _('Legal Actions'),
- 'res_id': legal_ids and legal_ids[0]
- }
- else:
- value = {
- 'domain': str([('id', 'in', legal_ids)]),
- 'view_type': 'form',
- 'view_mode': 'tree,form',
- 'res_model': 'hr.lawsuit',
- 'view_id': False,
- 'type': 'ir.actions.act_window',
- 'name': _('Legal Actions'),
- 'res_id': legal_ids
- }
-
- return value
-
-
diff --git a/oh_hr_lawsuit_management/security/ir.model.access.csv b/oh_hr_lawsuit_management/security/ir.model.access.csv
deleted file mode 100644
index a57ffa0c7..000000000
--- a/oh_hr_lawsuit_management/security/ir.model.access.csv
+++ /dev/null
@@ -1,4 +0,0 @@
-"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
-"access_hr_lawsuit_manager","hr.access_hr_lawsuit_manager","model_hr_lawsuit","oh_hr_lawsuit_management.lawsuit_group_manager",1,1,1,1
-"access_hr_lawsuit_manager1","hr.access_hr_lawsuit_manager","model_hr_lawsuit",,1,0,0,0
-"access_account_invoice","hr.access_account_invoice","account.model_account_invoice","oh_hr_lawsuit_management.lawsuit_group_manager",1,0,0,0
diff --git a/oh_hr_lawsuit_management/security/security.xml b/oh_hr_lawsuit_management/security/security.xml
deleted file mode 100644
index 026117cba..000000000
--- a/oh_hr_lawsuit_management/security/security.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
- Lawsuit
- 18
-
-
-
- Lawsuit Manager
-
-
-
-
-
-
- Lawsuit multi-company
-
-
- ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
-
-
-
-
diff --git a/oh_hr_lawsuit_management/static/description/HRMS-BUTTON.png b/oh_hr_lawsuit_management/static/description/HRMS-BUTTON.png
deleted file mode 100644
index 0f1b65bea..000000000
Binary files a/oh_hr_lawsuit_management/static/description/HRMS-BUTTON.png and /dev/null differ
diff --git a/oh_hr_lawsuit_management/static/description/banner.jpg b/oh_hr_lawsuit_management/static/description/banner.jpg
deleted file mode 100644
index 491e60d5f..000000000
Binary files a/oh_hr_lawsuit_management/static/description/banner.jpg and /dev/null differ
diff --git a/oh_hr_lawsuit_management/static/description/cybro-service.png b/oh_hr_lawsuit_management/static/description/cybro-service.png
deleted file mode 100644
index 252929a86..000000000
Binary files a/oh_hr_lawsuit_management/static/description/cybro-service.png and /dev/null differ
diff --git a/oh_hr_lawsuit_management/static/description/cybro_logo.png b/oh_hr_lawsuit_management/static/description/cybro_logo.png
deleted file mode 100644
index bb309114c..000000000
Binary files a/oh_hr_lawsuit_management/static/description/cybro_logo.png and /dev/null differ
diff --git a/oh_hr_lawsuit_management/static/description/hr_legal.png b/oh_hr_lawsuit_management/static/description/hr_legal.png
deleted file mode 100644
index daeaf9024..000000000
Binary files a/oh_hr_lawsuit_management/static/description/hr_legal.png and /dev/null differ
diff --git a/oh_hr_lawsuit_management/static/description/icon.png b/oh_hr_lawsuit_management/static/description/icon.png
deleted file mode 100644
index cd9a8e82d..000000000
Binary files a/oh_hr_lawsuit_management/static/description/icon.png and /dev/null differ
diff --git a/oh_hr_lawsuit_management/static/description/index.html b/oh_hr_lawsuit_management/static/description/index.html
deleted file mode 100644
index a0dee22de..000000000
--- a/oh_hr_lawsuit_management/static/description/index.html
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
- ☑ Ingrates biometric device(Face+Thumb) with HR attendance.
- ☑ Option to keep the device attendance log in Odoo.
- ☑ Option to clear the device attendance log from both device and Odoo.
- ☑ Automating HR attendance.
- ☑ Option to configure multiple devices.
-
-
-
-
- This module will support with
-
-
ZKteco model 'uFace 202'
-
ZKteco model 'iFace990'
-
-
-
-
-
-
-
-
-
-
Overview
-
- Automation is an implementation factor for a successful ERP. With this module,
- HR attendance can automate by integrating Thumb / Face detection device with Odoo.
- We can configure a user both from thumbing device or Odoo employee form.
-
- ☑ Employee can create loan request.
- ☑ Double layer approval, from Accounting & HR Department.
- ☑ Current month installment is automatically listed in payslip.
- ☑ Loan amount is deducted from the salary.
-
-
-
-
-
-
-
-
-
Overview
-
- Open HRMS Loan is a component of Open HRMS suit.
- Open HRMS Loan module helps the user to configure different loan policies, assign approval authority, conduct the verification process and sanction loan for employees.
-
-
-
-
-
-
-
-
-
-
Configuration
-
-
-
Install the Module "Open HRMS Loan Accounting" in order to enable Accounting Entries.
- Enable the option "Loan Approval From Accounting Department" In accounting settings
-
-
-
-
-
-
-
-
Add the deduction rule for loan in Salary Structure
-
-
-
-
-
-
-
-
-
-
-
-
-
Loan Request
-
Employee can create loan request
-
-
-
-
-
-
-
-
-
-
-
-
-
Loan Approval
-
Once the HR department has given the Approval, the accounts department take the decision
-
-
-
-
-
-
-
-
-
-
-
-
-
Employee Payslip
-
When we create the payslip, all the pending installments of the month will be listed there.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Loan Amount Deduction
-
When we check the Loan request again,
- the deducted installments will be changed to paid.
- ☑ Employee can create loan request.
- ☑ Double layer approval, from Accounting & HR Department.
- ☑ Current month installment is automatically listed in payslip.
- ☑ Loan amount is deducted from the salary.
-
-
-
-
-
-
-
-
-
Overview
-
- Open HRMS Loan is a component of Open HRMS suit.
- Open HRMS Loan module helps the user to configure different loan policies, assign approval authority, conduct the verification process and sanction loan for employees.
-
-
-
-
-
-
-
-
-
-
Configuration
-
-
-
Install the Module "Open HRMS Loan Accounting" in order to enable Accounting Entries.
- Enable the option "Loan Approval From Accounting Department" In accounting settings
-
-
-
-
-
-
-
-
Add the deduction rule for loan in Salary Structure
-
-
-
-
-
-
-
-
-
-
-
-
-
Loan Request
-
Employee can create loan request
-
-
-
-
-
-
-
-
-
-
-
-
-
Loan Approval
-
Once the HR department has given the Approval, the accounts department take the decision
-
-
-
-
-
-
-
-
-
-
-
-
-
Employee Payslip
-
When we create the payslip, all the pending installments of the month will be listed there.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Loan Amount Deduction
-
When we check the Loan request again,
- the deducted installments will be changed to paid.
- ☑ Employee can request for advance salary.
- ☑ Set advance salary percentage limit in salary structure.
- ☑ Set salary advance days in salary structure.
-
-
-
-
-
-
-
-
-
Overview
-
- HR Salary Advance is a component of Open HRMS suit. HR Salary Advance
- module helps the user to manage salary advance requests from employees. You can configure advance salary rules,
- set advance salary limit, minimum number of days, and provide advance salary to employees
-
-
-
-
-
-
-
-
-
-
Configuration
-
Add salary advance Rules in Salary Structure and provide the maximum advance percentage and advance days
-
-
-
-
-
-
-
-
-
-
-
-
-
Advance Request
-
Employee can create Advance request
-
-
-
-
-
-
-
-
-
-
-
-
-
Salary Advance request approval From Hr & Accounts Department
-
-
-
-
-
-
-
-
-
-
-
-
-
Employee Payslip
-
When we create payslip salary advance will be deducted from the salary