Updated sign out email text.

This commit is contained in:
Tobias Herre 2021-04-28 12:30:22 +02:00
parent c5b70c5f2b
commit e8192880d9
1 changed files with 19 additions and 3 deletions

View File

@ -217,16 +217,32 @@ class HRTimesheetSheet(models.Model):
Hallo """+str(employee_brw.name) +""", Hallo """+str(employee_brw.name) +""",
</p> </p>
<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>
<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> </p>
""" """
email_vals['email_from'] = employee_brw.company_id and employee_brw.company_id.email or 'info@yourcompany.example.com' 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['email_to'] = email_to
email_vals['subject'] = 'Automatic Sign Out' email_vals['subject'] = 'TicTac - Automatic Sign Out'
email_vals['body_html'] = body_html email_vals['body_html'] = body_html
# if active_outgoing_mail_server: # if active_outgoing_mail_server:
# email_vals['mail_server_id'] = active_outgoing_mail_server.id # email_vals['mail_server_id'] = active_outgoing_mail_server.id