mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-23 20:52:04 +00:00
[IMP] EBICS File Format - improve name_get
This commit is contained in:
parent
887cd4823c
commit
21b2a524cd
@ -114,5 +114,7 @@ class EbicsFileFormat(models.Model):
|
|||||||
res = []
|
res = []
|
||||||
for rec in self:
|
for rec in self:
|
||||||
name = rec.ebics_version == "2" and rec.name or rec.btf_message
|
name = rec.ebics_version == "2" and rec.name or rec.btf_message
|
||||||
|
if rec.description:
|
||||||
|
name += " - " + rec.description
|
||||||
res.append((rec.id, name))
|
res.append((rec.id, name))
|
||||||
return res
|
return res
|
||||||
|
Loading…
Reference in New Issue
Block a user