Skip to content
Snippets Groups Projects
Commit 3efc16e9 authored by Thibault Delavallée's avatar Thibault Delavallée
Browse files

[FIX] mail: fix typo introduced at last forward port

Format all the dae
parent 41740aad
No related branches found
No related tags found
No related merge requests found
......@@ -365,7 +365,7 @@ class MailTemplate(models.Model):
for record in records:
res_to_rec[record.id] = record
variables = {
'format_date': lambda date, format=False, context=self._context: format_dae(self.env, date, format),
'format_date': lambda date, format=False, context=self._context: format_date(self.env, date, format),
'format_tz': lambda dt, tz=False, format=False, context=self._context: format_tz(self.env, dt, tz, format),
'user': self.env.user,
'ctx': self._context, # context kw would clash with mako internals
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment