From 0e881eb17a55c68e1c3bfc02ef69cc8c354d546b Mon Sep 17 00:00:00 2001 From: Mauricio Baeza Date: Fri, 12 Feb 2021 12:04:31 -0600 Subject: [PATCH 1/2] Fix get version in PDF nomina --- source/app/models/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/app/models/main.py b/source/app/models/main.py index 4e3388c..fb8b0b7 100644 --- a/source/app/models/main.py +++ b/source/app/models/main.py @@ -8977,7 +8977,7 @@ class CfdiNomina(BaseModel): return obj.xml, name def _get_not_in_xml(self, invoice, emisor): - values = {'is_nomina': True} + values = {'is_nomina': True, 'el.version': VERSION_EMPRESA_LIBRE} if invoice.version == '3.2': return values From e59941db3450a85a52e4e2c9d03c2cf9e9d869d2 Mon Sep 17 00:00:00 2001 From: Mauricio Baeza Date: Fri, 12 Feb 2021 12:23:20 -0600 Subject: [PATCH 2/2] Update version and changelog --- CHANGELOG.md | 5 +++++ VERSION | 2 +- source/app/settings.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb56232..51f2819 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ +v 1.41.2 [13-Feb-2021] +---------------------- + - Error - Ticket #2 + + v 1.41.1 [11-Feb-2021] ---------------------- - Error - Ticket #1 diff --git a/VERSION b/VERSION index d15ff02..5008855 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -1.41.1 +1.41.2 diff --git a/source/app/settings.py b/source/app/settings.py index 90845f0..89ce61b 100644 --- a/source/app/settings.py +++ b/source/app/settings.py @@ -42,7 +42,7 @@ except ImportError: DEBUG = DEBUG -VERSION = '1.41.1' +VERSION = '1.41.2' EMAIL_SUPPORT = ('soporte@empresalibre.mx',) TITLE_APP = '{} v{}'.format(TITLE_APP, VERSION)