summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2018-11-06 18:12:26 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2018-11-06 18:12:26 (GMT)
commit1e392e0ba94f2722987021c878b1ebd788168950 (patch)
tree1879a8f289178f2057cf0ba3843f5e56adddc466
parentd0a602e0b56359854ce148c0a7871f4928e160a2 (diff)
downloadwelco-1e392e0ba94f2722987021c878b1ebd788168950.zip
welco-1e392e0ba94f2722987021c878b1ebd788168950.tar.gz
welco-1e392e0ba94f2722987021c878b1ebd788168950.tar.bz2
push mail external id to w.c.s. (#27794)
-rw-r--r--welco/sources/mail/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/welco/sources/mail/models.py b/welco/sources/mail/models.py
index 494b16e..f3b42bd 100644
--- a/welco/sources/mail/models.py
+++ b/welco/sources/mail/models.py
@@ -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