diff --git a/aeat.py b/aeat.py index d48da3d..bc6432a 100644 --- a/aeat.py +++ b/aeat.py @@ -658,7 +658,7 @@ class SIIReport(Workflow, ModelSQL, ModelView): reg.DatosPresentacion.TimestampPresentacion), 'csv': reg.DatosPresentacion.CSV, 'balance_state': reg.DatosPresentacion.CSV, - 'aeat_register': reg, + 'aeat_register': str(reg), } lines_to_create.append(sii_report_line) SIIReportLine.create(lines_to_create)