[FIX] l10n_multilang: correctly set src

While it is the name of the record that is set most of the time, it can also
be different value (like tax description)

Closes #21651
This commit is contained in:
Stephane Bidoul
2018-03-15 16:40:53 +01:00
committed by Martin Trigaux
parent e03a06b3e9
commit 3bf9cf4f36
@@ -37,7 +37,7 @@ class AccountChartTemplate(models.Model):
'type': 'model',
'res_id': out_ids[counter].id,
'lang': lang,
'src': element.name,
'src': element[in_field],
'value': value[element.id],
})
else: