Fix - al importar de Factura Libre
This commit is contained in:
parent
d3afe55eef
commit
c314268b35
|
@ -2223,6 +2223,10 @@ class ImportFacturaLibre(object):
|
|||
rfc = node.attrib['rfc']
|
||||
nombre = node.attrib['nombre']
|
||||
|
||||
# ~ Validaciones especiales
|
||||
if rfc == 'CPE920117QAA':
|
||||
nombre = 'COMERCIALIZADORA PECOLLA SA DE CV'
|
||||
|
||||
tipo_persona = 1
|
||||
if rfc == 'XEXX010101000':
|
||||
tipo_persona = 4
|
||||
|
|
|
@ -4348,9 +4348,10 @@ def test_correo(values):
|
|||
'usuario': values['correo_usuario'],
|
||||
'contra': values['correo_contra'],
|
||||
}
|
||||
ccp = values.get('correo_copia', '')
|
||||
options = {
|
||||
'para': values['correo_usuario'],
|
||||
'copia': values['correo_copia'],
|
||||
'copia': ccp,
|
||||
'asunto': values['correo_asunto'],
|
||||
'mensaje': values['correo_mensaje'].replace('\n', '<br/>'),
|
||||
'files': [],
|
||||
|
|
Loading…
Reference in New Issue