From 0ad50bae2d0310959ce1eb84777a1d46b1334c84 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Wed, 5 Jun 2019 21:16:27 +0200 Subject: [PATCH] [12.0][FIX]fix name_get on intrastat.transaction (#73) --- intrastat_product/models/intrastat_transaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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