Browse Source

First name salutation in sign-out e-mails

master
Tobias Herre 6 months ago
parent
commit
dceedc2960
  1. 6
      itis_hr_attendance_extend/models/hr_timesheet_sheet.py

6
itis_hr_attendance_extend/models/hr_timesheet_sheet.py

@ -212,9 +212,11 @@ class HRTimesheetSheet(models.Model):
active_outgoing_mail_server = ir_mail_env.search([('id','!=',False)], limit=1)
email_vals = { }
# Yes, it's real. Given names are stored in a field called "surname".
body_html= """
<p>
Hallo """+str(employee_brw.name) +""",
Hallo """+str(employee_brw.surname) +""",
</p>
<p>
dein Timetracking wurde automatisch beendet. Bitte editiere dein Timesheet, damit
@ -228,7 +230,7 @@ class HRTimesheetSheet(models.Model):
-----------
</p>
<p>
Dear """+str(employee_brw.name) +""",
Dear """+str(employee_brw.surname) +""",
</p>
<p>
Your time tracking was automatically stopped. Please edit your timesheet so

Loading…
Cancel
Save