emile 4 months ago
parent 39d5600d3d
commit 412652125e

@ -457,7 +457,7 @@ class Status(models.Model):
if self.type == 'Task' and self.type_id: if self.type == 'Task' and self.type_id:
try: try:
task = Task.objects.get(id=self.type_id) task = Task.objects.get(id=self.type_id)
return task.project.id return task.project.project_id
except Task.DoesNotExist: except Task.DoesNotExist:
return None return None
return None return None

Loading…
Cancel
Save