mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot_merge: cancel reason on PR close
Was not properly formatted, so the message would just be "PR %s:%s closed by %s".
This commit is contained in:
parent
d042bc541f
commit
e590d565c1
@ -852,7 +852,7 @@ class Stagings(models.Model):
|
||||
self.write({
|
||||
'active': False,
|
||||
'state': 'cancelled',
|
||||
'reason': reason,
|
||||
'reason': reason % args,
|
||||
})
|
||||
|
||||
def fail(self, message, prs=None):
|
||||
|
Loading…
Reference in New Issue
Block a user