Se modifico la aduana
This commit is contained in:
@@ -185,7 +185,7 @@ def auditar_pedimento(organizacion_id):
|
|||||||
pedimento.remesas = xml_data.get('remesas')
|
pedimento.remesas = xml_data.get('remesas')
|
||||||
pedimento.tipo_operacion__id = xml_data.get('tipo_operacion')
|
pedimento.tipo_operacion__id = xml_data.get('tipo_operacion')
|
||||||
pedimento.fecha_pago = xml_data.get('fecha_pago')
|
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()
|
pedimento.save()
|
||||||
|
|
||||||
for edoc in xml_data.get('edocuments', []):
|
for edoc in xml_data.get('edocuments', []):
|
||||||
|
|||||||
Reference in New Issue
Block a user