mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[FIX] runbot_merge: name_get using the wrong field on override rights
This commit is contained in:
parent
be7788be0a
commit
963ba9e911
@ -84,6 +84,6 @@ class OverrideRights(models.Model):
|
|||||||
|
|
||||||
def name_get(self):
|
def name_get(self):
|
||||||
return [
|
return [
|
||||||
(r.id, f'{r.repository.name}: {r.context}')
|
(r.id, f'{r.repository_id.name}: {r.context}')
|
||||||
for r in self
|
for r in self
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user