Browse Source

[FIX] Dependancy Updated

pull/78/head
Sreejith 7 years ago
parent
commit
149e99a7bb
  1. 6
      ohrms_core/RELEASE_NOTES.md
  2. 24
      ohrms_core/__init__.py
  3. 47
      ohrms_core/__manifest__.py
  4. 24
      ohrms_core/models/__init__.py
  5. 62
      ohrms_core/models/hr_general_settings.py
  6. BIN
      ohrms_core/static/description/HRMS_core.png
  7. BIN
      ohrms_core/static/description/banner.jpg
  8. BIN
      ohrms_core/static/description/cybro_logo.png
  9. BIN
      ohrms_core/static/description/icon.png
  10. 61
      ohrms_core/static/description/index.html
  11. 72
      ohrms_core/views/hr_config_view.xml
  12. 75
      ohrms_core/views/menu_arrangement_view.xml

6
ohrms_core/RELEASE_NOTES.md

@ -0,0 +1,6 @@
## Module <ohrms_core>
#### 30.03.2018
#### Version 10.0.1.0.0
##### ADD
- Initial commit for OpenHrms Project

24
ohrms_core/__init__.py

@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
###################################################################################
# A part of OpenHrms Project <https://www.openhrms.com>
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2018-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Jesni Banu (<https://www.cybrosys.com>)
#
# 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 <https://www.gnu.org/licenses/>.
#
###################################################################################
from . import models

47
ohrms_core/__manifest__.py

@ -0,0 +1,47 @@
# -*- coding: utf-8 -*-
###################################################################################
# A part of OpenHrms Project <https://www.openhrms.com>
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2018-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Jesni Banu (<https://www.cybrosys.com>)
#
# 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 <https://www.gnu.org/licenses/>.
#
###################################################################################
{
'name': 'Open HRMS Core',
'version': '10.0.1.1.0',
'summary': """Open HRMS Core""",
'description': 'Open HRMS Core',
'category': 'Generic Modules/Human Resources',
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'website': "https://www.openhrms.com",
'depends': ['hr_payroll_account', 'hr_gamification', 'hr_employee_updation', 'hr_recruitment', 'hr_attendance', 'hr_holidays',
'hr_payroll', 'hr_expense', 'hr_leave_request_aliasing', 'hr_timesheet', 'oh_appraisal',
'oh_employee_creation_from_user', 'oh_employee_documents_expiry', 'hr_multi_company',
'ohrms_loan_accounting', 'ohrms_salary_advance', 'hr_reminder', 'hr_reward_warning',
'hr_theme'],
'data': [
'views/menu_arrangement_view.xml',
'views/hr_config_view.xml',
],
'demo': [],
'images': ['static/description/banner.jpg'],
'license': 'AGPL-3',
'installable': True,
'auto_install': False,
'application': False,
}

24
ohrms_core/models/__init__.py

@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
###################################################################################
# A part of OpenHrms Project <https://www.openhrms.com>
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2018-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Jesni Banu (<https://www.cybrosys.com>)
#
# 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 <https://www.gnu.org/licenses/>.
#
###################################################################################
from .import hr_general_settings

62
ohrms_core/models/hr_general_settings.py

@ -0,0 +1,62 @@
# -*- coding: utf-8 -*-
###################################################################################
# A part of OpenHrms Project <https://www.openhrms.com>
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2018-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Jesni Banu (<https://www.cybrosys.com>)
#
# 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 <https://www.gnu.org/licenses/>.
#
###################################################################################
from odoo import api, fields, models
class OHRMSConfiguration(models.TransientModel):
_name = 'hr.config.settings'
_inherit = 'res.config.settings'
module_hr_custody = fields.Boolean(
string='Manage the company properties when it is in the custody of an employee',
help='Helps you to manage Custody Requests.\n'
'- This installs the module Custody Management.')
module_oh_employee_check_list = fields.Boolean(
string="Manages employee's entry & exit Process",
help='Helps you to manage Employee Checklist.\n'
'- This installs the module Employee Checklist.')
module_hr_employee_shift = fields.Boolean(
string='Manage different type of shifts',
help='Helps you to manage Employee Shift.\n'
'- This installs the module Employee Shift.')
module_hr_insurance = fields.Boolean(
string='Manage Insurance for employees',
help='Helps you to manage Employee Insurance.\n'
'- This installs the module Employee Insurance.')
module_oh_hr_lawsuit_management = fields.Boolean(
string='Manage legal actions',
help='Helps you to manage Lawsuit Management.\n'
'- This installs the module Lawsuit Management.')
module_hr_resignation = fields.Boolean(
string='Handle the resignation process of the employee',
help='Helps you to manage Resignation Process.\n'
'- This installs the module Resignation Process.')
module_hr_vacation_mngmt = fields.Boolean(
string='Manage employee vacation',
help='Helps you to manage Vacation Management.\n'
'- This installs the module Vacation Management.')
module_oh_hr_zk_attendance = fields.Boolean(
string='Manage biometric device (Model: ZKteco uFace 202) integration with HR attendance (Face + Thumb)',
help='Helps you to manage Biometric Device Integration.\n'
'- This installs the module Biometric Device Integration.')

BIN
ohrms_core/static/description/HRMS_core.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

BIN
ohrms_core/static/description/banner.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

BIN
ohrms_core/static/description/cybro_logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
ohrms_core/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

61
ohrms_core/static/description/index.html

@ -0,0 +1,61 @@
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">OHRMS Core</h2>
<h3 class="oe_slogan">Managing Every Process of HR</h3>
<h4 class="oe_slogan"><a href="https://www.cybrosys.com">Cybrosys Technologies</a> </h4>
</div>
<div class="oe_row oe_spaced" style="padding-left:65px;">
<h4>Features:</h4>
<div>
<span style="color:green;"> &#9745; </span><br/>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<div class="oe_picture">
<h3 class="oe_slogan">Overview</h3>
<p class="oe_mt32 text-justify" style="text-align: center;">
</p>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div class="oe_span12">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:8px solid white;" src="HRMS_core.png">
</div>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<h2 class="oe_slogan" style="margin-top:20px;" >Need Any Help?</h2>
<div class="oe_slogan" style="margin-top:10px !important;">
<div>
<a class="btn btn-primary btn-lg mt8"
style="color: #FFFFFF !important;border-radius: 0;" href="https://www.cybrosys.com"><i
class="fa fa-envelope"></i> Email </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;"
href="https://www.cybrosys.com/contact/"><i
class="fa fa-phone"></i> Contact Us </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;"
href="https://www.cybrosys.com/odoo-customization-and-installation/"><i
class="fa fa-check-square"></i> Request Customization </a>
</div>
<br>
<img src="cybro_logo.png" style="width: 190px; margin-bottom: 20px;" class="center-block">
<div>
<a href="https://twitter.com/cybrosys" target="_blank"><i class="fa fa-2x fa-twitter" style="color:white;background: #00a0d1;width:35px;"></i></a></td>
<a href="https://www.linkedin.com/company/cybrosys-technologies-pvt-ltd" target="_blank"><i class="fa fa-2x fa-linkedin" style="color:white;background: #31a3d6;width:35px;padding-left: 3px;"></i></a></td>
<a href="https://www.facebook.com/cybrosystechnologies" target="_blank"><i class="fa fa-2x fa-facebook" style="color:white;background: #3b5998;width:35px;padding-left: 8px;"></i></a></td>
<a href="https://plus.google.com/106641282743045431892/about" target="_blank"><i class="fa fa-2x fa-google-plus" style="color:white;background: #c53c2c;width:35px;padding-left: 3px;"></i></a></td>
<a href="https://in.pinterest.com/cybrosys" target="_blank"><i class="fa fa-2x fa-pinterest" style="color:white;background: #ac0f18;width:35px;padding-left: 3px;"></i></a></td>
</div>
</div>
</section>

72
ohrms_core/views/hr_config_view.xml

@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_hr_general_config" model="ir.ui.view">
<field name="name">General Settings</field>
<field name="model">hr.config.settings</field>
<field name="arch" type="xml">
<form string="Hr General Settings" class="oe_form_configuration" name="hr_config_form">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
<button string="Cancel" type="object" name="cancel" class="oe_link"/>
</header>
<div id="main">
<group string="Advanced Features">
<label string="Custody Management"/>
<div>
<field name="module_hr_custody" class="oe_inline"/>
<label for="module_hr_custody"/>
</div>
<label string="Employee Checklist"/>
<div>
<field name="module_oh_employee_check_list" class="oe_inline"/>
<label for="module_oh_employee_check_list"/>
</div>
<label string="Employee Shift"/>
<div>
<field name="module_hr_employee_shift" class="oe_inline"/>
<label for="module_hr_employee_shift"/>
</div>
<label string="Employee Insurance"/>
<div>
<field name="module_hr_insurance" class="oe_inline"/>
<label for="module_hr_insurance"/>
</div>
<label string="Lawsuit Management"/>
<div>
<field name="module_oh_hr_lawsuit_management" class="oe_inline"/>
<label for="module_oh_hr_lawsuit_management"/>
</div>
<label string="Resignation Process"/>
<div>
<field name="module_hr_resignation" class="oe_inline"/>
<label for="module_hr_resignation"/>
</div>
<label string="Vacation Management"/>
<div>
<field name="module_hr_vacation_mngmt" class="oe_inline"/>
<label for="module_hr_vacation_mngmt"/>
</div>
<label string="Biometric Device Integration"/>
<div>
<field name="module_oh_hr_zk_attendance" class="oe_inline"/>
<label for="module_oh_hr_zk_attendance"/>
</div>
</group>
</div>
</form>
</field>
</record>
<record id="action_hr_general_config" model="ir.actions.act_window">
<field name="name">Hr General Settings</field>
<field name="res_model">hr.config.settings</field>
<field name="view_mode">form</field>
<field name="target">inline</field>
</record>
<menuitem id="menu_hr_general_config"
name="Settings"
parent="hr.menu_human_resources_configuration"
sequence="-1"
action="action_hr_general_config"/>
</odoo>

75
ohrms_core/views/menu_arrangement_view.xml

@ -0,0 +1,75 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<menuitem id="hr_timesheet.timesheet_menu_root" name="Timesheets" sequence="6" groups="base.group_user"
web_icon="hr_timesheet,static/description/icon_timesheet.png" parent="hr.menu_hr_root"/>
<menuitem id="hr_timesheet.menu_hr_activity_analysis" parent="hr_employee_updation.employee_report_menu" action="hr_timesheet.act_hr_timesheet_report"
name="Activity Analysis" groups="hr_timesheet.group_hr_timesheet_user" sequence="4"/>
<menuitem id="hr.menu_hr_root" name="Human Resource" groups="hr.group_hr_manager,hr.group_hr_user,base.group_user"
web_icon="hr,static/description/icon.png" sequence="4"/>
<menuitem id="hr.menu_open_view_employee_list_my" action="hr.open_view_employee_list_my" parent="hr.menu_hr_root"
sequence="1"/>
<menuitem id="hr_contract.hr_menu_contract" name="Contracts" action="hr_contract.action_hr_contract" parent="hr_employee_updation.menu_hr_management"
sequence="2" groups="hr.group_hr_manager"/>
<menuitem action="hr.open_module_tree_department" id="hr.menu_hr_department_tree" parent="hr_employee_updation.menu_hr_management"
sequence="3" groups="hr.group_hr_user"/>
<menuitem name="Recruitment" id="hr_recruitment.menu_hr_recruitment_root" web_icon="hr_recruitment,static/description/icon.png"
groups="hr_recruitment.group_hr_recruitment_user" parent="hr_employee_updation.menu_hr_management" sequence="4"/>
<menuitem id="hr_attendance.menu_hr_attendance_root" name="Attendances" sequence="7" groups="hr.group_hr_attendance"
web_icon="hr_attendance,static/description/icon.png" parent="hr.menu_hr_root"/>
<menuitem name="Leaves" id="hr_holidays.menu_hr_holidays_root" sequence="8" parent="hr.menu_hr_root"
web_icon="hr_holidays,static/description/icon.png" groups="base.group_user"/>
<menuitem id="hr_payroll.menu_hr_payroll_root" name="Payroll" sequence="11" parent="hr.menu_hr_root"
web_icon="hr_payroll,static/description/icon.png"/>
<menuitem id="hr_expense.menu_hr_expense_root" name="Expenses" sequence="12" parent="hr.menu_hr_root"
web_icon="hr_expense,static/description/icon.png"/>
<menuitem id="hr_expense.menu_hr_expense_accountant" name="Accountant" sequence="13" parent="hr.menu_hr_root" groups="hr_expense.group_hr_expense_manager"/>
<menuitem id="hr.menu_human_resources_configuration" name="Configuration" parent="hr.menu_hr_root"
groups="hr.group_hr_manager" sequence="31"/>
<menuitem id="hr_gamification.menu_hr_gamification" parent="hr.menu_hr_root" name="Challenges" sequence="16"/>
<menuitem id="hr_attendance.menu_hr_attendance_report" name="Attendance Analysis"
parent="hr_employee_updation.employee_report_menu" sequence="1"
groups="hr_attendance.group_hr_attendance_user" action="hr_attendance.hr_attendance_action_graph"/>
<menuitem
id="hr_holidays.menu_hr_holidays_report"
name="Leaves Analysis"
parent="hr_employee_updation.employee_report_menu"
sequence="10"
groups="hr_holidays.group_hr_holidays_manager,hr_holidays.group_hr_holidays_user"/>
<menuitem
name="Leaves by Department"
parent="hr_employee_updation.employee_report_menu"
action="hr_holidays.action_hr_holidays_summary_dept"
id="hr_holidays.menu_account_central_journal" sequence="2"/>
<menuitem id="hr_expense.menu_hr_expense_reports" name="Expense Analysis" sequence="11"
parent="hr_employee_updation.employee_report_menu" groups="hr_expense.group_hr_expense_manager"/>
<menuitem name="Recruitment Analysis" id="hr_recruitment.report_hr_recruitment" parent="hr_employee_updation.employee_report_menu"
sequence="3" action="hr_recruitment.action_hr_recruitment_report_all"/>
<menuitem id="hr_attendance.menu_hr_attendance_settings" name="Attendance Config" parent="hr.menu_human_resources_configuration"
sequence="2" action="hr_attendance.action_hr_attendance_settings" groups="hr_attendance.group_hr_attendance_manager"/>
<menuitem id="hr_recruitment.menu_hr_recruitment_configuration" name="Recruitment Config" parent="hr.menu_human_resources_configuration"
sequence="10"/>
<menuitem
id="main_menu_hr_holidays_configuration"
name="Leaves Config"
parent="hr.menu_human_resources_configuration"
sequence="3"
groups="hr_holidays.group_hr_holidays_manager"/>
<menuitem
id="hr_holidays.menu_hr_holidays_configuration"
name="Leaves Config"
parent="main_menu_hr_holidays_configuration"
sequence="2"
groups="hr_holidays.group_hr_holidays_manager"
action="hr_holidays.open_view_holiday_status"/>
<menuitem id="hr_leave_request_aliasing.menu_hr_leave_global_settings" name="Settings"
parent="main_menu_hr_holidays_configuration" sequence="1" action="hr_leave_request_aliasing.action_hr_leave_configuration" groups="base.group_system"/>
<menuitem id="hr_payroll.menu_hr_payroll_configuration" name="Payroll Config" parent="hr.menu_human_resources_configuration"
sequence="4" groups="hr_payroll.group_hr_payroll_manager"/>
<menuitem id="hr_expense.menu_hr_expense_configuration" name="Expense Config" parent="hr.menu_human_resources_configuration"
sequence="5"/>
</data>
</odoo>
Loading…
Cancel
Save