mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: store pull_head_name on branch
This one flew under the radar because it only affects a PR when its branch name changes. Closes #47
This commit is contained in:
parent
2f4a6f82ff
commit
439e336a2f
@ -73,7 +73,7 @@ class runbot_branch(models.Model):
|
||||
for branch in self:
|
||||
pi = self._get_pull_info()
|
||||
if pi:
|
||||
self.pull_head_name = pi['head']['ref']
|
||||
branch.pull_head_name = pi['head']['ref']
|
||||
|
||||
def _get_branch_quickconnect_url(self, fqdn, dest):
|
||||
self.ensure_one()
|
||||
|
Loading…
Reference in New Issue
Block a user