mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot_merge: convert priority field to a regular integer
In 13.0, the value of a selection field can't be an integer anymore.
This commit is contained in:
parent
27e9a4f9ee
commit
08f73ea3d3
@ -544,11 +544,7 @@ class PullRequests(models.Model):
|
||||
|
||||
reviewed_by = fields.Many2one('res.partner')
|
||||
delegates = fields.Many2many('res.partner', help="Delegate reviewers, not intrinsically reviewers but can review this PR")
|
||||
priority = fields.Selection([
|
||||
(0, 'Urgent'),
|
||||
(1, 'Pressing'),
|
||||
(2, 'Normal'),
|
||||
], default=2, index=True)
|
||||
priority = fields.Integer(default=2, index=True)
|
||||
|
||||
statuses = fields.Text(compute='_compute_statuses')
|
||||
status = fields.Char(compute='_compute_statuses')
|
||||
|
Loading…
Reference in New Issue
Block a user