Browse Source

[MVD]Moved To OpenHRMS Repo

pull/82/head
Sreejith P 7 years ago
parent
commit
46851be7a7
  1. 43
      hr_theme/README.md
  2. 22
      hr_theme/__init__.py
  3. 43
      hr_theme/__manifest__.py
  4. 12
      hr_theme/doc/RELEASE_NOTES.md
  5. BIN
      hr_theme/static/description/HRMS-BUTTON.png
  6. BIN
      hr_theme/static/description/banner.jpg
  7. BIN
      hr_theme/static/description/cybro-service.png
  8. BIN
      hr_theme/static/description/cybro_logo.png
  9. BIN
      hr_theme/static/description/icon.png
  10. 96
      hr_theme/static/description/index.html
  11. BIN
      hr_theme/static/description/open_hrms_theme.png
  12. BIN
      hr_theme/static/description/open_hrms_theme_form.png
  13. 30
      hr_theme/static/src/css/theme_hr_front.css
  14. 497
      hr_theme/static/src/css/theme_sub_menu.css
  15. BIN
      hr_theme/static/src/img/arrow.png
  16. BIN
      hr_theme/static/src/img/favicon.ico
  17. BIN
      hr_theme/static/src/img/open_hrms_logo.png
  18. BIN
      hr_theme/static/src/img/powered_by.png
  19. 38
      hr_theme/views/open_hrms_theme.xml
  20. 17
      oh_employee_creation_from_user/README.md
  21. 6
      oh_employee_creation_from_user/RELEASE_NOTES.md
  22. 25
      oh_employee_creation_from_user/__init__.py
  23. 40
      oh_employee_creation_from_user/__manifest__.py
  24. 11
      oh_employee_creation_from_user/doc/RELEASE_NOTES.md
  25. 25
      oh_employee_creation_from_user/models/__init__.py
  26. 41
      oh_employee_creation_from_user/models/employee_creation_from_user.py
  27. BIN
      oh_employee_creation_from_user/static/description/HRMS-BUTTON.png
  28. BIN
      oh_employee_creation_from_user/static/description/banner.jpg
  29. BIN
      oh_employee_creation_from_user/static/description/cybro-service.png
  30. BIN
      oh_employee_creation_from_user/static/description/cybro_logo.png
  31. BIN
      oh_employee_creation_from_user/static/description/icon.png
  32. 100
      oh_employee_creation_from_user/static/description/index.html
  33. BIN
      oh_employee_creation_from_user/static/description/oh_employee.png
  34. BIN
      oh_employee_creation_from_user/static/description/oh_user.png
  35. 16
      oh_employee_creation_from_user/views/employee_creation_from_user_view.xml

43
hr_theme/README.md

@ -1,43 +0,0 @@
Open HRMS Theme
===============
Theme for Open HRMS.
Depends
=======
[web] addon Odoo
Tech
====
* [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 (AGPLv3)
(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 <https://www.cybrosys.com>
Author
------
Developers: Avinash Nk <avinash@cybrosys.in>
Sanjith Rashin <sanjith@cybrosys.in>
Maintainer
----------
This module is maintained by Cybrosys Technologies.
For support and more information, please visit https://www.cybrosys.com.

22
hr_theme/__init__.py

@ -1,22 +0,0 @@
# -*- 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: Avinash Nk (<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/>.
#
###################################################################################

43
hr_theme/__manifest__.py

@ -1,43 +0,0 @@
# -*- coding: utf-8 -*-
###################################################################################
# A part of Open HRMS Project <https://www.openhrms.com>
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2018-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Avinash Nk (<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 Theme',
'version': '10.0.1.1.0',
'summary': """Curtain Raiser of Open HRMS.""",
'description': """Open HRMS all set in new colour theme of blues and whites totaling to a new experience""",
'category': 'Theme',
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'website': "https://www.openhrms.com",
'depends': ['web'],
'data': [
'views/open_hrms_theme.xml',
],
'demo': [],
'images': ['static/description/banner.jpg'],
'license': 'AGPL-3',
'installable': True,
'auto_install': False,
'application': False,
}

12
hr_theme/doc/RELEASE_NOTES.md

@ -1,12 +0,0 @@
## Module hr_theme
#### 07.04.2018
#### Version 10.0.1.1.0
##### CHG
- style issue in external link button fixed.
- style issue in mandatory field fixed.
#### 30.03.2018
#### Version 10.0.1.0.0
##### ADD
- Initial commit for OpenHrms Project

BIN
hr_theme/static/description/HRMS-BUTTON.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

BIN
hr_theme/static/description/banner.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 465 KiB

BIN
hr_theme/static/description/cybro-service.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 KiB

BIN
hr_theme/static/description/cybro_logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

BIN
hr_theme/static/description/icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

96
hr_theme/static/description/index.html

@ -1,96 +0,0 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Open HRMS</h2>
<h3 class="oe_slogan">Most advanced open source HR management software</h3>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced oe_mt32">
<div class="oe_span">
<div class="oe_demo oe_picture oe_screenshot">
<a href="https://www.openhrms.com/#request-demo">
<img src="HRMS-BUTTON.png">
</a>
</div>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Open HRMS Theme</h2>
<h3 class="oe_slogan">Theme for OHRMS</h3>
<h4 class="oe_slogan"><a href="https://www.cybrosys.com">Cybrosys Technologies</a> </h4>
</div>
</section>
<section class="oe_container ">
<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;">
Blessed are they who see beautiful things in humble places.
Head to new Open HRMS website all set in blue and white color
tone giving visual bliss to the eyes and its redefined user
interface ensuring a clear and concise outlook on human resource.
</p>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Kanban View</h4>
<div class="oe_span12">
<div class="oe_row_img oe_centered">
<img class="oe_picture oe_screenshot" src="open_hrms_theme.png">
</div>
</div>
</div>
</section>
<section class="oe_container ">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Form View</h4>
<div class="oe_span12">
<div class="oe_row_img oe_centered">
<img class="oe_picture oe_screenshot" src="open_hrms_theme_form.png">
</div>
</div>
</div>
</section>
<div class="row section-content">
<div class="col-md-6 img-content">
<h3>Our Odoo Services</h3>
</div> <div class="bc-span col-md-12"><div class="inner-span"><a target="_blank" href="https://www.openhrms.com"><img class="img-border img-responsive thumbnail" src="cybro-service.png"></a></div></div>
</div>
</div>
<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>
</section>

BIN
hr_theme/static/description/open_hrms_theme.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 KiB

BIN
hr_theme/static/description/open_hrms_theme_form.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

30
hr_theme/static/src/css/theme_hr_front.css

@ -1,30 +0,0 @@
.o_main_navbar {
border: 1px solid #00438a !important;
background-color: #00438a !important;
-webkit-box-shadow: 0px 0px 8px #00438a !important;
box-shadow: 0px 0px 8px #00438a !important;
}
.o_main_navbar{
color: white;
background-color: #014389 !important;
border-color: #014389 !important;
}
.o_main_navbar > ul > li > a:hover {
background-color: #023163 !important;
}
.o_tooltip.bottom::before {
border-bottom-color: #014389 !important;
}
.o_tooltip::after {
border-color: #014389 !important;
background: radial-gradient(#014389, #03366d) !important;
}
.o_tooltip {
border: 2px solid #014389 !important;
background-color: #7c7bad;transition: width 133ms ease 0ms, height 133ms ease 0ms, margin 133ms ease 0ms, border-radius 133ms ease 66ms;
}
#oe_main_menu_navbar .o_menu_systray a[data-action="edit"], #oe_main_menu_navbar .o_menu_systray a[data-action="translate"] {
color: #ffffff;
background-color: #014389 !important;
border-color: #014389 !important;
}

497
hr_theme/static/src/css/theme_sub_menu.css

@ -1,497 +0,0 @@
.oe_secondary_menu_section a {
color: #ffffff !important;
}
.o_sub_menu_content{
background: #00438b;
}
.oe_kanban_action_button{
background: #01448b;
}
.oe_kanban_action_a{
color: #01448b !important;
}
.o_tooltip{
background: #00438b !important;
border: 2px solid #00438b !important;
}
.nav-pills > li.active > a:focus {
color: #377ab6 !important;
}
.o_web_client > .o_main .o_sub_menu .o_sub_menu_content .oe_secondary_submenu > li:not(.active) > a {
color: #ffffff !important;
}
.oe_secondary_menu_section{
color: white !important;
}
.oe_secondary_menu_section a:focus{
color: #00438b !important;
}
.o_kanban_manage_toggle_button{
color: #01448b; !important;
}
.nav > li > a:hover, .nav > li > a:focus {
text-decoration: none;
background-color: #00346b !IMPORTANT;
}
.dropdown-menu > li > a {
color: #ffffff !IMPORTANT;
}
.dropdown-menu {
background-color: #00438b !IMPORTANT;
}
.dropdown-menu > li > a:focus{
background-color: #00346b !IMPORTANT;
}
.o_project_kanban_box{
background-color: #01448b !IMPORTANT;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
text-decoration: none;
color: #262626;
background-color: #00346b !important;
}
.o_tooltip.bottom::before {
border-bottom-color: #00438b !important;
}
.o_tooltip::after {
content: "";
position: absolute;
top: -2px;
left: -2px;
bottom: -2px;
right: -2px;
border-color: #00438b !important;
border-radius: 50%;
transition: margin 133ms ease 0ms, border-radius 200ms linear 0s;
background: radial-gradient(#2d7bbd, #00438b) !important;
}
.o_tooltip > .o_tooltip_content {
color: white !important;
}
.o_tooltip > .o_tooltip_content .o_skip_tour {
color: #cacaca !important;
}
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
color: #377ab6 !important;
background-color: #00346b !important;
}
.oe_menu_text:focus {
color: #377ab6 !important;
}
.badge {
background-color: #1371d7 !important;
}
.o_kanban_view.o_kanban_dashboard.o_salesteam_kanban .o_sales_dashboard > div > table > tbody > tr > td.o_main {
background-color: #01448b !important;
}
.o_kanban_view.o_kanban_dashboard.o_kanban_ungrouped .o_kanban_card_header .o_kanban_card_header_title .o_primary, .o_kanban_view.o_kanban_dashboard.o_kanban_grouped .o_kanban_card_header .o_kanban_card_header_title .o_primary {
color: #01448b !important;
font-weight: 700;
}
.o_tooltip.right::before, .o_tooltip.left::before {
border-right-color: #00438b;
}
.btn-primary {
color: #ffffff !important;
background-color: #01448b !important;
border-color: #01448b !important;
}
.o_kanban_view.o_kanban_dashboard.o_kanban_ungrouped a, .o_kanban_view.o_kanban_dashboard.o_kanban_grouped a {
color: #01448b !important;
}
.o_progressbar .o_progress .o_progressbar_complete {
background-color: #01448b !important;
height: 100%;
}
.o_kanban_view.o_kanban_dashboard.o_salesteam_kanban .o_sales_dashboard > div > table > tbody > tr > td.o_main a {
color: white !important;
}
.o_kanban_view.o_kanban_dashboard.o_salesteam_kanban .o_sales_dashboard > div > table > tbody > tr > td.o_warning a {
color: white !important;
}
a {
color: #01448b;
}
.o_web_client > .o_main .o_sub_menu .o_sub_menu_content .oe_secondary_menu_section {
padding-top: 8px;
}
.oe_highlight {
color: #ffffff;
background-color: #01448b;
border-color: #01448b;
}
.o_control_panel .breadcrumb > li > a {
color: #01448b;
cursor: pointer;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
color: #ffffff;
}
.oe_highlight:hover {
color: #ffffff;
background-color: #00438b;
border-color: #00438b;
}
.o_form_view ul.oe_form_status_clickable li.oe_active:hover > .arrow span {
background: -webkit-gradient(linear, left top, right bottom, from(#01448b), to(#01448b));
}
.o_form_view ul.oe_form_status_clickable li.oe_active:hover {
background-image: linear-gradient(to bottom, #01448b, #01448b);
}
.o_form_view.o_form_readonly .o_form_uri:first-line {
color: #01448b;
}
.navbar-inverse {
background-color: #01448b !important;
border-color: #083a6f !important;
}
.navbar-inverse .navbar-nav > li > a {
color: #ffffff !important;
}
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
color: #ffffff;
background-color: #00346b !important;
}
.o_kanban_view.o_kanban_dashboard.o_salesteam_kanban .o_sales_dashboard > div > table > tbody > tr > td.o_warning {
background-color: #00c390;
}
.o_web_client > .o_main .o_sub_menu .o_sub_menu_logo {
background: #fff !important;
}
.o_kanban_view.o_kanban_dashboard.o_salesteam_kanban .o_sales_dashboard > div > table > tbody > tr > td.o_warning:hover {
background-color: #099470 !important;
}
.o_kanban_view.o_kanban_ungrouped {
background: #fff !important;
}
.o_kanban_view.o_kanban_dashboard.o_kanban_ungrouped .o_kanban_card_header, .o_kanban_view.o_kanban_dashboard.o_kanban_grouped .o_kanban_card_header {
background-color: #f1f1f1 !important;
}
.o_kanban_view.o_kanban_dashboard.o_kanban_ungrouped .o_kanban_record, .o_kanban_view.o_kanban_dashboard.o_kanban_grouped .o_kanban_record {
padding: 0;
position: relative;
box-shadow: 2px 14px 32px 5px rgba(0, 0, 0, 0.02), 0 3px 13px 0px rgba(0, 0, 0, 0.35);
}
::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3) !important;
border-radius: 10px !important;
background-color: #F5F5F5 !important;
}
::-webkit-scrollbar
{
width: 8px !important;
background-color: #F5F5F5 !important;
}
::-webkit-scrollbar-thumb
{
border-radius: 10px !important;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3) !important;
background-color: #1b5ea7 !important;
}
.btn-primary:hover {
color: #ffffff !important;
background-color: #09325f !important;
}
.o_loading {
background-color: #00c390 !important;
}
.o_tooltip.active.bottom::after {
border-width: 0 !important;
}
.o_searchview .o_searchview_autocomplete li.o-selection-focus {
background-color: #00346b !important;
}
.o_mail_chat .o_mail_chat_sidebar .o_mail_chat_channel_item.o_active {
background-color: #00346b !important;
}
.o_mail_chat .o_mail_chat_sidebar {
background-color: #245284 !important;
color: #ffffff !important;
}
.o_mail_chat .o_mail_chat_sidebar .o_mail_chat_channel_item:hover {
background-color: #00346b !important;
}
.btn-primary:focus, .btn-primary.focus {
color: #ffffff;
background-color: #00346b !important;
border-color: #00346b !important;
}
.btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled.focus, .btn-primary[disabled].focus, fieldset[disabled] .btn-primary.focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active {
background-color: #01448b !important;
border-color: #01448b !important;
}
.btn-default {
color: #ffffff !important;
border-color: #01448b !important;
background: #01448b !important;
}
.btn-default:hover {
color: #ffffff !important;
border-color: #00346b !important;
background: #00346b !important;
}
.o_mail_chat .o_mail_chat_content .o_chat_composer {
border-top: 1px solid #dadada !important;
background-color: #d6d6d6 !important;
}
.o_form_view.o_form_readonly .o_form_uri:hover:first-line {
color: #00346b !important;
}
.o_form_view .oe_button_box .oe_stat_button .o_button_icon {
color: #00c390 !important;
}
.table-striped > tbody > tr:nth-of-type(odd) {
background-color: #00438b14 !important;
border: none !important;
}
.o_form_view ul.oe_form_status li.oe_active, .o_form_view ul.oe_form_status_clickable li.oe_active {
background-color: #00438b;
background-image: -webkit-gradient(linear, left top, left bottom, from(#0067d6), to(#00438b)) !important;
background-image: -webkit-linear-gradient(top, #004998, #0065d2) !important;
background-image: -moz-linear-gradient(top, #abaaca, #555487) !important;
background-image: -ms-linear-gradient(top, #abaaca, #555487) !important;
background-image: -o-linear-gradient(top, #abaaca, #555487) !important;
background-image: linear-gradient(to bottom, #0066d4, #004691) !important;
}
.o_form_view ul.oe_form_status li.oe_active > .arrow span, .o_form_view ul.oe_form_status_clickable li.oe_active > .arrow span {
background-color: #004793;
background: -moz-linear-gradient(135deg, #555487, #abaaca) !important;
background: -o-linear-gradient(135deg, #abaaca, #555487) !important;
background: -webkit-gradient(linear, left top, right bottom, from(#0065d2), to(#00448e)) !important;
background: -ms-linear-gradient(top, #abaaca, #555487) !important;
}
.btn-link {
color: #00438b !important;
font-weight: normal;
border-radius: 0;
}
.nav .nav-tabs li a:hover {
color: #ffffff;
}
.o_web_client {
background-color: #ffffff !important;
}
.nav-tabs > li.active > a {
color: #00438b !important;
}
.nav-tabs > li.active > a:focus{
color: #ffffff !important;
}
.nav > li > a:hover {
text-decoration: none;
background-color: #00346b !IMPORTANT;
color: #fff !important;
}
.o_form_view .o_form_required.o_form_input, .o_form_view .o_form_required .o_form_input, .o_form_view .o_form_required.o_form_textarea, .o_form_view .o_form_required .o_form_textarea {
background-color: #bbd9f9 !important;
}
.o_form_view .oe_link {
color: #01448b !important;
font-weight: normal;
border-radius: 0;
}
.o_form_view .o_horizontal_separator {
color: #01448b;
font-weight: bold;
}
.o_calendar_container .o_calendar_sidebar_container .ui-datepicker table .ui-state-active {
background: none;
background-color: #01448b !important;
color: #ffffff !important;
}
.o_calendar_container .o_calendar_sidebar_container .ui-datepicker table .ui-state-default {
color: #01448b;
}
a:hover {
color: #002042 !important;
}
.o_mail_navbar_item .o_mail_navbar_dropdown .o_mail_navbar_dropdown_channels .o_mail_channel_preview .o_channel_info .o_channel_title .o_channel_name {
color: #ffffff !important;
}
.o_mail_navbar_item .o_mail_navbar_dropdown .o_mail_navbar_dropdown_top .o_filter_button:hover, .o_mail_navbar_item .o_mail_navbar_dropdown .o_mail_navbar_dropdown_top .o_filter_button.o_selected {
color: #ffffff !important;
}
.o_mail_navbar_item .o_mail_navbar_dropdown .o_mail_navbar_dropdown_channels .o_mail_channel_preview:hover {
background-color: #00346b !important;
}
.o_form_view .oe_button_box .oe_stat_button .o_stat_info .o_stat_value {
color: #4c4c4c !important;
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
background-color: #002e5f !important;
}
.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
background-color: #002e5f;
}
.o_web_settings_dashboard .o_web_settings_dashboard_col .o_web_settings_dashboard_planner .o_web_settings_dashboard_progress_title {
color: #01448b !important;
}
.progress-bar {
background-color: #01448b;
}
.o_web_client > .o_main .o_sub_menu .o_sub_menu_content .oe_secondary_submenu .oe_menu_toggler:before {
border-left: 4px solid #ffffff !important;
}
.oe_secondary_menu_section a:focus {
color: #002042 !important;
font-weight: 900;
}
.ui-autocomplete .ui-menu-item.ui-state-focus {
background-color: #01448b;
}
a {
color:#00438b !important;
}
.oe_tooltip_string {
background-color: #00c390 !important;
}
.oe_secondary_menu_section.active {
color: #377ab6;
}
.o_web_client > .o_main .o_sub_menu .o_sub_menu_footer {
background: #f0eeee !important;
}
.o_sub_menu_footer img {
width: 79% !important;
}
.o_chat_window {
border: none !important;
box-shadow: 2px 14px 32px 5px rgba(0, 0, 0, 0.02), 0 3px 13px 0px rgba(0, 0, 0, 0.35);
}
.o_chat_window .o_chat_header {
background-color: #00438b !important;
}
.o_chat_window .o_chat_header .o_chat_window_close {
color: white !important;
padding: 3px;
margin-left: 5px;
}
.o_chat_window .o_chat_header .o_chat_window_close:hover {
background-color: #00346b !important;
}
.datepicker-days thead {
background-color: #00438b !important;
}
.bootstrap-datetimepicker-widget td.day {
color: #fff !important;
}
.bootstrap-datetimepicker-widget td.cw {
color: #bbbbbb !important;
}
.datepicker .table-condensed > tbody > tr > td.active, .datepicker .table-condensed > tbody > tr > td .active {
background-color: #00254c !important;
}
.datepicker .table-condensed > tbody > tr > td.today:before {
border-bottom-color: #00254c !important;
}
.bootstrap-datetimepicker-widget td.day:hover, .bootstrap-datetimepicker-widget td.hour:hover, .bootstrap-datetimepicker-widget td.minute:hover, .bootstrap-datetimepicker-widget td.second:hover {
background: #00254c !important;
}
.datepicker .table-condensed > thead > tr:last-child {
color: #00438b !important;
background-color: #ffffff !important;
}
.o_form_view ul.oe_form_status_clickable li > .label {
color: #00438b !important;
}
.o_form_view ul.oe_form_status li.oe_active > .label, .o_form_view ul.oe_form_status_clickable li.oe_active > .label {
color: white !important;
text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a4;
}
.oe_secondary_menu_section.active a {
color: #001f40 !important;
}
.datepicker .table-condensed > thead > tr:first-child th:hover {
color: white;
background-color: #00346b !important;
}
.bootstrap-datetimepicker-widget td span {
color: #fff !important;
}
.bootstrap-datetimepicker-widget td span:hover {
background: #00254c !important;
}
.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-color-reset, .panel-heading.note-toolbar .note-color .dropdown-menu .btn-group .note-color-reset {
color: #fff;
}
.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-palette-title, .panel-heading.note-toolbar .note-color .dropdown-menu .btn-group .note-palette-title {
color: #fff;
}
.note-color-palette h6 {
color: #fff;
}
.note-color.btn-group .fa {
background: #02448b !important;
}
ul#ui-id-7 a:hover {
color: #fff !important;
}
.o_control_panel .o_cp_sidebar .o_hidden_input_file .o_form_binary_form span {
padding: 3px 25px;
color: #ffffff !important;
}
.o_control_panel .o_cp_sidebar .o_hidden_input_file .o_form_binary_form:hover {
background-color: #00346b !important;
}
.o_search_options .o_favorites_menu .o_save_name {
color: #fff !important;
}
.o_hr_attendance_kiosk_mode_container a.fa.btn-primary.o_hr_attendance_sign_in_out_icon.fa-sign-out.fa-sign-out {
color: #fff !important;
}
.oe_view_nocontent .oe_view_nocontent_create:before {
background: transparent url(/hr_theme/static/src/img/arrow.png) no-repeat 0px 0px !important;
}
.o_mail_chat .o_mail_annoying_notification_bar {
background-color: #00c390 !important;
border-bottom: 1px solid #00c390 !important;
}
.o_main_navbar {
border: 1px solid #00438a !important;
background-color: #00438a !important;
}
.fa-external-link {
color: #01448b !important;
border-color: #ffffff !important;
background: #ffffff !important;
}
.ui-menu-item a:hover,.ui-menu-item a:focus {
color: #ffffff !important;
}
.ui-autocomplete .ui-menu-item.ui-state-focus a{
color: #ffffff !important;
}
.btn-default {
color: #ffffff !important;
border-color: #01448b !important;
background: #186eca !important;
margin-left: 2px;
}
.o_dashboards .o_website_dashboard div.o_box h2 {
color: #01448b !important;
}
.o_form_view .o_form_field_image .o_form_image_controls {
background-color: #01448b;
}
.fa.fa-external-link.btn.btn-default.o_external_button {
background-color: #fff !important;
color: #01448b !important;
}
.oe_highlight:active:hover, .oe_highlight.active:hover, .open > .dropdown-toggle.oe_highlight:hover, .oe_highlight:active:focus, .oe_highlight.active:focus, .open > .dropdown-toggle.oe_highlight:focus, .oe_highlight:active.focus, .oe_highlight.active.focus, .open > .dropdown-toggle.oe_highlight.focus {
color: #ffffff;
background-color: #01448b !important;
border-color: #01448b !important;
}
.btn.btn-sm.oe_highlight:active, .btn.btn-sm.oe_highlight:focus {
background-color: #00346b !important;
border-color: #00346b !important;
}

BIN
hr_theme/static/src/img/arrow.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

BIN
hr_theme/static/src/img/favicon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

BIN
hr_theme/static/src/img/open_hrms_logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

BIN
hr_theme/static/src/img/powered_by.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

38
hr_theme/views/open_hrms_theme.xml

@ -1,38 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="assets_backend" name="sub_menu assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/hr_theme/static/src/css/theme_sub_menu.css"/>
</xpath>
</template>
<template id="assets_frontend" name="sub_menu assets front" inherit_id="web.assets_frontend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/hr_theme/static/src/css/theme_hr_front.css"/>
</xpath>
</template>
<template id="hr_theme.layout_footer" inherit_id="web.menu_secondary" name="Footer Submenu">
<xpath expr="//div[@class='o_sub_menu_footer']" position="replace">
<div class="o_sub_menu_footer">
<a href="https://www.cybrosys.com" target="_blank"><img src="/hr_theme/static/src/img/powered_by.png" width="20%"/></a>
</div>
</xpath>
</template>
<template id="hrms_layout" inherit_id="web.layout" name="HRMS layout" priority="17">
<xpath expr="//link[@rel='shortcut icon']" position="replace">
<link rel="favicon icon" href="/hr_theme/static/src/img/favicon.ico" type="image/x-icon"/>
</xpath>
</template>
<data>
<record id="base.main_company" model="res.company">
<field name="logo" type="base64" file="hr_theme/static/src/img/open_hrms_logo.png"/>
</record>
</data>
</odoo>

17
oh_employee_creation_from_user/README.md

@ -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

6
oh_employee_creation_from_user/RELEASE_NOTES.md

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

25
oh_employee_creation_from_user/__init__.py

@ -1,25 +0,0 @@
# -*- coding: utf-8 -*-
###################################################################################
# A part of Open HRMS Project <https://www.openhrms.com>
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2018-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Nilmar Shereef (<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

40
oh_employee_creation_from_user/__manifest__.py

@ -1,40 +0,0 @@
# -*- coding: utf-8 -*-
###################################################################################
# A part of Open HRMS Project <https://www.openhrms.com>
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2018-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Nilmar Shereef (<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 Employees From User',
'version': '10.0.1.1.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,
}

11
oh_employee_creation_from_user/doc/RELEASE_NOTES.md

@ -1,11 +0,0 @@
## Module <oh_employee_creation_from_user>
#### 12.04.2018
#### Version 10.0.1.1.0
##### CHG
- Index updated.
#### 30.03.2018
#### Version 10.0.1.0.0
##### ADD
- Initial commit for Open HRMS Project.

25
oh_employee_creation_from_user/models/__init__.py

@ -1,25 +0,0 @@
# -*- coding: utf-8 -*-
###################################################################################
# A part of Open HRMS Project <https://www.openhrms.com>
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2018-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Nilmar Shereef (<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 employee_creation_from_user

41
oh_employee_creation_from_user/models/employee_creation_from_user.py

@ -1,41 +0,0 @@
# -*- coding: utf-8 -*-
###################################################################################
# A part of Open HRMS Project <https://www.openhrms.com>
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2018-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Nilmar Shereef (<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 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

BIN
oh_employee_creation_from_user/static/description/HRMS-BUTTON.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

BIN
oh_employee_creation_from_user/static/description/banner.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

BIN
oh_employee_creation_from_user/static/description/cybro-service.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 KiB

BIN
oh_employee_creation_from_user/static/description/cybro_logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

BIN
oh_employee_creation_from_user/static/description/icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

100
oh_employee_creation_from_user/static/description/index.html

@ -1,100 +0,0 @@
<section class="oe_container">
<div class="oe_row">
<h2 class="oe_slogan">Open HRMS</h2>
<h3 class="oe_slogan">Most advanced open source HR management software</h3>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced oe_mt32">
<div class="oe_span">
<div class="oe_demo oe_picture oe_screenshot">
<a href="https://www.openhrms.com/#request-demo">
<img src="HRMS-BUTTON.png">
</a>
</div>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Open HRMS Employee From User</h2>
<h3 class="oe_slogan">An employee will creates automatically while creating an user</h3>
<h4 class="oe_slogan">Author : Cybrosys Techno Solutions , www.cybrosys.com</h4>
</div>
<div class="oe_row oe_spaced">
<div>
<span style="color:green;"> &#9745; </span>This module automatically creates employee while creating an user.
</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;">
This module automatically creating employee in employee table while creating the users.
This will simplify the HR process.
</p>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">User</h4>
<div class="oe_span12">
<div class="oe_row_img oe_centered">
<img class="oe_picture oe_screenshot" src="oh_user.png">
</div>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Employee</h4>
<div class="oe_span12">
<div class="oe_row_img oe_centered">
<img class="oe_picture oe_screenshot" src="oh_employee.png">
</div>
</div>
</div>
</section>
<div class="row section-content">
<div class="col-md-6 img-content">
<h3>Our Odoo Services</h3>
</div>
<div class="bc-span col-md-12">
<div class="inner-span">
<a target="_blank" href="https://www.openhrms.com">
<img class="img-border img-responsive thumbnail" src="cybro-service.png">
</a>
</div>
</div>
</div>
<section class="oe_container">
<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>
</section>

BIN
oh_employee_creation_from_user/static/description/oh_employee.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

BIN
oh_employee_creation_from_user/static/description/oh_user.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

16
oh_employee_creation_from_user/views/employee_creation_from_user_view.xml

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="view_users_form_inherit" model="ir.ui.view">
<field name="name">res.users.form</field>
<field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@class='oe_title']/group" position="inside">
<field name="employee_id" readonly="1" required="0" groups="base.group_no_one"
attrs="{'invisible': [('id', '=', False)]}"/>
</xpath>
</field>
</record>
</data>
</odoo>
Loading…
Cancel
Save