[IMP] EBICS File Format - improve name_get

This commit is contained in:
Luc De Meyer 2023-03-07 16:48:57 +01:00
parent 1d620492de
commit 0b28ba9fb4

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