worker-automate-hub 0.5.323__py3-none-any.whl → 0.5.324__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py +23 -9
- {worker_automate_hub-0.5.323.dist-info → worker_automate_hub-0.5.324.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.323.dist-info → worker_automate_hub-0.5.324.dist-info}/RECORD +5 -5
- {worker_automate_hub-0.5.323.dist-info → worker_automate_hub-0.5.324.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.323.dist-info → worker_automate_hub-0.5.324.dist-info}/entry_points.txt +0 -0
@@ -2411,6 +2411,18 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
|
|
2411
2411
|
except:
|
2412
2412
|
console.print("Janela TFrmProcessamentoNFe2 ja fechada")
|
2413
2413
|
|
2414
|
+
|
2415
|
+
await worker_sleep(10)
|
2416
|
+
console.print("Verificando se a tela de Mensagem esta aberta")
|
2417
|
+
erro_screen = await is_window_open_by_class("TMemo","TMemo")
|
2418
|
+
if erro_screen["IsOpened"] == True:
|
2419
|
+
console.print("Janela aberta, fechando")
|
2420
|
+
app = Application().connect(class_name="TMemo", timeout=10)
|
2421
|
+
main_window = app["TMemo"]
|
2422
|
+
main_window.set_focus()
|
2423
|
+
await worker_sleep(2)
|
2424
|
+
main_window.close()
|
2425
|
+
|
2414
2426
|
|
2415
2427
|
await worker_sleep(10)
|
2416
2428
|
console.print("Verificando se a tela de Gerenciador esta aberta")
|
@@ -2425,15 +2437,17 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
|
|
2425
2437
|
console.print("Janela TFrmGerenciadorNFe2 ja fechada")
|
2426
2438
|
|
2427
2439
|
|
2428
|
-
|
2429
|
-
|
2430
|
-
|
2431
|
-
|
2432
|
-
app = Application().connect(class_name="
|
2433
|
-
|
2434
|
-
|
2440
|
+
await worker_sleep(10)
|
2441
|
+
console.print("Verificando se a tela de Pre venda esta aberta")
|
2442
|
+
window_gerenciador_screen = await is_window_open_by_class("TFrmPreVenda","TFrmPreVenda")
|
2443
|
+
if window_gerenciador_screen["IsOpened"] == True:
|
2444
|
+
app = Application().connect(class_name="TFrmPreVenda", timeout=10)
|
2445
|
+
window_gerenciador = app["TFrmPreVenda"]
|
2446
|
+
window_gerenciador.set_focus()
|
2435
2447
|
await worker_sleep(2)
|
2436
|
-
|
2448
|
+
window_gerenciador.close()
|
2449
|
+
else:
|
2450
|
+
console.print("Janela TFrmPreVenda ja fechada")
|
2437
2451
|
|
2438
2452
|
|
2439
2453
|
await worker_sleep(5)
|
@@ -2448,7 +2462,7 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
|
|
2448
2462
|
await worker_sleep(2)
|
2449
2463
|
main_window.close()
|
2450
2464
|
except Exception as e:
|
2451
|
-
console.print(f"Erro ao fechar a janela de pre venda {e}")
|
2465
|
+
console.print(f"Erro ao fechar a janela de dados faturamento pre venda {e}")
|
2452
2466
|
|
2453
2467
|
|
2454
2468
|
except Exception as e:
|
@@ -42,7 +42,7 @@ worker_automate_hub/tasks/jobs/cte_manual.py,sha256=JucHpRMjMiy-QEJ0wtFnytLpN53t
|
|
42
42
|
worker_automate_hub/tasks/jobs/descartes.py,sha256=2zODOekSJSr7nuO9sUzT_F3YeG7N5EHuxnp05RguirE,41361
|
43
43
|
worker_automate_hub/tasks/jobs/despesas_cte.py,sha256=TWbjBMZjYDugiqYUa_1DtCAUWOyVetoZI2SPs7AdDNc,13264
|
44
44
|
worker_automate_hub/tasks/jobs/devolucao_ctf.py,sha256=A41O9a6kVUweUBy7Lc2dpJoeAi8QYxu-pMc8u-g0yTg,110241
|
45
|
-
worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=
|
45
|
+
worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=TIUPj1htOWdk2Ru3naOYUuzVND7PQeuiPNGV2vGN7k0,235645
|
46
46
|
worker_automate_hub/tasks/jobs/ecac_estadual_go.py,sha256=dKkf22nH5gp3RErq5u0UzRsKyJ81fc6ZZ4vLtUuMwHA,21002
|
47
47
|
worker_automate_hub/tasks/jobs/ecac_estadual_main.py,sha256=8WmKe4-MRtzHobXz2S4YBDNN8alfawkC-BBlRY-mn1g,1726
|
48
48
|
worker_automate_hub/tasks/jobs/ecac_estadual_mt.py,sha256=C26zmpGQGUq6sP9lU9nanM3Fje-rkyx5tjwmRy4lyL8,25300
|
@@ -85,7 +85,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
|
|
85
85
|
worker_automate_hub/utils/util.py,sha256=sadsyNEdhkhMHU2jVdDCJK59kHd4TWVDmmfQ62gc5Q8,182626
|
86
86
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=wmnpuOesmPSryZszmapa37b9YNC0E2MkeDYnbwr-0rU,33315
|
87
87
|
worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
|
88
|
-
worker_automate_hub-0.5.
|
89
|
-
worker_automate_hub-0.5.
|
90
|
-
worker_automate_hub-0.5.
|
91
|
-
worker_automate_hub-0.5.
|
88
|
+
worker_automate_hub-0.5.324.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
89
|
+
worker_automate_hub-0.5.324.dist-info/METADATA,sha256=lwIFZYBmKT62MSbYpPrXf-BLxUi1xX3Iye_J_lL0TBc,3041
|
90
|
+
worker_automate_hub-0.5.324.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
91
|
+
worker_automate_hub-0.5.324.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.5.323.dist-info → worker_automate_hub-0.5.324.dist-info}/entry_points.txt
RENAMED
File without changes
|