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: