From 32ccdeb3153edb9ed938a2b8eaf2913737d83005 Mon Sep 17 00:00:00 2001 From: SilvioC2C Date: Tue, 30 Jan 2024 14:28:49 +0100 Subject: [PATCH] [IMP] mrp_tag: add `unaccent=False` to `parent_path` --- mrp_tag/models/mrp_tag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrp_tag/models/mrp_tag.py b/mrp_tag/models/mrp_tag.py index 321e1fb60..4cfff0173 100644 --- a/mrp_tag/models/mrp_tag.py +++ b/mrp_tag/models/mrp_tag.py @@ -20,7 +20,7 @@ class MrpTag(models.Model): color = fields.Integer(default=lambda self: self._get_default_color()) parent_id = fields.Many2one("mrp.tag", index=True, ondelete="cascade") child_ids = fields.One2many("mrp.tag", "parent_id") - parent_path = fields.Char(index=True) + parent_path = fields.Char(index=True, unaccent=False) _sql_constraints = [ ("tag_name_uniq", "unique (name)", "Tag name already exists !"),