Skip to content

Commit

Permalink
[FIX] intrastat_product: error on Transaction Type name computation
Browse files Browse the repository at this point in the history
  • Loading branch information
dreispt committed Sep 12, 2024
1 parent f24ab29 commit 17c91bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intrastat_product/models/intrastat_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class IntrastatTransaction(models.Model):
@api.depends("code", "description")
def _compute_display_name(self):
for this in self:
name = this.code
name = this.code or ""
if this.description:
name += " " + this.description
name = shorten(name, 55)
Expand Down

0 comments on commit 17c91bc

Please sign in to comment.