From c2e9ee26af0e3d9124e3771ac9bbb429b21c12bc Mon Sep 17 00:00:00 2001 From: Bruno Tikami Date: Tue, 16 Feb 2016 16:11:10 -0200 Subject: [PATCH] UPDATED: Stop storing the Message-Id field on the model and move it to the so we can easily follow the threads. --- helpdesk/models.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/helpdesk/models.py b/helpdesk/models.py index d18614ed..009ad88f 100644 --- a/helpdesk/models.py +++ b/helpdesk/models.py @@ -370,15 +370,6 @@ class Ticket(models.Model): 'follow-ups left for this task.'), ) - submitter_email_id = models.CharField( - _('Submitter E-Mail ID'), - max_length=256, - blank=True, - null=True, - help_text=_("The Message ID of the submitter's email."), - editable=False, - ) - assigned_to = models.ForeignKey( settings.AUTH_USER_MODEL, related_name='assigned_to', @@ -675,6 +666,15 @@ class FollowUp(models.Model): help_text=_('If the status was changed, what was it changed to?'), ) + message_id = models.CharField( + _('E-Mail ID'), + max_length=256, + blank=True, + null=True, + help_text=_("The Message ID of the submitter's email."), + editable=False, + ) + objects = FollowUpManager() class Meta: