Se agrego creacion automatica de tareas:

This commit is contained in:
2025-10-05 21:00:33 -06:00
parent 617756da56
commit ae3cbeecdb
4 changed files with 63 additions and 15 deletions

View File

@@ -210,6 +210,7 @@ def procesar_pedimento_completo_individual(pedimento_id):
headers={"Content-Type": "application/json"}
)
print(f"Servicio enviado para pedimento {pedimento.pedimento}")
return response
@shared_task
def procesar_pedimentos_completos(organizacion_id):