forked from OCA/hr
-
Notifications
You must be signed in to change notification settings - Fork 7
/
hr_infraction_data.xml
77 lines (70 loc) · 3.66 KB
/
hr_infraction_data.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- Infraction Category -->
<record id="infraction_category_care" model="hr.infraction.category">
<field name="code">CARE</field>
<field name="name">Improper care for Company equipment/materials</field>
</record>
<record id="infraction_category_life" model="hr.infraction.category">
<field name="code">ENDLIFE</field>
<field name="name">Intentional endangerment of life or property</field>
</record>
<record id="infraction_category_safety" model="hr.infraction.category">
<field name="code">SAFETY</field>
<field name="name">Disregard of safety and accident prevention rules</field>
</record>
<record id="infraction_category_rule" model="hr.infraction.category">
<field name="code">RULE</field>
<field name="name">Disregard for Company rules and regulations</field>
</record>
<record id="infraction_category_instruct" model="hr.infraction.category">
<field name="code">INSTRUCT</field>
<field name="name">Not following instructions</field>
</record>
<record id="infraction_category_abuse" model="hr.infraction.category">
<field name="code">ABUSE</field>
<field name="name">Abusive behaviour towards others</field>
</record>
<record id="infraction_category_harm" model="hr.infraction.category">
<field name="code">HARM</field>
<field name="name">Bodily harm to others</field>
</record>
<record id="infraction_category_theft" model="hr.infraction.category">
<field name="code">THEFT</field>
<field name="name">Theft of materials, equipment or property</field>
</record>
<record id="infraction_category_damage" model="hr.infraction.category">
<field name="code">DAMAGE</field>
<field name="name">Damage to Company materials, property or equipment</field>
</record>
<record id="infraction_category_intox" model="hr.infraction.category">
<field name="code">INTOX</field>
<field name="name">Reporting to work in a state of intoxication</field>
</record>
<record id="infraction_category_medical" model="hr.infraction.category">
<field name="code">MEDEXAM</field>
<field name="name">Refusal of lawful medical examination</field>
</record>
<!-- Alert-related subtypes for messaging / Chatter -->
<record id="mt_alert_infraction_confirmed" model="mail.message.subtype">
<field name="name">Infraction - Confirmed</field>
<field name="res_model">hr.infraction</field>
<field name="description">Infraction submitted</field>
</record>
<record id="mt_alert_infraction_action" model="mail.message.subtype">
<field name="name">Infraction - Action Taken</field>
<field name="res_model">hr.infraction</field>
<field name="description">Action has been taken</field>
</record>
<record id="mt_alert_infraction_noaction" model="mail.message.subtype">
<field name="name">Infraction - No Action Taken</field>
<field name="res_model">hr.infraction</field>
<field name="description">No further action necessary</field>
</record>
<!-- Employment Termination Reason -->
<record id="term_dismissal" model="hr.employee.termination.reason">
<field name="name">Dismissal</field>
</record>
</data>
</openerp>