[14.0][IMP] l10n_br_fiscal_dfe: use xsdata bindings #3150
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ate a nfelib 2.0.7 o binding de retorno da DFe era esse binding legacy generateDS https://github.com/akretion/nfelib/blob/2.0.7/nfelib/v4_00/retDistDFeInt.py
Porem desde a nfelib 2.1.1, tirei os bindings legacy generateDS e tem que usar agora: https://github.com/akretion/nfelib/blob/master/nfelib/nfe_dist_dfe/bindings/v1_0/ret_dist_dfe_int_v1_01.py
No segundo commit fiz uma mudança semelhante no teste da MDe.
Aqui no projeto eu comentava sobre essa mudança faz um tempo e aqui eu tinha avisado que eu limparia a nfelib dos bindings legacy generateDS akretion/nfelib#106
O nome da class eh diferente (mais "pythonico") mas os campos do binding sao iguais.
Obs: para a Nfe ja faz mais de 1 ano que eu fiz a migracao no l10n-brazil.