diff --git a/source/app/controllers/utils.py b/source/app/controllers/utils.py index f0eec46..72312ef 100644 --- a/source/app/controllers/utils.py +++ b/source/app/controllers/utils.py @@ -799,7 +799,7 @@ def cancel_xml_sign(invoice, args, auth, certificado): template = TEMPLATE_CANCEL.format(**data) tree = ET.fromstring(template.encode()) sign_xml = cert.sign_xml(tree) - print(sign_xml) + # ~ print(sign_xml) result = pac.cancel_xml(sign_xml, auth, invoice.xml) diff --git a/source/app/settings.py b/source/app/settings.py index 786143f..bc1d03c 100644 --- a/source/app/settings.py +++ b/source/app/settings.py @@ -256,41 +256,41 @@ DEFAULT_GLOBAL = { 'clave_sat': '01010101', } -TEMPLATE_CANCEL = """ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -""" +# ~ TEMPLATE_CANCEL = """ +# ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ + # ~ +# ~ +# ~ """ -# ~ TEMPLATE_CANCEL = """""" +TEMPLATE_CANCEL = """"""