forked from elmau/empresa-libre
Fix ticket #4
This commit is contained in:
parent
a8667a5d4f
commit
a2670cb92c
|
@ -1,3 +1,7 @@
|
||||||
|
v 1.41.4 [13-Abr-2021]
|
||||||
|
----------------------
|
||||||
|
- Error - Ticket #4
|
||||||
|
|
||||||
|
|
||||||
v 1.41.3 [12-Feb-2021]
|
v 1.41.3 [12-Feb-2021]
|
||||||
----------------------
|
----------------------
|
||||||
|
|
|
@ -270,7 +270,8 @@ 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 reversed(datos):
|
# ~ for row in reversed(datos):
|
||||||
|
for row in datos:
|
||||||
complemento = {}
|
complemento = {}
|
||||||
if 'complemento' in row:
|
if 'complemento' in row:
|
||||||
complemento = row.pop('complemento')
|
complemento = row.pop('complemento')
|
||||||
|
|
|
@ -738,7 +738,7 @@ class LIBO(object):
|
||||||
if not cell_7 is None:
|
if not cell_7 is None:
|
||||||
col = cell_7.getCellAddress().Column
|
col = cell_7.getCellAddress().Column
|
||||||
target7 = self._sheet.getCellRangeByPosition(col, row+1, col, row+count)
|
target7 = self._sheet.getCellRangeByPosition(col, row+1, col, row+count)
|
||||||
if pakings:
|
if pakings and cell_8:
|
||||||
col = cell_8.getCellAddress().Column
|
col = cell_8.getCellAddress().Column
|
||||||
target8 = self._sheet.getCellRangeByPosition(col, row+1, col, row+count)
|
target8 = self._sheet.getCellRangeByPosition(col, row+1, col, row+count)
|
||||||
|
|
||||||
|
|
|
@ -5148,8 +5148,6 @@ class Facturas(BaseModel):
|
||||||
'edu': is_edu,
|
'edu': is_edu,
|
||||||
'complementos': complementos,
|
'complementos': complementos,
|
||||||
}
|
}
|
||||||
|
|
||||||
# ~ return util.make_xml(data, certificado)
|
|
||||||
return utils.make_xml(data, certificado)
|
return utils.make_xml(data, certificado)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
@ -42,7 +42,7 @@ except ImportError:
|
||||||
|
|
||||||
|
|
||||||
DEBUG = DEBUG
|
DEBUG = DEBUG
|
||||||
VERSION = '1.41.3'
|
VERSION = '1.41.4'
|
||||||
EMAIL_SUPPORT = ('soporte@empresalibre.mx',)
|
EMAIL_SUPPORT = ('soporte@empresalibre.mx',)
|
||||||
TITLE_APP = '{} v{}'.format(TITLE_APP, VERSION)
|
TITLE_APP = '{} v{}'.format(TITLE_APP, VERSION)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue