diff --git a/soong_workflow/models/soong_workflow_record.py b/soong_workflow/models/soong_workflow_record.py index 4f0da95ee..506efee09 100644 --- a/soong_workflow/models/soong_workflow_record.py +++ b/soong_workflow/models/soong_workflow_record.py @@ -239,7 +239,8 @@ class SoongWorkflowRecord(models.Model): current_uid = self.env.user.id base_domain = [ ('users_ids', 'in', current_uid), - ('reclaim_state', '=', False) + ('reclaim_state', '=', False), + ('active', 'in', [True, False]) ] candidate_records = self.search(base_domain) if not candidate_records: diff --git a/soong_workflow/views/soong_workflow_record.xml b/soong_workflow/views/soong_workflow_record.xml index 2128e07d7..1f875d79a 100644 --- a/soong_workflow/views/soong_workflow_record.xml +++ b/soong_workflow/views/soong_workflow_record.xml @@ -58,6 +58,7 @@ +