mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: fix codowner match
This commit is contained in:
parent
2c29a6b94b
commit
ea5feb114a
@ -28,7 +28,7 @@ class Codeowner(models.Model):
|
||||
def _validate_version_domain(self):
|
||||
for rec in self:
|
||||
try:
|
||||
self._match_version(runbot.bundle_master.version_id)
|
||||
self._match_version(self.env.ref('runbot.bundle_master').version_id)
|
||||
except Exception as e:
|
||||
raise ValidationError("Unable to validate version_domain: %s" % e)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user