diff --git a/api/customs/tasks/internal_services.py b/api/customs/tasks/internal_services.py index 0183123..872d91b 100644 --- a/api/customs/tasks/internal_services.py +++ b/api/customs/tasks/internal_services.py @@ -185,7 +185,7 @@ def auditar_pedimento(organizacion_id): pedimento.remesas = xml_data.get('remesas') pedimento.tipo_operacion__id = xml_data.get('tipo_operacion') pedimento.fecha_pago = xml_data.get('fecha_pago') - pedimento.pedimento_app = xml_data.get('fecha_pago')[2:4] + "-" + pedimento.aduana + "-" + pedimento.patente + "-" + pedimento.pedimento + pedimento.pedimento_app = xml_data.get('fecha_pago')[2:4] + "-" + pedimento.aduana[:2] + "-" + pedimento.patente + "-" + pedimento.pedimento pedimento.save() for edoc in xml_data.get('edocuments', []):