worker-automate-hub 0.5.658__py3-none-any.whl → 0.5.659__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.
Potentially problematic release.
This version of worker-automate-hub might be problematic. Click here for more details.
- worker_automate_hub/tasks/jobs/lancamento_pis_cofins.py +24 -0
- {worker_automate_hub-0.5.658.dist-info → worker_automate_hub-0.5.659.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.658.dist-info → worker_automate_hub-0.5.659.dist-info}/RECORD +5 -5
- {worker_automate_hub-0.5.658.dist-info → worker_automate_hub-0.5.659.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.658.dist-info → worker_automate_hub-0.5.659.dist-info}/entry_points.txt +0 -0
|
@@ -350,7 +350,31 @@ async def lancamento_pis_cofins(task: RpaProcessoEntradaDTO) -> RpaRetornoProces
|
|
|
350
350
|
tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)],
|
|
351
351
|
)
|
|
352
352
|
|
|
353
|
+
await worker_sleep(10)
|
|
354
|
+
# Verificar se já existe registro no mês apurado
|
|
355
|
+
try:
|
|
356
|
+
selecionar_todos_itens = (
|
|
357
|
+
ASSETS_PATH + "\\lancamento_pis_cofins\\ja_existe_periodo.png"
|
|
358
|
+
)
|
|
359
|
+
# Tenta localizar a imagem na tela
|
|
360
|
+
localizacao = pyautogui.locateOnScreen(
|
|
361
|
+
selecionar_todos_itens, confidence=0.9
|
|
362
|
+
)
|
|
363
|
+
await worker_sleep(3)
|
|
364
|
+
if localizacao:
|
|
365
|
+
app = Application().connect(title="Informação", timeout=120)
|
|
366
|
+
main_window = app["Informação"]
|
|
367
|
+
main_window.set_focus()
|
|
368
|
+
informacao = main_window.child_window(title="OK")
|
|
369
|
+
informacao.click()
|
|
370
|
+
console.print("Clique realizado com sucesso!")
|
|
371
|
+
else:
|
|
372
|
+
console.print("Imagem não encontrada na tela.")
|
|
373
|
+
except:
|
|
374
|
+
pass
|
|
375
|
+
|
|
353
376
|
console.print(f"Abrindo a janela de Otimizador cálculo PIS/COFINS...")
|
|
377
|
+
|
|
354
378
|
try:
|
|
355
379
|
type_text_into_field(
|
|
356
380
|
"Otimizador Cálculo PIS/COFINS",
|
|
@@ -79,7 +79,7 @@ worker_automate_hub/tasks/jobs/geracao_aprovacao_pedidos.py,sha256=QzK2aG5d9pmFb
|
|
|
79
79
|
worker_automate_hub/tasks/jobs/geracao_aprovacao_pedidos_novo.py,sha256=5-wn583Cm0_NJ3TcVpYcurBTRxgwW6MU8WqaYawLS2k,21345
|
|
80
80
|
worker_automate_hub/tasks/jobs/integracao_contabil.py,sha256=psoIU0tjtTJq2W8aGXjXrfkAOYlIpUtHZyNolI7dp-0,16263
|
|
81
81
|
worker_automate_hub/tasks/jobs/integracao_contabil_generica.py,sha256=qIuWvouE88GooP57tRHmwfFV-2PcboJaErQo1VLolf8,21520
|
|
82
|
-
worker_automate_hub/tasks/jobs/lancamento_pis_cofins.py,sha256=
|
|
82
|
+
worker_automate_hub/tasks/jobs/lancamento_pis_cofins.py,sha256=83vFk02exN3UOZFlCevezlufkBIeoxcSK6tkQ1vFAro,38885
|
|
83
83
|
worker_automate_hub/tasks/jobs/lancamento_rateio.py,sha256=0cvbpuJiHl5mca5gpZudX7uQY5Rqe5xzwt6juQcMhjo,15875
|
|
84
84
|
worker_automate_hub/tasks/jobs/login_emsys.py,sha256=dO9S027qRTtjOfytF6IWO-m6hDld8kZqOVAsn91l1YA,5684
|
|
85
85
|
worker_automate_hub/tasks/jobs/login_emsys_versao_especifica.py,sha256=_6CFh79eaW9KdPGR6FMV01ASPjJzNzzBK1MvC_uiSOo,5625
|
|
@@ -98,7 +98,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
|
|
|
98
98
|
worker_automate_hub/utils/util.py,sha256=GJvJdRil1DLVgZFgGg2n_WI3UKoy-xVmXF3IIefW59I,206009
|
|
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.
|
|
102
|
-
worker_automate_hub-0.5.
|
|
103
|
-
worker_automate_hub-0.5.
|
|
104
|
-
worker_automate_hub-0.5.
|
|
101
|
+
worker_automate_hub-0.5.659.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
|
102
|
+
worker_automate_hub-0.5.659.dist-info/METADATA,sha256=NmmQsDbk06WVjreFVQsGB3jxnqIyUBGU4xMhrOkBQRU,3049
|
|
103
|
+
worker_automate_hub-0.5.659.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
104
|
+
worker_automate_hub-0.5.659.dist-info/RECORD,,
|
|
File without changes
|
{worker_automate_hub-0.5.658.dist-info → worker_automate_hub-0.5.659.dist-info}/entry_points.txt
RENAMED
|
File without changes
|