mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00
[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:
parent
5dcdfb1138
commit
a567960d52
@ -99,7 +99,7 @@ class Batch(models.Model):
|
||||
|
||||
# unlike on PRs, this does not get detached... ? (because batches can be
|
||||
# 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")
|
||||
genealogy_ids = fields.Many2many(
|
||||
"runbot_merge.batch",
|
||||
|
Loading…
Reference in New Issue
Block a user