2010-10-12 21:59:40 +00:00
<?xml version="1.0"?>
<openerp >
2012-08-04 21:57:42 +00:00
<data >
<record id= "hr.todo_open_hr_menu" model= "ir.actions.todo" >
<field name= "state" > done</field>
</record>
</data>
2012-07-25 12:45:18 +00:00
<data noupdate= "1" >
2012-08-04 21:53:27 +00:00
<!-- After installation of the module, open the related menu -->
<record id= "todo_open_hr_menu" model= "ir.actions.todo" >
<field name= "action_id" ref= "hr.action_client_hr_menu" />
<field name= "type" > automatic</field>
<field name= "sequence" > 100</field>
</record>
2012-07-25 12:45:18 +00:00
<!-- notify all employees of module installation -->
2012-08-17 11:19:36 +00:00
<function model= "mail.group" name= "message_post" >
2012-07-25 12:45:18 +00:00
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval= "[ref('mail.group_all_employees')]" />
2012-08-05 20:13:22 +00:00
<value > Manage employee leaves from the top menu "Human Resources". Employees can create leave requests that are validated by their manager and/or HR people. Once validated, they are visible in the employee's calendar. HR people can define leave types and allocate off-days for employees.</value>
2012-08-17 10:26:50 +00:00
<value > Module Leaves Management has been installed</value>
2012-07-25 12:45:18 +00:00
</function>
2010-10-12 21:59:40 +00:00
2012-07-25 12:45:18 +00:00
<!-- Casual leave -->
<record model= "hr.holidays.status" id= "holiday_status_cl" >
<field name= "name" eval= "'Legal Leaves '+time.strftime('%Y')" />
<field name= "color_name" > black</field>
</record>
2010-10-12 21:59:40 +00:00
2012-07-25 12:45:18 +00:00
<!-- Sick leave -->
<record model= "hr.holidays.status" id= "holiday_status_sl" >
<field name= "name" > Sick Leaves</field>
<field name= "limit" > True</field>
<field name= "color_name" > red</field>
</record>
2010-10-12 21:59:40 +00:00
2012-07-25 12:45:18 +00:00
<!-- Compensatory Days -->
<record model= "hr.holidays.status" id= "holiday_status_comp" >
<field name= "name" > Compensatory Days</field>
<field name= "limit" > True</field>
<field name= "color_name" > lavender</field>
</record>
2011-03-10 13:38:52 +00:00
2012-07-25 12:45:18 +00:00
<!-- Unpaid Leave -->
<record model= "hr.holidays.status" id= "holiday_status_unpaid" >
<field name= "name" > Unpaid</field>
<field name= "limit" > True</field>
<field name= "color_name" > brown</field>
</record>
</data>
2010-10-12 21:59:40 +00:00
</openerp>