[FIX] runbot_merge: 16.0 orm warning

Regular indexing doesn't work if unaccent is enabled, and the ORM
warns about it.
This commit is contained in:
Xavier Morel 2024-08-09 10:08:36 +02:00
parent 5dcdfb1138
commit a567960d52

View File

@ -99,7 +99,7 @@ class Batch(models.Model):
# unlike on PRs, this does not get detached... ? (because batches can be # unlike on PRs, this does not get detached... ? (because batches can be
# partially detached so that's a PR-level concern) # partially detached so that's a PR-level concern)
parent_path = fields.Char(index=True) parent_path = fields.Char(index=True, unaccent=False)
parent_id = fields.Many2one("runbot_merge.batch") parent_id = fields.Many2one("runbot_merge.batch")
genealogy_ids = fields.Many2many( genealogy_ids = fields.Many2many(
"runbot_merge.batch", "runbot_merge.batch",