mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot_merge: v13 computed field compatibility
In v13, computed fields *must* have their value set on all records.
This commit is contained in:
parent
08f73ea3d3
commit
f91629f693
@ -604,6 +604,7 @@ class PullRequests(models.Model):
|
||||
for s in self:
|
||||
c = Commits.search([('sha', '=', s.head)])
|
||||
if not (c and c.statuses):
|
||||
s.status = s.statuses = False
|
||||
continue
|
||||
|
||||
statuses = json.loads(c.statuses)
|
||||
|
Loading…
Reference in New Issue
Block a user