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

[FIX] Não carregue novamente as mensagens fiscais da nf-e #3254

Draft
wants to merge 1 commit into
base: 14.0
Choose a base branch
from
Draft
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
6 changes: 0 additions & 6 deletions l10n_br_fiscal/models/document_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,6 @@ def _document_number(self):

def _document_confirm(self):
if self.issuer == DOCUMENT_ISSUER_COMPANY:
if not self.comment_ids and self.fiscal_operation_id.comment_ids:
self.comment_ids |= self.fiscal_operation_id.comment_ids

for line in self.fiscal_line_ids:
if not line.comment_ids and line.fiscal_operation_line_id.comment_ids:
line.comment_ids |= line.fiscal_operation_line_id.comment_ids
self._change_state(SITUACAO_EDOC_A_ENVIAR)
else:
self._change_state(SITUACAO_EDOC_AUTORIZADA)
Expand Down
Loading