form.AllowanceChargeAsDiscount nueva clase para descuentos
FossilOrigin-Name: 5b11ff93dff3a301628694c2a6e71940915aea8754a9eab3f35644bc669ddf87
This commit is contained in:
@@ -129,6 +129,11 @@ class FachoXML:
|
||||
self.xpath_for = {}
|
||||
self.extensions = []
|
||||
|
||||
@classmethod
|
||||
def from_string(cls, document: str, namespaces: dict() = []) -> 'FachoXML':
|
||||
xml = LXMLBuilder.from_string(document)
|
||||
return FachoXML(xml, nsmap=namespaces)
|
||||
|
||||
def append_element(self, elem, new_elem):
|
||||
#elem = self.find_or_create_element(xpath, append=append)
|
||||
#self.builder.append(elem, new_elem)
|
||||
|
||||
Reference in New Issue
Block a user