mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot_merge: typo in freeze wizard
Forgot to deref the id of the staging we're trying to lock, so the specific case where we start a freeze with a bump PR and an outstanding staging in master would instantly blow up.
This commit is contained in:
parent
b21fbaf9cc
commit
994cea467c
@ -196,7 +196,7 @@ class FreezeWizard(models.Model):
|
||||
if self.bump_pr_ids and master.active_staging_id:
|
||||
self.env.cr.execute(
|
||||
'SELECT * FROM runbot_merge_stagings WHERE id = %s FOR UPDATE NOWAIT',
|
||||
[master.active_staging_id]
|
||||
[master.active_staging_id.id]
|
||||
)
|
||||
|
||||
seq = itertools.count(start=1) # start reseq at 1
|
||||
|
Loading…
Reference in New Issue
Block a user