forked from elmau/empresa-libre
Fix - Issue #40
This commit is contained in:
parent
0e7db2b711
commit
7a88c4b97f
|
@ -1,3 +1,8 @@
|
||||||
|
v 1.45.3 [23-Ene-2022]
|
||||||
|
----------------------
|
||||||
|
- Error: El enviar por correo CFDI de pago. Ticket #40
|
||||||
|
|
||||||
|
|
||||||
v 1.45.2 [21-Ene-2022]
|
v 1.45.2 [21-Ene-2022]
|
||||||
----------------------
|
----------------------
|
||||||
- Error: Al cancelar un CFDI
|
- Error: Al cancelar un CFDI
|
||||||
|
|
|
@ -765,9 +765,9 @@ def get_pac_by_rfc(cfdi):
|
||||||
def _cancel_with_cert(invoice, args, auth, certificado):
|
def _cancel_with_cert(invoice, args, auth, certificado):
|
||||||
cert = SATCertificate(certificado.cer, certificado.key_enc.encode())
|
cert = SATCertificate(certificado.cer, certificado.key_enc.encode())
|
||||||
pac = PACS[auth['pac']]()
|
pac = PACS[auth['pac']]()
|
||||||
# ~ info = {'cer': cert.cer_pem, 'key': cert.key_pem, 'pass': '', 'args': args}
|
info = {'cer': cert.cer_pem, 'key': cert.key_pem, 'pass': '', 'args': args}
|
||||||
info = {'cer': cert.cer_pem, 'key': cert.key_pem,
|
# ~ info = {'cer': cert.cer_pem, 'key': cert.key_pem,
|
||||||
'key_enc': cert._key_der, 'pass': cert._p, 'args': args}
|
# ~ 'key_enc': cert._key_der, 'pass': cert._p, 'args': args}
|
||||||
|
|
||||||
result = pac.cancel(invoice.xml, info, auth)
|
result = pac.cancel(invoice.xml, info, auth)
|
||||||
if pac.error:
|
if pac.error:
|
||||||
|
|
|
@ -42,7 +42,7 @@ except ImportError:
|
||||||
|
|
||||||
|
|
||||||
DEBUG = DEBUG
|
DEBUG = DEBUG
|
||||||
VERSION = '1.45.2'
|
VERSION = '1.45.3'
|
||||||
EMAIL_SUPPORT = ('soporte@empresalibre.mx',)
|
EMAIL_SUPPORT = ('soporte@empresalibre.mx',)
|
||||||
TITLE_APP = '{} v{}'.format(TITLE_APP, VERSION)
|
TITLE_APP = '{} v{}'.format(TITLE_APP, VERSION)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue