forked from elmau/empresa-libre
Remover nodo KeyValue en XML para cancelación
This commit is contained in:
parent
b7e8bb3cff
commit
425cd53df1
|
@ -168,8 +168,8 @@ class SATCertificate(object):
|
||||||
node = xmlsec.tree.find_node(tree, 'SignatureValue')
|
node = xmlsec.tree.find_node(tree, 'SignatureValue')
|
||||||
node.text = node.text.replace('\n', '')
|
node.text = node.text.replace('\n', '')
|
||||||
|
|
||||||
node = xmlsec.tree.find_node(tree, 'Modulus')
|
# ~ node = xmlsec.tree.find_node(tree, 'Modulus')
|
||||||
node.text = node.text.replace('\n', '')
|
# ~ node.text = node.text.replace('\n', '')
|
||||||
|
|
||||||
return tree
|
return tree
|
||||||
|
|
||||||
|
|
|
@ -303,7 +303,6 @@ TEMPLATE_CANCEL = """<Cancelacion RfcEmisor="{rfc}" Fecha="{fecha}" xmlns:xsi="h
|
||||||
</X509IssuerSerial>
|
</X509IssuerSerial>
|
||||||
<X509Certificate />
|
<X509Certificate />
|
||||||
</X509Data>
|
</X509Data>
|
||||||
<KeyValue />
|
|
||||||
</KeyInfo>
|
</KeyInfo>
|
||||||
</Signature>
|
</Signature>
|
||||||
</Cancelacion>
|
</Cancelacion>
|
||||||
|
|
Loading…
Reference in New Issue