Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][FIX][l10n_br_nfe] falha no cancelamento de nota fiscal sem retorno #3182

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

DiegoParadeda
Copy link
Contributor

Acredito que o commit f6d0e9e tenha trazido resultados não desejados uma vez que o campo justificativa (no cancelamento da nota fiscal) precisa ter no mínimo 15 caracteres.

Essa propriedade passava despercebida e, com o commit, o erro passou a ocorrer sem nenhum tipo de retorno para o usuário.

Esse PR trava o cancelamento da nota fiscal caso o tamanho mínimo da justificativa não tenha sido atendida:

image

@OCA-git-bot
Copy link
Contributor

Hi @renatonlima,
some modules you are maintaining are being modified, check this out!

Copy link
Sponsor Contributor

@antoniospneto antoniospneto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Será que essa validação não é melhor ser diretamente no módulo da NF-e? considerando que para outros documentos fiscais a regra pode ser outra? por exemplo na nota fiscal de serviço do provedor Betha, não há minimo,

@DiegoParadeda DiegoParadeda force-pushed the fix/fiscal_doc_cancel_validation branch from 830b98e to b322417 Compare August 16, 2024 16:53
@antoniospneto
Copy link
Sponsor Contributor

@DiegoParadeda agora está pronto para revisão?

@DiegoParadeda DiegoParadeda marked this pull request as ready for review August 23, 2024 19:59
@DiegoParadeda
Copy link
Contributor Author

DiegoParadeda commented Aug 23, 2024

@DiegoParadeda agora está pronto para revisão?

Sim @antoniospneto! Tinha esquecido de atualizar aqui

@DiegoParadeda DiegoParadeda changed the title [14.0][FIX][l10n_br_fiscal] falha no cancelamento de nota fiscal sem retorno [14.0][FIX][l10n_br_nfe] falha no cancelamento de nota fiscal sem retorno Aug 23, 2024
Copy link
Member

@rvalyi rvalyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Sponsor Member

@marcelsavegnago marcelsavegnago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rvalyi
Copy link
Member

rvalyi commented Aug 23, 2024

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 14.0-ocabot-merge-pr-3182-by-rvalyi-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit bd9b40c into OCA:14.0 Aug 23, 2024
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at b8e72bd. Thanks a lot for contributing to OCA. ❤️

@marcelsavegnago
Copy link
Sponsor Member

@DiegoParadeda pode portar para as versões superiores ?

@rvalyi
Copy link
Member

rvalyi commented Aug 29, 2024

@DiegoParadeda pode portar para as versões superiores ?

feito em #3323 e #3324

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants