mirror of
https://github.com/odoo/runbot.git
synced 2025-05-31 13:48:00 +07:00
[FIX] forwardport: breakage in previous commit
leftover unnecessary change in
52699d901a
broke one of the tests
This commit is contained in:
parent
52699d901a
commit
e345d4d0d0
@ -226,7 +226,7 @@ class PullRequests(models.Model):
|
||||
# if the PR has a parent and is CI-validated, enqueue the next PR
|
||||
for pr in self:
|
||||
_logger.info('Checking if forward-port %s (%s)', pr, pr.number)
|
||||
if not pr.source_id:
|
||||
if not pr.parent_id:
|
||||
_logger.info('-> no parent (%s)', pr)
|
||||
continue
|
||||
if pr.state not in ['validated', 'ready']:
|
||||
|
Loading…
Reference in New Issue
Block a user