[FIX] runbot: remove unaccent

see https://github.com/odoo/odoo/pull/139568
This commit is contained in:
Xavier-Do 2024-11-05 09:51:47 +01:00
parent c27766ef72
commit 4c012530a6

View File

@ -215,9 +215,9 @@ class BuildResult(models.Model):
string='Build type')
parent_id = fields.Many2one('runbot.build', 'Parent Build', index=True)
parent_path = fields.Char('Parent path', index=True, unaccent=False)
top_parent = fields.Many2one('runbot.build', compute='_compute_top_parent')
ancestors = fields.Many2many('runbot.build', compute='_compute_ancestors')
parent_path = fields.Char('Parent path', index=True)
top_parent = fields.Many2one('runbot.build', compute='_compute_top_parent')
ancestors = fields.Many2many('runbot.build', compute='_compute_ancestors')
# should we add a has children stored boolean?
children_ids = fields.One2many('runbot.build', 'parent_id')