Browse Source

[UDT] Index Changed

pull/78/head
Sreejith 7 years ago
parent
commit
63b428aeee
  1. 6
      hr_employee_transfer/__manifest__.py
  2. BIN
      hr_employee_transfer/static/description/banner.jpg
  3. BIN
      hr_employee_transfer/static/description/cybro-service.png
  4. 3
      hr_employee_transfer/static/description/index.html
  5. 6
      hr_vacation_mngmt/__manifest__.py
  6. 5
      hr_vacation_mngmt/models/hr_vacation.py
  7. 135
      hr_vacation_mngmt/static/description/index.html
  8. BIN
      hr_vacation_mngmt/static/description/ohrms_vacation_01.png
  9. BIN
      hr_vacation_mngmt/static/description/ohrms_vacation_02.png
  10. BIN
      hr_vacation_mngmt/static/description/ohrms_vacation_03.png
  11. BIN
      hr_vacation_mngmt/static/description/ohrms_vacation_04.png
  12. BIN
      hr_vacation_mngmt/static/description/ohrms_vacation_05.png
  13. BIN
      hr_vacation_mngmt/static/description/ohrms_vacation_06.png
  14. BIN
      hr_vacation_mngmt/static/description/ohrms_vacation_07.png
  15. BIN
      hr_vacation_mngmt/static/description/ohrms_vacation_08.png
  16. BIN
      hr_vacation_mngmt/static/description/ohrms_vacation_09.png
  17. BIN
      hr_vacation_mngmt/static/description/ohrms_vacation_10.png
  18. BIN
      hr_vacation_mngmt/static/description/ohrms_vacation_11.png
  19. 46
      hr_vacation_mngmt/views/hr_vacation.xml

6
hr_employee_transfer/__manifest__.py

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
###################################################################################
# A part of OpenHRMS Project <https://www.openhrms.com>
# A part of Open HRMS Project <https://www.openhrms.com>
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2018-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
@ -21,10 +21,10 @@
#
###################################################################################
{
'name': 'OHRMS Branch Transfer',
'name': 'Open HRMS Branch Transfer',
'version': '10.0.1.0.0',
'summary': 'Employee transfer between branches',
'category': 'Employees',
'category': 'Generic Modules/Human Resources',
'author': 'Cybrosys Techno solutions',
'maintainer': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',

BIN
hr_employee_transfer/static/description/banner.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 118 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 KiB

After

Width:  |  Height:  |  Size: 221 KiB

3
hr_employee_transfer/static/description/index.html

@ -1,7 +1,7 @@
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">OpenHRMS</h2>
<h2 class="oe_slogan">Open HRMS</h2>
<h3 class="oe_slogan">Most advanced open source HR management software</h3>
</div>
</section>
@ -12,7 +12,6 @@
<a href="https://www.openhrms.com/#request-demo">
<img src="HRMS-BUTTON.png">
</a>
<div class="oe_demo_footer oe_centeralign">Online Demo</div>
</div>
</div>
</div>

6
hr_vacation_mngmt/__manifest__.py

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
###################################################################################
# A part of OpenHrms Project <https://www.openhrms.co.uk>
# A part of Open Hrms Project <https://www.openhrms.co.uk>
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2018-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
@ -21,7 +21,7 @@
#
###################################################################################
{
'name': "OHRMS Vacation Management",
'name': "Open HRMS Vacation Management",
'version': '10.0.1.0.0',
'summary': """Manage Employee Vacation""",
'description': """HR Vacation management""",
@ -29,7 +29,7 @@
'company': 'Cybrosys Techno Solutions',
'website': 'https://www.openhrms.com',
'category': 'Generic Modules/Human Resources',
'depends': ['hr_holidays', 'project', 'hr_payroll', 'account'],
'depends': ['hr_leave_request_aliasing', 'project', 'hr_payroll', 'account'],
'data': [
'security/hr_vacation_security.xml',
'security/ir.model.access.csv',

5
hr_vacation_mngmt/models/hr_vacation.py

@ -16,7 +16,7 @@ class HrLeaveRequest(models.Model):
@api.one
def get_overlapping_leaves(self):
if self.type == 'remove':
if self.type == 'remove' and self.date_from and self.date_to:
overlap_leaves = []
from_date = datetime.strptime(self.date_from, '%Y-%m-%d %H:%M:%S').date()
to_date = datetime.strptime(self.date_to, '%Y-%m-%d %H:%M:%S').date()
@ -126,8 +126,7 @@ class PendingTask(models.Model):
class HrVacationConfigSettings(models.TransientModel):
_name = 'hr.vacation.config.settings'
_inherit = 'res.config.settings'
_inherit = 'hr.leave.config.settings'
leave_reminder = fields.Boolean(string='Leave Reminder Email', help="Send leave remainder emails to hr managers")
reminder_day_before = fields.Integer(string='Reminder Day Before')

135
hr_vacation_mngmt/static/description/index.html

@ -1,6 +1,6 @@
<section class="oe_container ">
<div class="oe_row">
<h2 class="oe_slogan">OpenHRMS</h2>
<h2 class="oe_slogan">Open HRMS</h2>
<h3 class="oe_slogan">Most advanced open source HR management software</h3>
</div>
</section>
@ -17,7 +17,7 @@
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">OHRMS Vacation Management</h2>
<h2 class="oe_slogan">Open HRMS Vacation Management</h2>
<h3 class="oe_slogan">Manage Employee Vacation</h3>
<h4 class="oe_slogan"><a href="https://www.cybrosys.com">Cybrosys Technologies</a></h4>
</div>
@ -47,6 +47,137 @@
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div style="text-align: center">
<p><h4 class="oe_slogan">Remaining & Overlapping Leaves</h4><p>
</div>
<div style="text-align: center">
<a href="https://www.cybrosys.com">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="ohrms_vacation_01.png">
</div>
</a>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div style="text-align: center">
<p><h4 class="oe_slogan">Pending Tasks Update & Task Re-assign</h4><p>
</div>
<div style="text-align: center">
<p class="oe_mt32">
Employees can able to update their pending tasks on leave request
</p>
<a href="https://www.cybrosys.com">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="ohrms_vacation_02.png">
</div>
</a>
</div>
<div style="text-align: center">
<p class="oe_mt32">
On leave request approval it opens a wizard to re-assign tasks to available employees.
</p>
<a href="https://www.cybrosys.com">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="ohrms_vacation_03.png">
</div>
</a>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div style="text-align: center">
<p><h4 class="oe_slogan">Flight Ticket Booking</h4><p>
</div>
<div style="text-align: center">
<p class="oe_mt32">
HR managers can able to book the flight ticket for the employee.
</p>
<a href="https://www.cybrosys.com">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="ohrms_vacation_04.png">
</div>
</a>
</div>
<div style="text-align: center">
<a href="https://www.cybrosys.com">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="ohrms_vacation_05.png">
</div>
</a>
</div>
<div style="text-align: center">
<a href="https://www.cybrosys.com">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="ohrms_vacation_06.png">
</div>
</a>
</div>
<div style="text-align: center">
<a href="https://www.cybrosys.com">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="ohrms_vacation_07.png">
</div>
</a>
</div>
<div style="text-align: center">
<p class="oe_mt32">
On confirming the flight ticket generate corresponding supplier invoice.
</p>
<a href="https://www.cybrosys.com">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="ohrms_vacation_08.png">
</div>
</a>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div style="text-align: center">
<p><h4 class="oe_slogan">Leave Salary</h4><p>
</div>
<div style="text-align: center">
<a href="https://www.cybrosys.com">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="ohrms_vacation_09.png">
</div>
</a>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div style="text-align: center">
<p><h4 class="oe_slogan">Configurations</h4><p>
</div>
<div style="text-align: center">
<a href="https://www.cybrosys.com">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="ohrms_vacation_10.png">
</div>
</a>
</div>
<div style="text-align: center">
<a href="https://www.cybrosys.com">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:10px solid white;" src="ohrms_vacation_11.png">
</div>
</a>
</div>
</div>
</section>
<div class="row section-content">
<div class="col-md-6 img-content">
<h3>Our Odoo Services</h3>

BIN
hr_vacation_mngmt/static/description/ohrms_vacation_01.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

BIN
hr_vacation_mngmt/static/description/ohrms_vacation_02.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

BIN
hr_vacation_mngmt/static/description/ohrms_vacation_03.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

BIN
hr_vacation_mngmt/static/description/ohrms_vacation_04.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

BIN
hr_vacation_mngmt/static/description/ohrms_vacation_05.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

BIN
hr_vacation_mngmt/static/description/ohrms_vacation_06.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

BIN
hr_vacation_mngmt/static/description/ohrms_vacation_07.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
hr_vacation_mngmt/static/description/ohrms_vacation_08.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

BIN
hr_vacation_mngmt/static/description/ohrms_vacation_09.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

BIN
hr_vacation_mngmt/static/description/ohrms_vacation_10.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
hr_vacation_mngmt/static/description/ohrms_vacation_11.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

46
hr_vacation_mngmt/views/hr_vacation.xml

@ -74,46 +74,16 @@
</record>
<record id="view_hr_vacation_configuration" model="ir.ui.view">
<field name="name">Configure Payroll</field>
<field name="model">hr.vacation.config.settings</field>
<field name="name">Configure Leave</field>
<field name="model">hr.leave.config.settings</field>
<field name="inherit_id" ref="hr_leave_request_aliasing.view_hr_leave_configuration"/>
<field name="arch" type="xml">
<form string="Configure Vacation" class="oe_form_configuration">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
<button string="Cancel" type="object" name="cancel" class="oe_link"/>
</header>
<group string="Vacation">
<field name="leave_reminder"/>
<field name="reminder_day_before"/>
</group>
<group string="Travel Expense">
<field name="default_expense_account"/>
</group>
</form>
<xpath expr="//group[@name='config_alias']" position="inside">
<field name="leave_reminder"/>
<field name="reminder_day_before"/>
<field name="default_expense_account"/>
</xpath>
</field>
</record>
<record id="action_hr_vacation_configuration" model="ir.actions.act_window">
<field name="name">Configure Payroll</field>
<field name="res_model">hr.vacation.config.settings</field>
<field name="view_mode">form</field>
<field name="target">inline</field>
</record>
<menuitem
id="menu_hr_holidays_settings"
name="Settings"
parent="hr_holidays.menu_hr_holidays_configuration"
sequence="0"
groups="hr_holidays.group_hr_holidays_manager"
action="action_hr_vacation_configuration"/>
<menuitem
id="menu_hr_holidays_leave_types"
name="Leave Types"
parent="hr_holidays.menu_hr_holidays_configuration"
sequence="2"
groups="hr_holidays.group_hr_holidays_manager"
action="hr_holidays.open_view_holiday_status"/>
</data>
</odoo>
Loading…
Cancel
Save