worker-automate-hub 0.4.391__py3-none-any.whl → 0.4.392__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/sped_fiscal.py +4 -16
- {worker_automate_hub-0.4.391.dist-info → worker_automate_hub-0.4.392.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.4.391.dist-info → worker_automate_hub-0.4.392.dist-info}/RECORD +5 -5
- {worker_automate_hub-0.4.391.dist-info → worker_automate_hub-0.4.392.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.4.391.dist-info → worker_automate_hub-0.4.392.dist-info}/entry_points.txt +0 -0
@@ -246,25 +246,13 @@ async def sped_fiscal(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoDTO:
|
|
246
246
|
)
|
247
247
|
|
248
248
|
|
249
|
-
await worker_sleep(
|
249
|
+
await worker_sleep(7)
|
250
250
|
console.print(f"Verificando sem possui o pop-up de Registro de Entrada... \n")
|
251
|
-
|
252
|
-
if
|
253
|
-
console.print(f"Pop-up existe, clicando em Sim... \n")
|
254
|
-
app = Application(backend="win32").connect(class_name="TMsgBox", timeout=30)
|
255
|
-
main_window = app["TMsgBox"]
|
256
|
-
btn_sim = main_window["Sim"]
|
257
|
-
if btn_sim.exists():
|
258
|
-
try:
|
259
|
-
btn_sim.click()
|
260
|
-
await worker_sleep(3)
|
261
|
-
console.print("O botão Sim, na tela de Registro de Entrada foi clicado com sucesso.", style="green")
|
262
|
-
except:
|
263
|
-
console.print("Falha ao clicar no botão Sim na tela de Registro de Entrada", style="red")
|
264
|
-
else:
|
251
|
+
registro_entrada_pop_up_title = await is_window_open("Registro de Entrada")
|
252
|
+
if registro_entrada_pop_up_title["IsOpened"] == True:
|
265
253
|
return RpaRetornoProcessoDTO(
|
266
254
|
sucesso=False,
|
267
|
-
retorno=f"Erro:
|
255
|
+
retorno=f"Erro: Livro Fiscal de Registro de Entrada não foi gerado ou não está confirmado para a empresa.",
|
268
256
|
status=RpaHistoricoStatusEnum.Falha,
|
269
257
|
)
|
270
258
|
|
@@ -54,7 +54,7 @@ worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py,sha256=Y-mKYcgX1kwcy_s
|
|
54
54
|
worker_automate_hub/tasks/jobs/fidc_remessa_cobranca_cnab240.py,sha256=QBGm6eS5JghgNWNqZlk1g2a2iV8LnBLiOTBBL3Giet0,4181
|
55
55
|
worker_automate_hub/tasks/jobs/login_emsys.py,sha256=IoGCIvO4UwmuxOZEn3cvYJlKyhsWvtHvbFk8vwjTroQ,5620
|
56
56
|
worker_automate_hub/tasks/jobs/playground.py,sha256=bdnXv3C7WLQUxt4edGZDfAbRJJ2-q4zuIQaK3GLnaUc,1765
|
57
|
-
worker_automate_hub/tasks/jobs/sped_fiscal.py,sha256=
|
57
|
+
worker_automate_hub/tasks/jobs/sped_fiscal.py,sha256=RM0O2B-4qtmjtVLfEy76q7tosD4VA-euI319oYbTi6I,19417
|
58
58
|
worker_automate_hub/tasks/jobs/transferencias.py,sha256=keCUlvbPhLrTiZQ9Co_r6IqL5wjYqVGB_-mgvdDe9pM,36080
|
59
59
|
worker_automate_hub/tasks/task_definitions.py,sha256=2Jp1H4_qJZqqGyaP6MA87KLt4QNrtWBYWbXu-2gymFo,4459
|
60
60
|
worker_automate_hub/tasks/task_executor.py,sha256=eXFgWbcM8aMPwENvNix8KyFv7BqvIwhXUDkBSI1ul7M,8873
|
@@ -67,7 +67,7 @@ worker_automate_hub/utils/updater.py,sha256=0LR6Xpe3HZk-xu-trH7vKRhP5FXp0nhp1qxt
|
|
67
67
|
worker_automate_hub/utils/util.py,sha256=YCbgMMBwhp9LD6NUmE5S2K6S12TNEpGJm25FqfsIKPE,119544
|
68
68
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=GsvN7XMWAmCFHqC0YMZsjsb0myL-7ahuzHN4jPNn0zc,27623
|
69
69
|
worker_automate_hub/worker.py,sha256=vkl_x7gSo6nQlhSBLwRkGx6LEONnYptfBaGxOy1ZLsE,4634
|
70
|
-
worker_automate_hub-0.4.
|
71
|
-
worker_automate_hub-0.4.
|
72
|
-
worker_automate_hub-0.4.
|
73
|
-
worker_automate_hub-0.4.
|
70
|
+
worker_automate_hub-0.4.392.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
71
|
+
worker_automate_hub-0.4.392.dist-info/METADATA,sha256=5TnKQMWgNUIa00xbJewLZrY-lG_RHonvY5UadWA3WDI,2895
|
72
|
+
worker_automate_hub-0.4.392.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
73
|
+
worker_automate_hub-0.4.392.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.4.391.dist-info → worker_automate_hub-0.4.392.dist-info}/entry_points.txt
RENAMED
File without changes
|