mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-23 12:42:04 +00:00
[IMP] EBICS File Format - improve name_get
This commit is contained in:
parent
f1f9cfd2f8
commit
ba79a01f49
@ -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