[FIX]GOLEM Family fullrelation must be unicode friendly
This commit is contained in:
parent
f1b7ec681f
commit
36096daa7e
@ -62,9 +62,9 @@ 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.relation_id.name,
|
||||
r.partnerto_id.name)
|
||||
r.fullrelation = u'{} -> {} -> {}'.format(r.partnerfrom_id.name,
|
||||
r.relation_id.name,
|
||||
r.partnerto_id.name)
|
||||
|
||||
@api.onchange('partnerfrom_id')
|
||||
def onchange_partnerfrom_id(self):
|
||||
|
Loading…
Reference in New Issue
Block a user