From b753d05b5cef0d33b882f3766dfa3e835b299a69 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Thu, 30 Aug 2018 15:22:23 +0200 Subject: [PATCH] include expense uuid in subject of email to economic --- src/economy/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/economy/models.py b/src/economy/models.py index 4e4896c3..c95f0ade 100644 --- a/src/economy/models.py +++ b/src/economy/models.py @@ -100,7 +100,7 @@ class Expense(CampRelatedModel, UUIDModel): add_outgoing_email( "emails/accountingsystem_email.txt", formatdict=dict(expense=self), - subject="Expense for %s" % self.camp.title, + subject="Expense %s for %s" % (self.pk, self.camp.title), to_recipients=[settings.ACCOUNTINGSYSTEM_EMAIL], attachment=self.invoice.read(), attachment_filename=self.invoice.file.name,