We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24ed86f commit 24a47dbCopy full SHA for 24a47db
1 file changed
l10n_es_aeat_sii_oca/models/account_move.py
@@ -681,7 +681,7 @@ def _compute_sii_description(self):
681
names = invoice.mapped("invoice_line_ids.name") or invoice.mapped(
682
"invoice_line_ids.ref"
683
)
684
- names = [unidecode(x) for x in names] # Avoid "ugly" chars
+ names = [unidecode(x) for x in names if x] # Avoid "ugly" chars
685
description += " - ".join(filter(None, names))
686
invoice.sii_description = (description or "")[:500] or "/"
687
0 commit comments