worker-automate-hub 0.4.390__py3-none-any.whl → 0.4.392__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/entrada_de_notas_9.py +1 -1
- worker_automate_hub/tasks/jobs/sped_fiscal.py +4 -16
- {worker_automate_hub-0.4.390.dist-info → worker_automate_hub-0.4.392.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.4.390.dist-info → worker_automate_hub-0.4.392.dist-info}/RECORD +6 -6
- {worker_automate_hub-0.4.390.dist-info → worker_automate_hub-0.4.392.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.4.390.dist-info → worker_automate_hub-0.4.392.dist-info}/entry_points.txt +0 -0
@@ -664,8 +664,8 @@ async def entrada_de_notas_9(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoD
|
|
664
664
|
match = re.search(pattern, nota.get("recebimentoFisico"))
|
665
665
|
recebimento_fisico = match.group(1) if match else None
|
666
666
|
recebimento_fisico = datetime.strptime(recebimento_fisico, "%d/%m/%Y")
|
667
|
-
recebimento_fisico = recebimento_fisico.strftime("%d/%m/%Y")
|
668
667
|
if recebimento_fisico > dt_emissao + timedelta(days=2):
|
668
|
+
recebimento_fisico = recebimento_fisico.strftime("%d/%m/%Y")
|
669
669
|
console.print(f"Informando a data de vencimento, {recebimento_fisico}... \n")
|
670
670
|
data_vencimento = recebimento_fisico
|
671
671
|
else:
|
@@ -246,25 +246,13 @@ async def sped_fiscal(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoDTO:
|
|
246
246
|
)
|
247
247
|
|
248
248
|
|
249
|
-
await worker_sleep(
|
249
|
+
await worker_sleep(7)
|
250
250
|
console.print(f"Verificando sem possui o pop-up de Registro de Entrada... \n")
|
251
|
-
|
252
|
-
if
|
253
|
-
console.print(f"Pop-up existe, clicando em Sim... \n")
|
254
|
-
app = Application(backend="win32").connect(class_name="TMsgBox", timeout=30)
|
255
|
-
main_window = app["TMsgBox"]
|
256
|
-
btn_sim = main_window["Sim"]
|
257
|
-
if btn_sim.exists():
|
258
|
-
try:
|
259
|
-
btn_sim.click()
|
260
|
-
await worker_sleep(3)
|
261
|
-
console.print("O botão Sim, na tela de Registro de Entrada foi clicado com sucesso.", style="green")
|
262
|
-
except:
|
263
|
-
console.print("Falha ao clicar no botão Sim na tela de Registro de Entrada", style="red")
|
264
|
-
else:
|
251
|
+
registro_entrada_pop_up_title = await is_window_open("Registro de Entrada")
|
252
|
+
if registro_entrada_pop_up_title["IsOpened"] == True:
|
265
253
|
return RpaRetornoProcessoDTO(
|
266
254
|
sucesso=False,
|
267
|
-
retorno=f"Erro:
|
255
|
+
retorno=f"Erro: Livro Fiscal de Registro de Entrada não foi gerado ou não está confirmado para a empresa.",
|
268
256
|
status=RpaHistoricoStatusEnum.Falha,
|
269
257
|
)
|
270
258
|
|
@@ -48,13 +48,13 @@ worker_automate_hub/tasks/jobs/entrada_de_notas_39.py,sha256=XkSEe6Y2S5Zf8Eq619d
|
|
48
48
|
worker_automate_hub/tasks/jobs/entrada_de_notas_500.py,sha256=ryl5AZ2617aROSVcS-N5wQIBlFQ1Bp0khUH9fP4DOzU,26542
|
49
49
|
worker_automate_hub/tasks/jobs/entrada_de_notas_505.py,sha256=jIml8gjXPdI6_x7S9VVV8IrKZRF7_PTNOMnhNmYMDTU,14490
|
50
50
|
worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=8XP9G3n0PUeshbRWkWKOMnyUGRWspIolPZVqQTR3SMI,14184
|
51
|
-
worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=
|
51
|
+
worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=GJKWDR2f5K4WUDo7MPpMRMX2NUlbLBrjPycCGXAaMJI,43760
|
52
52
|
worker_automate_hub/tasks/jobs/exemplo_processo.py,sha256=3-zxbb-9YHPmSA_K1Qgxp_FwSqg2QDjGBRCLxDZ8QoQ,3451
|
53
53
|
worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py,sha256=Y-mKYcgX1kwcy_sOHvctn7clXnY3O3fohvOs7tKPMkM,9484
|
54
54
|
worker_automate_hub/tasks/jobs/fidc_remessa_cobranca_cnab240.py,sha256=QBGm6eS5JghgNWNqZlk1g2a2iV8LnBLiOTBBL3Giet0,4181
|
55
55
|
worker_automate_hub/tasks/jobs/login_emsys.py,sha256=IoGCIvO4UwmuxOZEn3cvYJlKyhsWvtHvbFk8vwjTroQ,5620
|
56
56
|
worker_automate_hub/tasks/jobs/playground.py,sha256=bdnXv3C7WLQUxt4edGZDfAbRJJ2-q4zuIQaK3GLnaUc,1765
|
57
|
-
worker_automate_hub/tasks/jobs/sped_fiscal.py,sha256=
|
57
|
+
worker_automate_hub/tasks/jobs/sped_fiscal.py,sha256=RM0O2B-4qtmjtVLfEy76q7tosD4VA-euI319oYbTi6I,19417
|
58
58
|
worker_automate_hub/tasks/jobs/transferencias.py,sha256=keCUlvbPhLrTiZQ9Co_r6IqL5wjYqVGB_-mgvdDe9pM,36080
|
59
59
|
worker_automate_hub/tasks/task_definitions.py,sha256=2Jp1H4_qJZqqGyaP6MA87KLt4QNrtWBYWbXu-2gymFo,4459
|
60
60
|
worker_automate_hub/tasks/task_executor.py,sha256=eXFgWbcM8aMPwENvNix8KyFv7BqvIwhXUDkBSI1ul7M,8873
|
@@ -67,7 +67,7 @@ worker_automate_hub/utils/updater.py,sha256=0LR6Xpe3HZk-xu-trH7vKRhP5FXp0nhp1qxt
|
|
67
67
|
worker_automate_hub/utils/util.py,sha256=YCbgMMBwhp9LD6NUmE5S2K6S12TNEpGJm25FqfsIKPE,119544
|
68
68
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=GsvN7XMWAmCFHqC0YMZsjsb0myL-7ahuzHN4jPNn0zc,27623
|
69
69
|
worker_automate_hub/worker.py,sha256=vkl_x7gSo6nQlhSBLwRkGx6LEONnYptfBaGxOy1ZLsE,4634
|
70
|
-
worker_automate_hub-0.4.
|
71
|
-
worker_automate_hub-0.4.
|
72
|
-
worker_automate_hub-0.4.
|
73
|
-
worker_automate_hub-0.4.
|
70
|
+
worker_automate_hub-0.4.392.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
71
|
+
worker_automate_hub-0.4.392.dist-info/METADATA,sha256=5TnKQMWgNUIa00xbJewLZrY-lG_RHonvY5UadWA3WDI,2895
|
72
|
+
worker_automate_hub-0.4.392.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
73
|
+
worker_automate_hub-0.4.392.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.4.390.dist-info → worker_automate_hub-0.4.392.dist-info}/entry_points.txt
RENAMED
File without changes
|