UPDATED: Stop storing the Message-Id field on the <Ticket> model and move it to the <FollowUp> so we can easily follow the threads.

This commit is contained in:
Bruno Tikami 2016-02-16 16:11:10 -02:00
parent 5f738a3214
commit c2e9ee26af

View File

@ -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: