summaryrefslogtreecommitdiff
path: root/addons/hr_holidays/data/hr_holidays_data.xml
diff options
context:
space:
mode:
authorjbm-odoo <jbm@odoo.com>2018-12-13 11:10:15 +0000
committerYannick Tivisse <yti@odoo.com>2019-01-21 11:29:30 +0000
commita3daff6bc121a42bf293ca91b8f522c26bac7c8a (patch)
tree7cdc12fc34bf66068e51970bb60f946c06c30a7e /addons/hr_holidays/data/hr_holidays_data.xml
parent344877a0813a915344a230f1aaf1f932f2f9d5cb (diff)
[IMP] hr_holidays: Rename 'leave' into 'time off' + add dashboard
Purpose ======= We need to use an international word to define holidays and leaves, rename everything into Time Off. Employees needs a good dashboard and leaves summary Specification ============= 1/ Add a new dashboard: https://balsamiq.cloud/sm5j0d/pg5w04r Create a new dashboard with a calendar and a summary of all time off and time off request 2/ Rename leaves into Time Off everywhere 3/ Improve general usability TaskID: 1916871 closes odoo/odoo#29634
Diffstat (limited to 'addons/hr_holidays/data/hr_holidays_data.xml')
-rw-r--r--addons/hr_holidays/data/hr_holidays_data.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/hr_holidays/data/hr_holidays_data.xml b/addons/hr_holidays/data/hr_holidays_data.xml
index 56636156f7b..9b8b1b78512 100644
--- a/addons/hr_holidays/data/hr_holidays_data.xml
+++ b/addons/hr_holidays/data/hr_holidays_data.xml
@@ -3,7 +3,7 @@
<data noupdate="1">
<!-- Casual leave -->
<record id="holiday_status_cl" model="hr.leave.type">
- <field name="name" eval="'Legal Leaves '+time.strftime('%Y')"/>
+ <field name="name" eval="'Paid Time Off '+time.strftime('%Y')"/>
<field name="allocation_type">fixed</field>
<field name="color_name">black</field>
<field name="validity_start" eval="time.strftime('%Y-01-01')"/>
@@ -21,7 +21,7 @@
<!-- Sick leave -->
<record id="holiday_status_sl" model="hr.leave.type">
- <field name="name">Sick Leaves</field>
+ <field name="name">Sick Time Off</field>
<field name="allocation_type">no</field>
<field name="color_name">red</field>
<field name="validity_start" eval="time.strftime('%Y-01-01')"/>