Skip to content

Commit

Permalink
Merge PR #268 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by alexis-via
  • Loading branch information
OCA-git-bot committed Mar 15, 2024
2 parents b155062 + c6fe6a5 commit 731283c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion product_harmonized_system/models/hs_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _compute_product_tmpl_count(self):
@api.depends("local_code", "description")
def _compute_display_name(self):
for this in self:
name = this.local_code
name = this.local_code or ""
if this.description:
name += " " + this.description
name = shorten(name, 55)
Expand Down

0 comments on commit 731283c

Please sign in to comment.