Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/erpbrasil/edoc/mde.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
from erpbrasil.transmissao import TransmissaoSOAP

try:
from nfelib.v4_00 import retEnvConfRecebto
from nfelib.v4_00.retEnvConfRecebto import TEnvEvento as TEnvEventoManifestacao
from nfelib.v4_00.retEnvConfRecebto import TEvento as TEventoManifestacao # noga
from nfelib.v4_00.retEnvConfRecebto import descEventoType as descEventoManifestacao
from nfelib.v4_00.retEnvConfRecebto import detEventoType as detEventoManifestacao
from nfelib.v4_00.retEnvConfRecebto import infEventoType as infEventoManifestacao
from nfelib.v4_00.retEnvConfRecebto import tpEventoType as eventoManifestacao
from erpbrasil.nfelib_legacy.v4_00 import retEnvConfRecebto
from erpbrasil.nfelib_legacy.v4_00.retEnvConfRecebto import TEnvEvento as TEnvEventoManifestacao
from erpbrasil.nfelib_legacy.v4_00.retEnvConfRecebto import TEvento as TEventoManifestacao # noga
from erpbrasil.nfelib_legacy.v4_00.retEnvConfRecebto import descEventoType as descEventoManifestacao
from erpbrasil.nfelib_legacy.v4_00.retEnvConfRecebto import detEventoType as detEventoManifestacao
from erpbrasil.nfelib_legacy.v4_00.retEnvConfRecebto import infEventoType as infEventoManifestacao
from erpbrasil.nfelib_legacy.v4_00.retEnvConfRecebto import tpEventoType as eventoManifestacao
except ImportError:
pass

Expand Down
2 changes: 1 addition & 1 deletion src/erpbrasil/edoc/nfce.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from erpbrasil.edoc.nfe import SIGLA_ESTADO, WS_NFE_AUTORIZACAO, NFe, localizar_url

with suppress(ImportError):
from nfelib.v4_00 import retEnviNFe
from erpbrasil.nfelib_legacy.v4_00 import retEnviNFe


NFCE_AMBIENTE_PRODUCAO = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/erpbrasil/edoc/nfe.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# xsd Evento Cancelamento
# xsd CCe
# xsd Consulta Cadastro
from nfelib.v4_00 import (
from erpbrasil.nfelib_legacy.v4_00 import (
distDFeInt,
retConsCad,
retConsReciNFe,
Expand Down
Empty file.
4 changes: 4 additions & 0 deletions src/erpbrasil/nfelib_legacy/v4_00/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This directory contains the old legacy 1.x nfelib bindings generated by generateDS
to help the backward compatibility during the transition phase to nfelib 2.x
However, these bindings will be removed in the near future (2024?) and only the
new xsdata bindings will be maintained.
Empty file.
Loading
Loading