From e67a1756a825e0e63b8e76894263880efe5d2ead Mon Sep 17 00:00:00 2001 From: Mauricio Baeza Date: Mon, 29 Jan 2018 23:51:08 -0600 Subject: [PATCH] Fix - al generar xml --- source/app/controllers/cfdi_xml.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/app/controllers/cfdi_xml.py b/source/app/controllers/cfdi_xml.py index 724ced1..475007f 100644 --- a/source/app/controllers/cfdi_xml.py +++ b/source/app/controllers/cfdi_xml.py @@ -164,7 +164,7 @@ class CFDI(object): if self._edu: name = 'xmlns:{}'.format(SAT['edu']['prefix']) attributes[name] = SAT['edu']['xmlns'] - schema_edu = SAT['edu']['schema'] + schema_edu = SAT['edu']['schema'] schema_nomina = '' if self._nomina: @@ -173,7 +173,8 @@ class CFDI(object): schema_nomina = SAT['nomina']['schema'] attributes['xsi:schemaLocation'] = self._sat_cfdi['schema'] + \ - schema_locales + schema_donativo + schema_ine + + schema_edu + schema_nomina + schema_locales + schema_donativo + schema_ine + schema_edu + \ + schema_nomina attributes.update(datos) if not 'Version' in attributes: