Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Projects
Groups
Snippets
Sign up now
Login
Sign in
Toggle navigation
Menu
Open sidebar
Value Flows
VF Code Experiments
valuenetwork
Commits
12d9007f
Commit
12d9007f
authored
Nov 04, 2018
by
Lynn Foster
Browse files
commitment considered finished if its process is finished
parent
dfbcfe2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
valuenetwork/valueaccounting/models.py
View file @
12d9007f
...
...
@@ -9843,7 +9843,7 @@ class Option(models.Model):
class CommitmentManager(models.Manager):
def unfinished(self):
return Commitment.objects.filter(finished=False)
return Commitment.objects.filter(finished=False)
.filter(process__finished=False)
def finished(self):
return Commitment.objects.filter(finished=True)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment