[FIX]GOLEM Family fullrelation must be unicode friendly

This commit is contained in:
Fabien Bourgeois 2016-06-28 19:57:43 +02:00
parent f1b7ec681f
commit 36096daa7e
1 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ class GolemFamily(models.Model):
@api.depends('partnerfrom_id', 'partnerto_id', 'relation_id')
def _compute_fullrelation(self):
for r in self:
r.fullrelation = '{} -> {} -> {}'.format(r.partnerfrom_id.name,
r.fullrelation = u'{} -> {} -> {}'.format(r.partnerfrom_id.name,
r.relation_id.name,
r.partnerto_id.name)