push mail external id to w.c.s. (#27794)

This commit is contained in:
Frédéric Péters 2018-11-06 19:12:26 +01:00
parent d0a602e0b5
commit 1e392e0ba9
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ class Mail(models.Model):
'channel': 'mail',
'post_date': self.post_date and self.post_date.strftime('%Y-%m-%d'),
'registered_mail_number': self.registered_mail_number,
'external_id': self.external_id,
}
if 'alfortville' in getattr(settings, 'FLAVOURS', []):
context['reference'] = self.reference