Skip to content

Commit

Permalink
agrego correos
Browse files Browse the repository at this point in the history
  • Loading branch information
satcfdi committed Mar 28, 2024
1 parent dff4b94 commit 5111499
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions satdigitalinvoice/mycfdi.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@ def rename_invoices(cls, search_path="*.xml"):
for file in glob.iglob(os.path.join(cls.base_dir, search_path), recursive=True):
cls.rename_invoice(file)

def cfdi_relacionados(self, tipo_relacion: TipoRelacion = None):
for cfdi_rel in iterate(self.get("CfdiRelacionados")):
if cfdi_rel["TipoRelacion"] == tipo_relacion:
for uuid in cfdi_rel["CfdiRelacionado"]:
yield UUID(uuid)

@classmethod
def get_all_invoices(cls, invoices: MutableMapping, search_path="*.xml") -> bool:
# Check that all names are correct
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
],
},
install_requires=[
'satcfdi==4.4.1',
'satcfdi==4.4.4',
'diskcache',
'num2words',
'PyYAML',
Expand Down

0 comments on commit 5111499

Please sign in to comment.