worker-automate-hub 0.5.683__py3-none-any.whl → 0.5.685__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.
@@ -570,6 +570,8 @@ async def abertura_livros_fiscais(task: RpaProcessoEntradaDTO) -> RpaRetornoProc
570
570
  else:
571
571
  console.print("Imagem gerar relatório não encontrada na tela.")
572
572
 
573
+ await worker_sleep(4)
574
+
573
575
  ##### Janela Gerar Registro ####
574
576
  console.print("Confirmar Registro")
575
577
  app = Application().connect(class_name="TMsgBox", timeout=60)
@@ -16,6 +16,9 @@ import pytesseract
16
16
  from pywinauto.application import Application
17
17
  from pywinauto_recorder.player import set_combobox
18
18
  from rich.console import Console
19
+ import sys
20
+
21
+ # sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "..")))
19
22
 
20
23
  from worker_automate_hub.api.ahead_service import save_xml_to_downloads
21
24
  from worker_automate_hub.api.client import (
@@ -583,12 +586,20 @@ async def entrada_de_notas_16(task: RpaProcessoEntradaDTO) -> RpaRetornoProcesso
583
586
  await worker_sleep(10)
584
587
  await emsys.percorrer_grid(cnpj)
585
588
  await emsys.select_tipo_cobranca()
589
+ valor_str = nota.get("valorNota")
590
+ if valor_str:
591
+ valor_str = valor_str.replace('.', '').replace(',', '.')
592
+ valor_nota = float(valor_str)
593
+ else:
594
+ valor_nota = None
595
+
586
596
  await emsys.inserir_vencimento_e_valor(
587
597
  nota.get("nomeFornecedor"),
588
598
  nota.get("dataEmissao"),
589
599
  nota.get("dataVencimento"),
590
- nota.get("valorNota"),
600
+ valor_nota,
591
601
  )
602
+
592
603
  await worker_sleep(5)
593
604
  try:
594
605
  retorno = await emsys.incluir_registro(chave_nfe=nota.get("nfe"))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.683
3
+ Version: 0.5.685
4
4
  Summary: Worker Automate HUB é uma aplicação para automatizar rotinas de RPA nos ambientes Argenta.
5
5
  Author: Joel Paim
6
6
  Requires-Python: >=3.12,<4.0
@@ -36,7 +36,7 @@ worker_automate_hub/models/dto/rpa_sap_dto.py,sha256=eovdvKCtVIhRct3PL98KjsdlngL
36
36
  worker_automate_hub/models/dto/rpa_sistema_dto.py,sha256=sLkmJei8x6sl-1-IXUKDmYQuKx0sotYQREPyhQqPmRg,161
37
37
  worker_automate_hub/tasks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  worker_automate_hub/tasks/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
- worker_automate_hub/tasks/jobs/abertura_livros_fiscais.py,sha256=jSNt8SQdZQ6Boe9GOl_1yQWdNjJ37GRl5ADqa6RlWcY,29789
39
+ worker_automate_hub/tasks/jobs/abertura_livros_fiscais.py,sha256=vQzGu_M3gBXx7zAEFAT6FSogcmcDQUDsZGbFi-j1PYk,29826
40
40
  worker_automate_hub/tasks/jobs/coleta_dje_process.py,sha256=UkLWTC5Ub2qBb0yY-8IZ0DLLOVJOfNTq_z9krx_t25Q,29476
41
41
  worker_automate_hub/tasks/jobs/conexao_rdp.py,sha256=S6QC4xhuo0pB5FjaUJZNMm1LIgEjpjifReCTBDqxH-U,11719
42
42
  worker_automate_hub/tasks/jobs/cte_manual.py,sha256=JucHpRMjMiy-QEJ0wtFnytLpN53tKXgCDI05nGLGclU,603
@@ -54,7 +54,7 @@ worker_automate_hub/tasks/jobs/ecac_federal.py,sha256=VFOrbMuMHL3ac1sJ-z-N1p1WYt
54
54
  worker_automate_hub/tasks/jobs/entrada_cte_1353.py,sha256=knwPbjZZsnvHKurs7O7gv7bFpQIAmv4qPB1rZa3zBsY,12102
55
55
  worker_automate_hub/tasks/jobs/entrada_cte_333.py,sha256=FvpU_bsdPB2ANQ_i63Jlkdo5yZM4zJdr2mm41KTrJtE,13285
56
56
  worker_automate_hub/tasks/jobs/entrada_de_notas_15.py,sha256=BYmdPLJFZEHD_lVSpuaTDLZrx33ox8Re7QDzXjXDiB8,29524
57
- worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=xVz5bhbAYt1IeXbkYYXG6JvFWZ8Z0-mHOi218evI1So,36829
57
+ worker_automate_hub/tasks/jobs/entrada_de_notas_16.py,sha256=CaYIgX7lO37-D9tr9NrUKJaAdebYi1Bn0VOZNpr4y3I,37159
58
58
  worker_automate_hub/tasks/jobs/entrada_de_notas_207.py,sha256=A5HM2Eh2bGZueVefnQL9KiCWW95j8zX1v2MslgbDcUE,36871
59
59
  worker_automate_hub/tasks/jobs/entrada_de_notas_32.py,sha256=lku233FqwOknXF14HHC6fZ75WubE69Jp32bAUhKPtGQ,34575
60
60
  worker_automate_hub/tasks/jobs/entrada_de_notas_33.py,sha256=ODp82BkWaiF40t6uZLJYxG2nGGnvDyeQBHhkkh9ZgPI,35994
@@ -98,7 +98,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
98
98
  worker_automate_hub/utils/util.py,sha256=xA13nQqZglwkvfAKH18Unv4UoZUyvL58CacSrzUpYTw,206352
99
99
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=L_z1Aps6BFWl-6_Ibm45vDid1S4kFDz5O78N2uO1Rq0,36458
100
100
  worker_automate_hub/worker.py,sha256=axdrr1xLTjWEyWfcyH3OCSpPTsyzck_fL_0u1DBLjvw,6525
101
- worker_automate_hub-0.5.683.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
- worker_automate_hub-0.5.683.dist-info/METADATA,sha256=NmeYFu6JZ_imUpWsOCgDjsF_hkj5jOOJ1-AW6K8CbUU,3049
103
- worker_automate_hub-0.5.683.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
- worker_automate_hub-0.5.683.dist-info/RECORD,,
101
+ worker_automate_hub-0.5.685.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
102
+ worker_automate_hub-0.5.685.dist-info/METADATA,sha256=psthtd_V9Dlnava2lvYawfPO23fD3e0YW5ZTnxbsn3k,3049
103
+ worker_automate_hub-0.5.685.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
104
+ worker_automate_hub-0.5.685.dist-info/RECORD,,