From 0e881eb17a55c68e1c3bfc02ef69cc8c354d546b Mon Sep 17 00:00:00 2001 From: Mauricio Baeza Date: Fri, 12 Feb 2021 12:04:31 -0600 Subject: [PATCH] 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