[IMP] EBICS File Format - improve name_get

This commit is contained in:
Luc De Meyer 2023-03-07 16:48:57 +01:00
parent f1f9cfd2f8
commit ba79a01f49

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