diff --git a/CHANGELOG.md b/CHANGELOG.md index 121d708..48f7cf4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ v 1.43.0 [12-Dic-2021] - Soporte para multi almacen. - Soporte para regenerar un ticket. - Soporte para movimientos entre almacenes + - Consulta en SAT para estatus de nĂ³mina * IMPORTANTE: diff --git a/source/app/controllers/utils.py b/source/app/controllers/utils.py index 0a8f147..c96ec60 100644 --- a/source/app/controllers/utils.py +++ b/source/app/controllers/utils.py @@ -682,7 +682,8 @@ def _cancel_with_cert(invoice, auth, certificado): def cancel_xml_sign(invoice, auth, certificado): - return _cancel_with_cert(invoice, auth, certificado) + if DEBUG: + return _cancel_with_cert(invoice, auth, certificado) cert = SATCertificate(certificado.cer, certificado.key_enc.encode()) pac = PACS[auth['pac']]()