Browse Source

Updated sign out email text.

master
Tobias Herre 1 year ago
parent
commit
e8192880d9
  1. 22
      itis_hr_attendance_extend/models/hr_timesheet_sheet.py

22
itis_hr_attendance_extend/models/hr_timesheet_sheet.py

@ -217,16 +217,32 @@ class HRTimesheetSheet(models.Model):
Hallo """+str(employee_brw.name) +""",
</p>
<p>
Sie wurden automatisch von TicTac abgemeldet. Bitte passen Sie ihr Timesheet an.
dein Timetracking wurde automatisch beendet. Bitte editiere dein Timesheet, damit
deine Arbeitszeit richtig hinterlegt ist.
</p>
<p>
Vielen Dank ihr HR Team.
Vielen Dank<br>
Dein Team Personal
</p>
<p>
-----------
</p>
<p>
Dear """+str(employee_brw.name) +""",
</p>
<p>
Your time tracking was automatically stopped. Please edit your timesheet so
that your working hours are stored correctly.
</p>
<p>
Many Thanks<br>
Your HR team
</p>
"""
email_vals['email_from'] = employee_brw.company_id and employee_brw.company_id.email or 'info@yourcompany.example.com'
email_vals['email_to'] = email_to
email_vals['subject'] = 'Automatic Sign Out'
email_vals['subject'] = 'TicTac - Automatic Sign Out'
email_vals['body_html'] = body_html
# if active_outgoing_mail_server:
# email_vals['mail_server_id'] = active_outgoing_mail_server.id

Loading…
Cancel
Save