facho/fe/form.py: correcion identificador InvoiceLine/cbc:ID

FossilOrigin-Name: d3f7682487635e42acb9c15fcb1668beab6ea085e74e3ca55c147121f2ca59bb
This commit is contained in:
2020-05-27 16:47:55 +00:00
parent d0581628e3
commit bafd58124d
3 changed files with 13 additions and 7 deletions

View File

@@ -86,10 +86,7 @@ class LXMLBuilder:
elem.text = text
def xpath(self, elem, xpath):
print('xpath:' + xpath)
print('elem:'+ self.tostring(elem))
elems = elem.xpath(xpath, namespaces=self.nsmap)
print('xpath elemnts:' + str(elems))
if elems:
return elems[0]