Quitar validacion cliente especial
This commit is contained in:
commit
33b5966a86
|
@ -61,6 +61,7 @@ session_options = {
|
||||||
'session.type': 'file',
|
'session.type': 'file',
|
||||||
'session.cookie_expires': True,
|
'session.cookie_expires': True,
|
||||||
'session.httponly': True,
|
'session.httponly': True,
|
||||||
|
'session.secure': True,
|
||||||
'session.data_dir': PATH_SESSIONS['data'],
|
'session.data_dir': PATH_SESSIONS['data'],
|
||||||
'session.lock_dir': PATH_SESSIONS['lock'],
|
'session.lock_dir': PATH_SESSIONS['lock'],
|
||||||
}
|
}
|
||||||
|
|
|
@ -5467,10 +5467,6 @@ def _importar_facturas(rows):
|
||||||
detalles = row.pop('detalles')
|
detalles = row.pop('detalles')
|
||||||
impuestos = row.pop('impuestos')
|
impuestos = row.pop('impuestos')
|
||||||
cliente = row.pop('cliente')
|
cliente = row.pop('cliente')
|
||||||
|
|
||||||
if cliente['rfc'] == 'VSM960610AC0':
|
|
||||||
cliente['slug'] = 'vf_servicios_mexicana,_s.a._de_c.v.'
|
|
||||||
|
|
||||||
row['cliente'] = Socios.get(**cliente)
|
row['cliente'] = Socios.get(**cliente)
|
||||||
with database_proxy.atomic() as txn:
|
with database_proxy.atomic() as txn:
|
||||||
if _existe_factura(row):
|
if _existe_factura(row):
|
||||||
|
|
Loading…
Reference in New Issue