mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
[12.0][FIX]fix name_get on intrastat.transaction (#73)
This commit is contained in:
committed by
João Marques
parent
e9c91aae23
commit
0ad50bae2d
@@ -29,5 +29,5 @@ class IntrastatTransaction(models.Model):
|
|||||||
if this.description:
|
if this.description:
|
||||||
name += ' ' + this.description
|
name += ' ' + this.description
|
||||||
name = len(name) > 55 and name[:55] + '...' or name
|
name = len(name) > 55 and name[:55] + '...' or name
|
||||||
res.append((this.id, this.name))
|
res.append((this.id, name))
|
||||||
return res
|
return res
|
||||||
|
|||||||
Reference in New Issue
Block a user