[FIX] forwardport: flag statuses as recursive

I'd been convinced this was an ORM error because the field is not
recursive... in runbot_merge, in forwardbot it is and thus does indeed
need to be flagged to avoid the warning.
This commit is contained in:
Xavier Morel 2023-06-08 08:26:10 +02:00
parent 2009177ada
commit 048ae0c5ff

View File

@ -213,6 +213,8 @@ class Repository(models.Model):
class PullRequests(models.Model):
_inherit = 'runbot_merge.pull_requests'
statuses = fields.Text(recursive=True)
limit_id = fields.Many2one('runbot_merge.branch', help="Up to which branch should this PR be forward-ported")
parent_id = fields.Many2one(