diff --git a/oh_employee_creation_from_user/README.md b/oh_employee_creation_from_user/README.md deleted file mode 100644 index d94be37d6..000000000 --- a/oh_employee_creation_from_user/README.md +++ /dev/null @@ -1,17 +0,0 @@ -Open HRMS Employees From User ------------------------------ -Supporting Addon for Open HRMS, Creates Employee While Creating User - -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 -Nilmar Shereef - shereef@cybrosys.in - -Website: -https://www.openhrms.com -https://www.cybrosys.com diff --git a/oh_employee_creation_from_user/__init__.py b/oh_employee_creation_from_user/__init__.py deleted file mode 100644 index 7fe9ef400..000000000 --- a/oh_employee_creation_from_user/__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: Nilmar Shereef () -# -# 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_employee_creation_from_user/__manifest__.py b/oh_employee_creation_from_user/__manifest__.py deleted file mode 100644 index 5899c8959..000000000 --- a/oh_employee_creation_from_user/__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: Nilmar Shereef () -# -# 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 Employees From User', - 'version': '11.0.1.0.0', - 'summary': 'Automatically Creates Employee While Creating User', - 'description': 'This module helps you to create employees automatically while creating users', - 'category': 'Generic Modules/Human Resources', - 'author': 'Cybrosys Techno Solutions', - 'company': 'Cybrosys Techno Solutions', - 'website': "https://www.openhrms.com", - 'depends': ['base', 'hr'], - 'data': ['views/employee_creation_from_user_view.xml'], - 'demo': [], - 'images': ['static/description/banner.jpg'], - 'license': 'AGPL-3', - 'installable': True, - 'auto_install': False, - 'application': False, -} diff --git a/oh_employee_creation_from_user/doc/RELEASE_NOTES.md b/oh_employee_creation_from_user/doc/RELEASE_NOTES.md deleted file mode 100644 index 8f311eb82..000000000 --- a/oh_employee_creation_from_user/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,6 +0,0 @@ -## Module - -#### 30.03.2018 -#### Version 11.0.1.0.0 -##### ADD -- Initial commit for Open HRMS Project diff --git a/oh_employee_creation_from_user/models/__init__.py b/oh_employee_creation_from_user/models/__init__.py deleted file mode 100644 index e388f8e8b..000000000 --- a/oh_employee_creation_from_user/models/__init__.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################### -# A part of Open HRMS Project -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2018-TODAY Cybrosys Technologies (). -# Author: Nilmar Shereef () -# -# 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 employee_creation_from_user - diff --git a/oh_employee_creation_from_user/models/__pycache__/__init__.cpython-35.pyc b/oh_employee_creation_from_user/models/__pycache__/__init__.cpython-35.pyc deleted file mode 100644 index f522fc864..000000000 Binary files a/oh_employee_creation_from_user/models/__pycache__/__init__.cpython-35.pyc and /dev/null differ diff --git a/oh_employee_creation_from_user/models/__pycache__/employee_creation_from_user.cpython-35.pyc b/oh_employee_creation_from_user/models/__pycache__/employee_creation_from_user.cpython-35.pyc deleted file mode 100644 index 0c2b00074..000000000 Binary files a/oh_employee_creation_from_user/models/__pycache__/employee_creation_from_user.cpython-35.pyc and /dev/null differ diff --git a/oh_employee_creation_from_user/models/employee_creation_from_user.py b/oh_employee_creation_from_user/models/employee_creation_from_user.py deleted file mode 100644 index 536c7e7bd..000000000 --- a/oh_employee_creation_from_user/models/employee_creation_from_user.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################### -# A part of Open HRMS Project -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2018-TODAY Cybrosys Technologies (). -# Author: Nilmar Shereef () -# -# 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 ResUsersInherit(models.Model): - _inherit = 'res.users' - - employee_id = fields.Many2one('hr.employee', - string='Related Employee', ondelete='restrict', auto_join=True, - help='Employee-related data of the user') - - @api.model - def create(self, vals): - """This code is to create an employee while creating an user.""" - - result = super(ResUsersInherit, self).create(vals) - result['employee_id'] = self.env['hr.employee'].sudo().create({'name': result['name'], - 'user_id': result['id'], - 'address_home_id': result['partner_id'].id}) - return result diff --git a/oh_employee_creation_from_user/static/description/HRMS-BUTTON.png b/oh_employee_creation_from_user/static/description/HRMS-BUTTON.png deleted file mode 100644 index 0f1b65bea..000000000 Binary files a/oh_employee_creation_from_user/static/description/HRMS-BUTTON.png and /dev/null differ diff --git a/oh_employee_creation_from_user/static/description/banner.jpg b/oh_employee_creation_from_user/static/description/banner.jpg deleted file mode 100644 index 1beaec804..000000000 Binary files a/oh_employee_creation_from_user/static/description/banner.jpg and /dev/null differ diff --git a/oh_employee_creation_from_user/static/description/cybro-service.png b/oh_employee_creation_from_user/static/description/cybro-service.png deleted file mode 100644 index 252929a86..000000000 Binary files a/oh_employee_creation_from_user/static/description/cybro-service.png and /dev/null differ diff --git a/oh_employee_creation_from_user/static/description/cybro_logo.png b/oh_employee_creation_from_user/static/description/cybro_logo.png deleted file mode 100644 index bb309114c..000000000 Binary files a/oh_employee_creation_from_user/static/description/cybro_logo.png and /dev/null differ diff --git a/oh_employee_creation_from_user/static/description/icon.png b/oh_employee_creation_from_user/static/description/icon.png deleted file mode 100644 index d0c6a7c4c..000000000 Binary files a/oh_employee_creation_from_user/static/description/icon.png and /dev/null differ diff --git a/oh_employee_creation_from_user/static/description/index.html b/oh_employee_creation_from_user/static/description/index.html deleted file mode 100644 index 40a9caa80..000000000 --- a/oh_employee_creation_from_user/static/description/index.html +++ /dev/null @@ -1,107 +0,0 @@ -
-
-

Open HRMS

-

Most advanced open source HR management software

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

Open HRMS Employee From User

-

An employee will creates automatically while creating an user

-

Author : Cybrosys Techno Solutions , www.cybrosys.com

-
-
-
- This module automatically creates employee while creating an user. -
-
-
- -
-
-
-

Overview

-

- This module automatically creating employee in employee table while creating the users. - This will simplify the HR process. -

-
-
-
- -
-
-

User

-
-
- -
-
-
-
- -
-
-

Employee

-
-
- -
-
-
-
- -
-
-

Our Odoo Services

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

Need Any Help?

- -
- - diff --git a/oh_employee_creation_from_user/static/description/oh_employee.png b/oh_employee_creation_from_user/static/description/oh_employee.png deleted file mode 100644 index 525368102..000000000 Binary files a/oh_employee_creation_from_user/static/description/oh_employee.png and /dev/null differ diff --git a/oh_employee_creation_from_user/static/description/oh_user.png b/oh_employee_creation_from_user/static/description/oh_user.png deleted file mode 100644 index 1ad97378f..000000000 Binary files a/oh_employee_creation_from_user/static/description/oh_user.png and /dev/null differ diff --git a/oh_employee_creation_from_user/views/employee_creation_from_user_view.xml b/oh_employee_creation_from_user/views/employee_creation_from_user_view.xml deleted file mode 100644 index 68c956e80..000000000 --- a/oh_employee_creation_from_user/views/employee_creation_from_user_view.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - res.users.form - res.users - - - - - - - - - \ No newline at end of file