4 <!-- notify all employees of module installation -->
5 <function model="mail.group" name="message_append_note">
6 <!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
7 <value eval="[ref('mail.group_all_employees')]"/>
8 <value>Module Leaves Management has been installed</value>
9 <value>Manage employee leaves from the top menu "Human Resources."
10 Employees can create leave requests that are validated by their
11 manager and/or HR people. Once validated, they are visible in
12 the employee's calendar. HR people can define leave types and
13 allocate off-days for employees.
18 <record model="hr.holidays.status" id="holiday_status_cl">
19 <field name="name" eval="'Legal Leaves '+time.strftime('%Y')"/>
20 <field name="color_name">black</field>
24 <record model="hr.holidays.status" id="holiday_status_sl">
25 <field name="name">Sick Leaves</field>
26 <field name="limit">True</field>
27 <field name="color_name">red</field>
30 <!-- Compensatory Days -->
31 <record model="hr.holidays.status" id="holiday_status_comp">
32 <field name="name">Compensatory Days</field>
33 <field name="limit">True</field>
34 <field name="color_name">lavender</field>
38 <record model="hr.holidays.status" id="holiday_status_unpaid">
39 <field name="name">Unpaid</field>
40 <field name="limit">True</field>
41 <field name="color_name">brown</field>