diff options
| author | Swapnesh Shah <swapneshshah111@gmail.com> | 2020-05-17 18:15:51 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2020-05-18 08:17:31 +0000 |
| commit | 57f2dc20a17ef9e08e118a60271e55e7e74170c7 (patch) | |
| tree | de90a022eae6f14b975b90d6875d07fd2b89e6f1 /addons/hr_presence | |
| parent | 1c7c837a10c25fe1a7377df0d6268b485e52482c (diff) | |
[IMP] hr*: correct term on warning
Followup on a3daff6
Use `time off` word instead of 'leave'.
Diffstat (limited to 'addons/hr_presence')
| -rw-r--r-- | addons/hr_presence/data/mail_data.xml | 2 | ||||
| -rw-r--r-- | addons/hr_presence/data/sms_data.xml | 2 | ||||
| -rw-r--r-- | addons/hr_presence/models/hr_employee.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/addons/hr_presence/data/mail_data.xml b/addons/hr_presence/data/mail_data.xml index 1742f64a376..08a5731e58d 100644 --- a/addons/hr_presence/data/mail_data.xml +++ b/addons/hr_presence/data/mail_data.xml @@ -11,7 +11,7 @@ <field name="body_html" type="xml"> <div> Dear ${object.name},<br/><br/> - Exception made if there was a mistake of ours, it seems that you are not at your office and there is not request of leaves from you.<br/> + Exception made if there was a mistake of ours, it seems that you are not at your office and there is not request of time off from you.<br/> Please, take appropriate measures in order to carry out this work absence.<br/> Do not hesitate to contact your manager or the human resource department. <br/>Best Regards,<br/><br/> diff --git a/addons/hr_presence/data/sms_data.xml b/addons/hr_presence/data/sms_data.xml index 8a334c772cc..5f51ba956d2 100644 --- a/addons/hr_presence/data/sms_data.xml +++ b/addons/hr_presence/data/sms_data.xml @@ -4,7 +4,7 @@ <record id="sms_template_data_hr_presence" model="sms.template"> <field name="name">Employee: Presence Reminder</field> <field name="model_id" ref="hr.model_hr_employee"/> - <field name="body">Exception made if there was a mistake of ours, it seems that you are not at your office and there is not request of leaves from you. + <field name="body">Exception made if there was a mistake of ours, it seems that you are not at your office and there is not request of time off from you. Please, take appropriate measures in order to carry out this work absence. Do not hesitate to contact your manager or the human resource department.</field> </record> diff --git a/addons/hr_presence/models/hr_employee.py b/addons/hr_presence/models/hr_employee.py index 03111b39e21..c3556229e19 100644 --- a/addons/hr_presence/models/hr_employee.py +++ b/addons/hr_presence/models/hr_employee.py @@ -142,7 +142,7 @@ class Employee(models.AbstractModel): template = self.env.ref('hr_presence.sms_template_presence', False) if not template: - context['default_body'] = _("""Exception made if there was a mistake of ours, it seems that you are not at your office and there is not request of leaves from you. + context['default_body'] = _("""Exception made if there was a mistake of ours, it seems that you are not at your office and there is not request of time off from you. Please, take appropriate measures in order to carry out this work absence. Do not hesitate to contact your manager or the human resource department.""") else: |
