worker-automate-hub 0.5.90__py3-none-any.whl → 0.5.91__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1042,6 +1042,7 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
1042
1042
  quantidade = item['novaQuantidade']
1043
1043
  preco = item['novoPreco']
1044
1044
  descricao = item['descricao']
1045
+ console.print(quantidade, preco, descricao)
1045
1046
 
1046
1047
  if 'arla' in descricao.lower():
1047
1048
  item_arla = True
@@ -1083,10 +1084,11 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
1083
1084
  app = Application().connect(class_name="TFrmIncluiItemPreVenda", timeout=60)
1084
1085
  main_window = app["TFrmIncluiItemPreVenda"]
1085
1086
  main_window.set_focus()
1086
- panel_TGroup_Box= panel_TPage.child_window(class_name="TPanel", found_index=2)
1087
+ panel_TGroup_Box= main_window.child_window(class_name="TPanel", found_index=2)
1087
1088
  lupa_almoxarifaco = panel_TPage.child_window(class_name="TDBIBitBtn", found_index=1)
1088
1089
  lupa_almoxarifaco.click()
1089
1090
  console.print("Lupa clicado com sucesso inserindo a descrição do almoxarifado...\n")
1091
+ await worker_sleep(2)
1090
1092
 
1091
1093
  app = Application().connect(class_name="TfrmDialogBuscaGeral", timeout=60)
1092
1094
  main_window = app["TfrmDialogBuscaGeral"]
@@ -1107,8 +1109,8 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
1107
1109
  app = Application().connect(class_name="TFrmIncluiItemPreVenda", timeout=60)
1108
1110
  main_window = app["TFrmIncluiItemPreVenda"]
1109
1111
  main_window.set_focus()
1110
- panel_TGroup_Box= panel_TPage.child_window(class_name="TPanel", found_index=2)
1111
- natureza_oper_select = panel_TPage.child_window(class_name="TDBIComboBox", found_index=0)
1112
+ panel_TGroup_Box= main_window.child_window(class_name="TPanel", found_index=2)
1113
+ natureza_oper_select = panel_TGroup_Box.child_window(class_name="TDBIComboBox", found_index=0)
1112
1114
  natureza_oper_select.click()
1113
1115
  await worker_sleep(1)
1114
1116
  set_combobox("||List", "5656 - VENDA DE COMB OU LUB ADQ DE TERCEIRO C/ FIN S/ ESTOQUE")
@@ -1120,7 +1122,7 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
1120
1122
  panel_TPage_Control= main_window.child_window(class_name="TcxPageControl", found_index=0)
1121
1123
  panel_tabSheet = panel_TPage_Control.child_window(class_name="TcxTabSheet", found_index=0)
1122
1124
 
1123
- field_quantidade = panel_tabSheet.child_window(class_name="TDBIEditNumber", found_index=9)
1125
+ field_quantidade = panel_tabSheet.child_window(class_name="TDBIEditNumber", found_index=8)
1124
1126
  console.print("Inserindo a quantidade de Itens...\n")
1125
1127
  field_quantidade.set_edit_text(quantidade)
1126
1128
  await worker_sleep(1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: worker-automate-hub
3
- Version: 0.5.90
3
+ Version: 0.5.91
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
@@ -38,7 +38,7 @@ worker_automate_hub/tasks/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
38
38
  worker_automate_hub/tasks/jobs/coleta_dje_process.py,sha256=UkLWTC5Ub2qBb0yY-8IZ0DLLOVJOfNTq_z9krx_t25Q,29476
39
39
  worker_automate_hub/tasks/jobs/conexao_rdp.py,sha256=S6QC4xhuo0pB5FjaUJZNMm1LIgEjpjifReCTBDqxH-U,11719
40
40
  worker_automate_hub/tasks/jobs/descartes.py,sha256=0bMCJ0xIcK8TLSgjF6taAbGFLMU-sGDVFIhUYSRtrbg,41092
41
- worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=rVmnceZGyEWGPBu0mt0igRcfTT8o76OyXr7Be2lOb4k,87477
41
+ worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=f0dA_EIXKzzoKG1qCbcpjtRMDwdEPhASFxFaZFwF9I0,87598
42
42
  worker_automate_hub/tasks/jobs/ecac_estadual_go.py,sha256=dKkf22nH5gp3RErq5u0UzRsKyJ81fc6ZZ4vLtUuMwHA,21002
43
43
  worker_automate_hub/tasks/jobs/ecac_estadual_main.py,sha256=8WmKe4-MRtzHobXz2S4YBDNN8alfawkC-BBlRY-mn1g,1726
44
44
  worker_automate_hub/tasks/jobs/ecac_estadual_mt.py,sha256=C26zmpGQGUq6sP9lU9nanM3Fje-rkyx5tjwmRy4lyL8,25300
@@ -77,7 +77,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
77
77
  worker_automate_hub/utils/util.py,sha256=HMUXpF3bf0v2ntbols6d8xr-okDcRsnV54WAwLAPpJ0,162317
78
78
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=iYpOs7fb7C3bY61QHySr00xlDNzrrCP0zaexOpBPuaQ,31930
79
79
  worker_automate_hub/worker.py,sha256=CT-poyP1ZYvubArYsnnNd9oJ53SPaDwgr6p6keS3nI4,6248
80
- worker_automate_hub-0.5.90.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
81
- worker_automate_hub-0.5.90.dist-info/METADATA,sha256=OTiRmJX5quu2-Uol6I_V8F8jfefpXTedhg-rL-_1ulE,2894
82
- worker_automate_hub-0.5.90.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
83
- worker_automate_hub-0.5.90.dist-info/RECORD,,
80
+ worker_automate_hub-0.5.91.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
81
+ worker_automate_hub-0.5.91.dist-info/METADATA,sha256=jAFJQsNWegbCX_sJNOUk5CswCJmZK16MApgwefs8lAE,2894
82
+ worker_automate_hub-0.5.91.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
83
+ worker_automate_hub-0.5.91.dist-info/RECORD,,