Fix - al generar xml

This commit is contained in:
Mauricio Baeza 2018-01-29 23:51:08 -06:00
parent e33e3379d7
commit e67a1756a8
1 changed files with 3 additions and 2 deletions

View File

@ -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: