forked from elmau/empresa-libre
Fix - Issue #130
This commit is contained in:
parent
f856d432b2
commit
d7d6b6efda
|
@ -201,8 +201,7 @@ class CFDI(object):
|
||||||
from xml.sax.saxutils import escape, unescape
|
from xml.sax.saxutils import escape, unescape
|
||||||
|
|
||||||
conceptos = ET.SubElement(self._cfdi, '{}:Conceptos'.format(self._pre))
|
conceptos = ET.SubElement(self._cfdi, '{}:Conceptos'.format(self._pre))
|
||||||
for row in datos:
|
for row in reversed(datos):
|
||||||
|
|
||||||
# ~ print (row['Descripcion'])
|
# ~ print (row['Descripcion'])
|
||||||
# ~ xml = escape(xml.encode('ascii', 'xmlcharrefreplace').decode('utf-8'), False)
|
# ~ xml = escape(xml.encode('ascii', 'xmlcharrefreplace').decode('utf-8'), False)
|
||||||
# ~ row['Descripcion'] = escape(row['Descripcion'].replace('\n', ' '), False)
|
# ~ row['Descripcion'] = escape(row['Descripcion'].replace('\n', ' '), False)
|
||||||
|
|
Loading…
Reference in New Issue