Browse Source

fix(tickets): 修复已处理工单的 待处理人 字段

pull/4662/head
xinwen 4 years ago committed by 老广
parent
commit
e461fbdf50
  1. 2
      apps/tickets/models/ticket.py

2
apps/tickets/models/ticket.py

@ -79,7 +79,6 @@ class Ticket(OrgModelMixin, CommonModelMixin):
) )
self.status = status self.status = status
self.assignee = user self.assignee = user
self.assignees_display = str(user)
self.save() self.save()
def create_comment(self, action_display, user, extra_comment=None): def create_comment(self, action_display, user, extra_comment=None):
@ -97,7 +96,6 @@ class Ticket(OrgModelMixin, CommonModelMixin):
self.action = action self.action = action
self.status = self.STATUS.CLOSED self.status = self.STATUS.CLOSED
self.assignee = user self.assignee = user
self.assignees_display = str(user)
self.save() self.save()
def is_assignee(self, user): def is_assignee(self, user):

Loading…
Cancel
Save