From 846ac89b8bff91fab0e86109faeaf56531f81db3 Mon Sep 17 00:00:00 2001 From: Akanksh Saxena Date: Thu, 11 Nov 2021 14:13:19 +0100 Subject: [PATCH] fix(filters): billing should not affect finish state of a report This is especially the case with projects that are billed in advance. --- timed/tracking/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timed/tracking/filters.py b/timed/tracking/filters.py index c9597c02..8bc2232e 100644 --- a/timed/tracking/filters.py +++ b/timed/tracking/filters.py @@ -144,7 +144,7 @@ def filter_editable(self, queryset, name, value): ) | Q(user=user) ) - unfinished_filter = Q(verified_by__isnull=True) | Q(billed=False) + unfinished_filter = Q(verified_by__isnull=True) editable_filter = assignee_filter & unfinished_filter if value: # editable