worker-automate-hub 0.5.72__py3-none-any.whl → 0.5.73__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/devolucao_prazo_a_faturar.py +8 -18
- worker_automate_hub/tasks/jobs/entrada_de_notas_16.py +7 -0
- {worker_automate_hub-0.5.72.dist-info → worker_automate_hub-0.5.73.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.72.dist-info → worker_automate_hub-0.5.73.dist-info}/RECORD +6 -6
- {worker_automate_hub-0.5.72.dist-info → worker_automate_hub-0.5.73.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.72.dist-info → worker_automate_hub-0.5.73.dist-info}/entry_points.txt +0 -0
@@ -508,28 +508,20 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
|
|
508
508
|
main_window.set_focus()
|
509
509
|
|
510
510
|
# ITERAGINDO COM O IPI
|
511
|
-
tpage_ipi = main_window.child_window(
|
512
|
-
|
513
|
-
)
|
514
|
-
ipi = tpage_ipi.child_window(
|
515
|
-
class_name="TDBIComboBox", found_index=2
|
516
|
-
)
|
517
|
-
|
511
|
+
tpage_ipi = main_window.child_window(class_name="TPanel", found_index=0)
|
512
|
+
ipi = tpage_ipi.child_window(class_name="TDBIComboBox", found_index=2)
|
518
513
|
ipi_value = ipi.window_text()
|
519
514
|
|
520
|
-
console.print(
|
521
|
-
f"Trabalhando com os itens, valor do IP {ipi_value}... \n"
|
522
|
-
)
|
515
|
+
console.print(f"Trabalhando com os itens, valor do IP {ipi_value}... \n")
|
523
516
|
if "IPI - ENTRADAS OUTROS" in ipi_value:
|
524
517
|
console.print(f"IPI Corretamente selecionado ... \n")
|
525
518
|
else:
|
526
|
-
console.print(
|
527
|
-
f"Trabalhando com os itens, valor do IP em branco, selecionando IPI 0% ... \n"
|
528
|
-
)
|
519
|
+
console.print(f"Trabalhando com os itens, valor do IP em branco, selecionando IPI 0% ... \n")
|
529
520
|
ipi.click_input()
|
530
521
|
send_keys("^({HOME})")
|
531
|
-
send_keys("{DOWN 6}")
|
532
|
-
|
522
|
+
#send_keys("{DOWN 6}")
|
523
|
+
set_combobox("||List", "IPI - ENTRADAS OUTROS")
|
524
|
+
#send_keys("{ENTER}")
|
533
525
|
|
534
526
|
await worker_sleep(4)
|
535
527
|
tpage_ipi = main_window.child_window(
|
@@ -542,9 +534,7 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
|
|
542
534
|
ipi_value = ipi.window_text()
|
543
535
|
|
544
536
|
if "IPI - ENTRADAS OUTROS" in ipi_value:
|
545
|
-
console.print(
|
546
|
-
f"Trabalhando com os itens, sucesso ao selecionar o valor do IPI ... \n"
|
547
|
-
)
|
537
|
+
console.print(f"Trabalhando com os itens, sucesso ao selecionar o valor do IPI ... \n")
|
548
538
|
else:
|
549
539
|
return RpaRetornoProcessoDTO(
|
550
540
|
sucesso=False,
|
@@ -407,6 +407,13 @@ async def entrada_de_notas_16(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
|
|
407
407
|
|
408
408
|
except Exception as e:
|
409
409
|
try:
|
410
|
+
if status_nf_emsys.get("status") == "Lançada":
|
411
|
+
console.print("\nNota lançada com sucesso, processo finalizado...", style="bold green")
|
412
|
+
return RpaRetornoProcessoDTO(
|
413
|
+
sucesso=True,
|
414
|
+
retorno="Nota Lançada com sucesso!",
|
415
|
+
status=RpaHistoricoStatusEnum.Sucesso,
|
416
|
+
)
|
410
417
|
alterar_nop_result = await emsys.alterar_nop(nota.get("cfop"), nota.get("nfe"))
|
411
418
|
if alterar_nop_result:
|
412
419
|
await worker_sleep(5)
|
@@ -37,7 +37,7 @@ worker_automate_hub/tasks/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
37
37
|
worker_automate_hub/tasks/jobs/coleta_dje_process.py,sha256=UkLWTC5Ub2qBb0yY-8IZ0DLLOVJOfNTq_z9krx_t25Q,29476
|
38
38
|
worker_automate_hub/tasks/jobs/conexao_rdp.py,sha256=S6QC4xhuo0pB5FjaUJZNMm1LIgEjpjifReCTBDqxH-U,11719
|
39
39
|
worker_automate_hub/tasks/jobs/descartes.py,sha256=0bMCJ0xIcK8TLSgjF6taAbGFLMU-sGDVFIhUYSRtrbg,41092
|
40
|
-
worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=
|
40
|
+
worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=6FeNzgUBeOR3EK-6mmuPFpNu-N8pPDkrv-BCgDgL-LM,79663
|
41
41
|
worker_automate_hub/tasks/jobs/ecac_estadual_go.py,sha256=dKkf22nH5gp3RErq5u0UzRsKyJ81fc6ZZ4vLtUuMwHA,21002
|
42
42
|
worker_automate_hub/tasks/jobs/ecac_estadual_main.py,sha256=8WmKe4-MRtzHobXz2S4YBDNN8alfawkC-BBlRY-mn1g,1726
|
43
43
|
worker_automate_hub/tasks/jobs/ecac_estadual_mt.py,sha256=C26zmpGQGUq6sP9lU9nanM3Fje-rkyx5tjwmRy4lyL8,25300
|
@@ -45,7 +45,7 @@ worker_automate_hub/tasks/jobs/ecac_estadual_sc.py,sha256=fZD67poalpANlbJoMgnAvO
|
|
45
45
|
worker_automate_hub/tasks/jobs/ecac_estadual_sp.py,sha256=AqSsn0SlK_nok4AhMCNUlApQ-LwHYNXeUwOrMLyWmNU,29418
|
46
46
|
worker_automate_hub/tasks/jobs/ecac_federal.py,sha256=VFOrbMuMHL3ac1sJ-z-N1p1WYtP-e-JJHbvUfgmfgNw,55748
|
47
47
|
worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=VtH8ynIzplaAEPZIyRb3dypOZlSNCeXrL6cM1UJhGcw,16844
|
48
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=
|
48
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=hnbNl0ORHSvQ4DJdO3zQKx06uCr5EhB3nMwQDdQlaVo,23016
|
49
49
|
worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=pZfHjjghpG1vwysPo9vJAQORZp_LOQz9Jrreq9uiym4,25640
|
50
50
|
worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=c3_70gNioTJQ2PUXhcEHoIIRKmlNeKfW4ayFfkNddhE,34070
|
51
51
|
worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=NQO0LFdw_EomNd-go3_U8IhN517pyh2VlZdEzhXGFGw,32922
|
@@ -76,7 +76,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
|
|
76
76
|
worker_automate_hub/utils/util.py,sha256=_uPyZOzb8puEKXUmcFkaf7HesJBs8yITRQkOqViyugU,161430
|
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.73.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
80
|
+
worker_automate_hub-0.5.73.dist-info/METADATA,sha256=FpBnm8uKb1NCQVcFyUOWbKMURmCu9hXtEEtIYVIFpe0,2894
|
81
|
+
worker_automate_hub-0.5.73.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
82
|
+
worker_automate_hub-0.5.73.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.5.72.dist-info → worker_automate_hub-0.5.73.dist-info}/entry_points.txt
RENAMED
File without changes
|