First name salutation in sign-out e-mails
This commit is contained in:
parent
e8192880d9
commit
dceedc2960
|
@ -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…
Reference in New Issue