emile 4 months ago
parent 39d5600d3d
commit 412652125e

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

Loading…
Cancel
Save