From a567960d52063b0d8896fb9beb2dee905673ff28 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Fri, 9 Aug 2024 10:08:36 +0200 Subject: [PATCH] [FIX] runbot_merge: 16.0 orm warning Regular indexing doesn't work if unaccent is enabled, and the ORM warns about it. --- runbot_merge/models/batch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot_merge/models/batch.py b/runbot_merge/models/batch.py index d920802f..df52fc38 100644 --- a/runbot_merge/models/batch.py +++ b/runbot_merge/models/batch.py @@ -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",