worker-automate-hub 0.5.55__py3-none-any.whl → 0.5.57__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- worker_automate_hub/tasks/jobs/entrada_de_notas_39.py +5 -5
- worker_automate_hub/tasks/jobs/entrada_de_notas_500.py +5 -4
- worker_automate_hub/utils/util.py +4 -4
- {worker_automate_hub-0.5.55.dist-info → worker_automate_hub-0.5.57.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.55.dist-info → worker_automate_hub-0.5.57.dist-info}/RECORD +7 -7
- {worker_automate_hub-0.5.55.dist-info → worker_automate_hub-0.5.57.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.55.dist-info → worker_automate_hub-0.5.57.dist-info}/entry_points.txt +0 -0
@@ -360,14 +360,14 @@ async def entrada_de_notas_39(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
360
360
|
i += 1
|
361
361
|
|
362
362
|
if i >= max_attempts:
|
363
|
+
error_work = await error_after_xml_imported()
|
363
364
|
return RpaRetornoProcessoDTO(
|
364
|
-
sucesso=
|
365
|
-
retorno=
|
366
|
-
status=
|
367
|
-
tags=
|
365
|
+
sucesso=error_work.sucesso,
|
366
|
+
retorno=error_work.retorno,
|
367
|
+
status=error_work.status,
|
368
|
+
tags=error_work.tags
|
368
369
|
)
|
369
370
|
|
370
|
-
|
371
371
|
console.print(
|
372
372
|
f"Marcando Manter calculo PIS/COFINS...\n"
|
373
373
|
)
|
@@ -326,11 +326,12 @@ async def entrada_de_notas_500(task: RpaProcessoEntradaDTO) -> RpaRetornoProcess
|
|
326
326
|
i += 1
|
327
327
|
|
328
328
|
if i >= max_attempts:
|
329
|
+
error_work = await error_after_xml_imported()
|
329
330
|
return RpaRetornoProcessoDTO(
|
330
|
-
sucesso=
|
331
|
-
retorno=
|
332
|
-
status=
|
333
|
-
tags=
|
331
|
+
sucesso=error_work.sucesso,
|
332
|
+
retorno=error_work.retorno,
|
333
|
+
status=error_work.status,
|
334
|
+
tags=error_work.tags
|
334
335
|
)
|
335
336
|
|
336
337
|
console.print(
|
@@ -2426,14 +2426,14 @@ async def error_after_xml_imported() -> RpaRetornoProcessoDTO:
|
|
2426
2426
|
tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
|
2427
2427
|
)
|
2428
2428
|
|
2429
|
-
elif "
|
2429
|
+
elif "xml" in control_text.lower():
|
2430
2430
|
return RpaRetornoProcessoDTO(
|
2431
2431
|
sucesso=False,
|
2432
2432
|
retorno=f"Nota descartada: {control_text}... \n",
|
2433
2433
|
status=RpaHistoricoStatusEnum.Descartado,
|
2434
2434
|
)
|
2435
2435
|
|
2436
|
-
elif "
|
2436
|
+
elif "XML já foi importado anteriormente" in control_text:
|
2437
2437
|
return RpaRetornoProcessoDTO(
|
2438
2438
|
sucesso=False,
|
2439
2439
|
retorno=f"Nota descartada: {control_text}... \n",
|
@@ -2643,7 +2643,7 @@ async def itens_not_found_supplier(xml: str) -> RpaRetornoProcessoDTO:
|
|
2643
2643
|
sucesso=False,
|
2644
2644
|
retorno=f"Itens nao localizados p/ fornecedor. Mensagem: {conteudo}",
|
2645
2645
|
status=RpaHistoricoStatusEnum.Falha,
|
2646
|
-
tags=[RpaTagDTO(descricao=RpaTagEnum.
|
2646
|
+
tags=[RpaTagDTO(descricao=RpaTagEnum.Negocio)]
|
2647
2647
|
)
|
2648
2648
|
else:
|
2649
2649
|
return RpaRetornoProcessoDTO(
|
@@ -4011,4 +4011,4 @@ async def pessoas_ativa_cliente_fornecedor(cod_cliente: str, ativar_cliente: boo
|
|
4011
4011
|
retorno=f"Não foi possivel clicar na Lupa para buscar a nota fiscal na tela de nota fiscal de saída, erro: {e}",
|
4012
4012
|
status=RpaHistoricoStatusEnum.Falha,
|
4013
4013
|
tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)]
|
4014
|
-
)
|
4014
|
+
)
|
@@ -51,8 +51,8 @@ worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=c3_70gNioTJQ2PUXhcE
|
|
51
51
|
worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=NQO0LFdw_EomNd-go3_U8IhN517pyh2VlZdEzhXGFGw,32922
|
52
52
|
worker_automate_hub/tasks/jobs/entrada_de_notas_34.py,sha256=MZNrG5KArW43lM_aPHy9EMcT5mzwx_Idyo39Y_lXG8U,32684
|
53
53
|
worker_automate_hub/tasks/jobs/entrada_de_notas_36.py,sha256=sFe3aYh6MrpK18aJdddsOG8QmJthbra9EhwLA_jvyWg,23194
|
54
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=
|
55
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=
|
54
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=VhSdkBzM41_5Cczo557PZ-GSfKwbRslYFF7MOBdFDk4,35927
|
55
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=4dcQ3EnylX05s15Ozxh8CgsxP0fG7wTEkrW7j17EHvQ,33988
|
56
56
|
worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=7VR9udGS7NCBE9WEJA9_vpL5sTM7TFEMcCjEumBdokQ,15681
|
57
57
|
worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=iXbkjdg02r3tdt3eH8jJPJxq43i1LDaNhoS7qOQgkoo,15965
|
58
58
|
worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=vUj25yHxkCNhpyOU5Vk81gsYcTTH1TJ3yn-b8N00JfQ,52857
|
@@ -73,10 +73,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1
|
|
73
73
|
worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
|
74
74
|
worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
|
75
75
|
worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
|
76
|
-
worker_automate_hub/utils/util.py,sha256=
|
76
|
+
worker_automate_hub/utils/util.py,sha256=luy9Tvbu2IUeQqiZrPlXrQaRXa6cav7FrLjhbD93dC0,160742
|
77
77
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=iYpOs7fb7C3bY61QHySr00xlDNzrrCP0zaexOpBPuaQ,31930
|
78
78
|
worker_automate_hub/worker.py,sha256=CT-poyP1ZYvubArYsnnNd9oJ53SPaDwgr6p6keS3nI4,6248
|
79
|
-
worker_automate_hub-0.5.
|
80
|
-
worker_automate_hub-0.5.
|
81
|
-
worker_automate_hub-0.5.
|
82
|
-
worker_automate_hub-0.5.
|
79
|
+
worker_automate_hub-0.5.57.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
80
|
+
worker_automate_hub-0.5.57.dist-info/METADATA,sha256=LqZduG_PWeN-bng6NbbLLvBmlZBCmL3vEVqVEo6OfDQ,2894
|
81
|
+
worker_automate_hub-0.5.57.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
82
|
+
worker_automate_hub-0.5.57.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.5.55.dist-info → worker_automate_hub-0.5.57.dist-info}/entry_points.txt
RENAMED
File without changes
|