diff --git a/CHANGELOG.md b/CHANGELOG.md index 93bd70f..2a20582 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +v 1.46.5 [10-Mar-2022] +---------------------- + - Error: Al timbrar nómina con Comercio Digital + + v 1.46.4 [18-Feb-2022] ---------------------- - Error: Issue #54 diff --git a/VERSION b/VERSION index 55c81d9..ac2d35e 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -1.46.4 +1.46.5 diff --git a/source/app/controllers/pacs/comerciodigital/comercio.py b/source/app/controllers/pacs/comerciodigital/comercio.py index e930278..a06c5a7 100644 --- a/source/app/controllers/pacs/comerciodigital/comercio.py +++ b/source/app/controllers/pacs/comerciodigital/comercio.py @@ -126,10 +126,10 @@ class PACComercioDigital(object): """ Comercio Digital solo soporta la declaración con doble comilla """ - tree = ET.fromstring(xml.encode()) - xml = ET.tostring(tree, - pretty_print=True, doctype='') - return xml + # ~ tree = ET.fromstring(xml.encode()) + # ~ xml = ET.tostring(tree, + # ~ pretty_print=True, doctype='') + return xml.encode('utf-8') def stamp(self, cfdi, auth): # ~ if DEBUG or not auth: diff --git a/source/app/settings.py b/source/app/settings.py index 42feafd..e97cec6 100644 --- a/source/app/settings.py +++ b/source/app/settings.py @@ -42,7 +42,7 @@ except ImportError: DEBUG = DEBUG -VERSION = '1.46.4' +VERSION = '1.46.5' EMAIL_SUPPORT = ('soporte@empresalibre.mx',) TITLE_APP = '{} v{}'.format(TITLE_APP, VERSION)