worker-automate-hub 0.5.88__py3-none-any.whl → 0.5.89__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 +11 -9
- worker_automate_hub/utils/util.py +3 -2
- {worker_automate_hub-0.5.88.dist-info → worker_automate_hub-0.5.89.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.88.dist-info → worker_automate_hub-0.5.89.dist-info}/RECORD +6 -6
- {worker_automate_hub-0.5.88.dist-info → worker_automate_hub-0.5.89.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.88.dist-info → worker_automate_hub-0.5.89.dist-info}/entry_points.txt +0 -0
@@ -826,8 +826,8 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
|
|
826
826
|
console.print("Aguardando pop de operacação concluida \n")
|
827
827
|
while i < max_attempts:
|
828
828
|
try:
|
829
|
-
app = Application().connect(class_name="
|
830
|
-
main_window = app["
|
829
|
+
app = Application().connect(class_name="TFrmProcessamentoNFe2", timeout=10)
|
830
|
+
main_window = app["TFrmProcessamentoNFe2"]
|
831
831
|
|
832
832
|
await worker_sleep(5)
|
833
833
|
information_pop_up = await is_window_open_by_class("TMessageForm", "TMessageForm")
|
@@ -840,9 +840,9 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
|
|
840
840
|
btn_ok = information_operacao_concluida.child_window(class_name="TButton")
|
841
841
|
btn_ok.click()
|
842
842
|
await worker_sleep(4)
|
843
|
-
main_window.close()
|
844
843
|
except:
|
845
844
|
pyautogui.press('enter')
|
845
|
+
await worker_sleep(4)
|
846
846
|
break
|
847
847
|
else:
|
848
848
|
retorno = f"Pop up nao mapeado para seguimento do robo {msg_pop_up} \nEtapas Executadas:\n{steps}"
|
@@ -880,16 +880,18 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
|
|
880
880
|
|
881
881
|
|
882
882
|
console.print("Verificando se a nota foi transmitida com sucesso")
|
883
|
-
app = Application().connect(class_name="
|
884
|
-
main_window = app["
|
883
|
+
app = Application().connect(class_name="TFrmProcessamentoNFe2", timeout=15)
|
884
|
+
main_window = app["TFrmProcessamentoNFe2"]
|
885
885
|
main_window.set_focus()
|
886
886
|
|
887
|
-
|
887
|
+
tpanel_footer = main_window.child_window(class_name="TGroupBox", found_index=0)
|
888
|
+
|
889
|
+
rect = tpanel_footer.rectangle()
|
888
890
|
center_x = (rect.left + rect.right) // 2
|
889
891
|
center_y = (rect.top + rect.bottom) // 2
|
890
892
|
|
891
|
-
|
892
|
-
double_click(coords=(center_x,
|
893
|
+
pyautogui.moveTo(center_x, center_y)
|
894
|
+
double_click(coords=(center_x, center_y))
|
893
895
|
|
894
896
|
with pyautogui.hold('ctrl'):
|
895
897
|
pyautogui.press('c')
|
@@ -907,7 +909,7 @@ async def devolucao_prazo_a_faturar(task: RpaProcessoEntradaDTO) -> RpaRetornoPr
|
|
907
909
|
main_window.close()
|
908
910
|
else:
|
909
911
|
get_error_msg = await get_text_display_window(pop_up_status)
|
910
|
-
console.print(f"
|
912
|
+
console.print(f"Mensagem Rejeição: {get_error_msg}")
|
911
913
|
retorno = f"Erro ao transmitir, mensagem de rejeição {get_error_msg} \nEtapas Executadas:\n{steps}"
|
912
914
|
return RpaRetornoProcessoDTO(
|
913
915
|
sucesso=False,
|
@@ -3806,11 +3806,12 @@ async def gerenciador_nf_header(periodo: str, cod_cliente: str) -> RpaRetornoPro
|
|
3806
3806
|
|
3807
3807
|
console.print("Verificando a situação...\n")
|
3808
3808
|
situacao_text = situacao_select.window_text()
|
3809
|
-
if "
|
3809
|
+
if "XPTO" in situacao_text.lower():
|
3810
3810
|
console.print("Situação corretamente selecionada...\n")
|
3811
3811
|
else:
|
3812
3812
|
situacao_select.click()
|
3813
|
-
set_combobox("||List", "
|
3813
|
+
set_combobox("||List", "Todas")
|
3814
|
+
#set_combobox("||List", "Não Transmitida")
|
3814
3815
|
|
3815
3816
|
console.print("Inserindo o codigo do cliente...\n")
|
3816
3817
|
field_cod_cliente.click()
|
@@ -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=
|
41
|
+
worker_automate_hub/tasks/jobs/devolucao_prazo_a_faturar.py,sha256=BfX6N-L8wYW9xpwfPk2L6G5jYhlqT5NWrRUFfMR17Rk,86806
|
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
|
@@ -74,10 +74,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1
|
|
74
74
|
worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
|
75
75
|
worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
|
76
76
|
worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
|
77
|
-
worker_automate_hub/utils/util.py,sha256=
|
77
|
+
worker_automate_hub/utils/util.py,sha256=g0wcqb9m9Xd-SI4-FP-UODu0qxP_FUa-2uA147Zm1dU,162342
|
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.
|
81
|
-
worker_automate_hub-0.5.
|
82
|
-
worker_automate_hub-0.5.
|
83
|
-
worker_automate_hub-0.5.
|
80
|
+
worker_automate_hub-0.5.89.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
81
|
+
worker_automate_hub-0.5.89.dist-info/METADATA,sha256=ZAm6ZEqvFquHPmnr1rrhbaUOpnGQ6bsvFY7wDJVdwPk,2894
|
82
|
+
worker_automate_hub-0.5.89.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
83
|
+
worker_automate_hub-0.5.89.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.5.88.dist-info → worker_automate_hub-0.5.89.dist-info}/entry_points.txt
RENAMED
File without changes
|