diff --git a/intrastat_product/models/intrastat_transaction.py b/intrastat_product/models/intrastat_transaction.py index 5a63ba3..efa517f 100644 --- a/intrastat_product/models/intrastat_transaction.py +++ b/intrastat_product/models/intrastat_transaction.py @@ -29,5 +29,5 @@ class IntrastatTransaction(models.Model): if this.description: name += ' ' + this.description name = len(name) > 55 and name[:55] + '...' or name - res.append((this.id, this.name)) + res.append((this.id, name)) return res