[FIX] runbot: more flexible duplicate detection

This commit is contained in:
Christophe Monniez 2020-02-10 14:05:48 +01:00
parent c702fecda1
commit 46c8c6d635

View File

@ -287,7 +287,7 @@ class runbot_build(models.Model):
]
candidates = self.search(domain)
nb_deps = len(repo.dependency_ids)
nb_deps = len(build_id.dependency_ids)
if candidates and nb_deps:
# check that all depedencies are matching.