diff --git a/CHANGELOG.md b/CHANGELOG.md index 915f598..fe9437a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +v 1.41.4 [13-Abr-2021] +---------------------- + - Error - Ticket #4 + v 1.41.3 [12-Feb-2021] ---------------------- diff --git a/VERSION b/VERSION index 8de2b8f..87b9edf 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -1.41.3 +1.41.4 diff --git a/source/app/controllers/cfdi_xml.py b/source/app/controllers/cfdi_xml.py index fc5087e..8b7a8ef 100644 --- a/source/app/controllers/cfdi_xml.py +++ b/source/app/controllers/cfdi_xml.py @@ -270,7 +270,8 @@ class CFDI(object): from xml.sax.saxutils import escape, unescape conceptos = ET.SubElement(self._cfdi, '{}:Conceptos'.format(self._pre)) - for row in reversed(datos): + # ~ for row in reversed(datos): + for row in datos: complemento = {} if 'complemento' in row: complemento = row.pop('complemento') diff --git a/source/app/controllers/util.py b/source/app/controllers/util.py index f25df79..47b9505 100644 --- a/source/app/controllers/util.py +++ b/source/app/controllers/util.py @@ -738,7 +738,7 @@ class LIBO(object): if not cell_7 is None: col = cell_7.getCellAddress().Column target7 = self._sheet.getCellRangeByPosition(col, row+1, col, row+count) - if pakings: + if pakings and cell_8: col = cell_8.getCellAddress().Column target8 = self._sheet.getCellRangeByPosition(col, row+1, col, row+count) diff --git a/source/app/models/main.py b/source/app/models/main.py index fb8b0b7..f150210 100644 --- a/source/app/models/main.py +++ b/source/app/models/main.py @@ -5148,8 +5148,6 @@ class Facturas(BaseModel): 'edu': is_edu, 'complementos': complementos, } - - # ~ return util.make_xml(data, certificado) return utils.make_xml(data, certificado) @classmethod diff --git a/source/app/settings.py b/source/app/settings.py index b97fa92..17c0b61 100644 --- a/source/app/settings.py +++ b/source/app/settings.py @@ -42,7 +42,7 @@ except ImportError: DEBUG = DEBUG -VERSION = '1.41.3' +VERSION = '1.41.4' EMAIL_SUPPORT = ('soporte@empresalibre.mx',) TITLE_APP = '{} v{}'.format(TITLE_APP, VERSION)