From 39a64f14371a42bae245aef2861d69ac0aa735b1 Mon Sep 17 00:00:00 2001 From: Mauricio Baeza Date: Wed, 24 Jan 2018 22:07:30 -0600 Subject: [PATCH] Quitar validacion cliente especial --- source/app/main.py | 1 + source/app/models/main.py | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/source/app/main.py b/source/app/main.py index 50ce137..1f96e84 100644 --- a/source/app/main.py +++ b/source/app/main.py @@ -61,6 +61,7 @@ session_options = { 'session.type': 'file', 'session.cookie_expires': True, 'session.httponly': True, + 'session.secure': True, 'session.data_dir': PATH_SESSIONS['data'], 'session.lock_dir': PATH_SESSIONS['lock'], } diff --git a/source/app/models/main.py b/source/app/models/main.py index e7a0143..5fe3bd4 100644 --- a/source/app/models/main.py +++ b/source/app/models/main.py @@ -5467,10 +5467,6 @@ def _importar_facturas(rows): detalles = row.pop('detalles') impuestos = row.pop('impuestos') cliente = row.pop('cliente') - - if cliente['rfc'] == 'VSM960610AC0': - cliente['slug'] = 'vf_servicios_mexicana,_s.a._de_c.v.' - row['cliente'] = Socios.get(**cliente) with database_proxy.atomic() as txn: if _existe_factura(row):