[IMP] EBICS File Format - improve name_get

This commit is contained in:
Luc De Meyer 2023-03-07 16:48:57 +01:00
parent 887cd4823c
commit 21b2a524cd

View File

@ -114,5 +114,7 @@ class EbicsFileFormat(models.Model):
res = []
for rec in self:
name = rec.ebics_version == "2" and rec.name or rec.btf_message
if rec.description:
name += " - " + rec.description
res.append((rec.id, name))
return res