Commit 98590b5a authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Fix is_suspended

parent 3d94b1c5
......@@ -1348,9 +1348,9 @@ class Project(models.Model):
@property
def is_suspended(self):
if not self.termination_date:
if self.termination_date:
return False
if not self.last_approval_date:
if self.last_approval_date:
if not self.definition.violated_resource_grants:
return False
# if not self.violated_members_number_limit:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment