[FIX] l10n_multilang: followup of 3bf9cf4f36

The change was made in the code but not in the error message

Courtesy of Stephane Bidoul
This commit is contained in:
Martin Trigaux
2018-03-16 15:22:27 +01:00
parent 06737c3441
commit 38e4b2b50a
@@ -41,7 +41,7 @@ class AccountChartTemplate(models.Model):
'value': value[element.id],
})
else:
_logger.info('Language: %s. Translation from template: there is no translation available for %s!' % (lang, element.name))
_logger.info('Language: %s. Translation from template: there is no translation available for %s!' % (lang, element[in_field]))
counter += 1
return True