Skip to content

Commit 5a00421

Browse files
committed
Merge PR #4766 into 16.0
Signed-off-by pedrobaeza
2 parents ff164db + 4bb453b commit 5a00421

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

l10n_es_aeat_mod592/models/mod592_acquirer.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ def _get_csv_report_info(self):
117117
data = super()._get_csv_report_info()
118118
data["product_description"] = "" # Campo ignorado para adquirientes
119119
data["fiscal_acquirer"] = (
120-
self.fiscal_acquirer if self.concept not in ("2", "3") else ""
120+
self.fiscal_acquirer if self.concept not in ("2", "3", "4") else ""
121121
) # En algunos casos no se debe indicar
122+
data["supplier_document_type"] = (
123+
self.supplier_document_type if self.concept != "3" else ""
124+
) # Campo vacío para concepto 3
122125
return self._get_csv_report_info_mapped(data)

0 commit comments

Comments
 (0)