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

Format all the dae
This commit is contained in:
Thibault Delavallée
2017-01-18 11:36:27 +01:00
parent 41740aad0d
commit 3efc16e9a0
+1 -1
View File
@@ -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