mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: fix was alive
This commit is contained in:
parent
794a6bf7e2
commit
06f9f62b1f
@ -234,7 +234,7 @@ class Branch(models.Model):
|
||||
if self.draft:
|
||||
self.reviewers = '' # reset reviewers on draft
|
||||
|
||||
if self.was_alive and not self.alive and self.bundle_id.for_next_freeze:
|
||||
if was_alive and not self.alive and self.bundle_id.for_next_freeze:
|
||||
if not any(branch.alive and branch.is_pr for branch in self.bundle_id.branch_ids):
|
||||
self.bundle_id.for_next_freeze = False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user