akretion / nfelib

nfelib - bindings Python para e ler e gerir XML de NF-e, NFS-e nacional, CT-e, MDF-e, BP-e
MIT License
144 stars 59 forks source link

Consultar situação da NF-e com objetos XSDATA #93

Closed antoniospneto closed 7 months ago

antoniospneto commented 8 months ago

@rvalyi

vou implementar o wizard para consultar o status da nfe no Odoo, porém o generateDS tá com um bug na classe do retorno do evento, pra não precisar mexer na parte legada do generateDS fiz um override da função consulta_documento do erpbrasil.edoc para trabalhar com objetos XSDATA tanto no envio quanto na respota.

codecov[bot] commented 8 months ago

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 98.42%. Comparing base (07141ad) to head (fe36a9c).

Files Patch % Lines
nfelib/nfe/ws/edoc_legacy.py 0.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #93 +/- ## ========================================== - Coverage 98.46% 98.42% -0.04% ========================================== Files 222 222 Lines 10979 10983 +4 ========================================== Hits 10810 10810 - Misses 169 173 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.