mirror of
https://github.com/odoo/runbot.git
synced 2025-03-30 23:05: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({
|
self.write({
|
||||||
'active': False,
|
'active': False,
|
||||||
'state': 'cancelled',
|
'state': 'cancelled',
|
||||||
'reason': reason,
|
'reason': reason % args,
|
||||||
})
|
})
|
||||||
|
|
||||||
def fail(self, message, prs=None):
|
def fail(self, message, prs=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user