Skip to content

Commit

Permalink
[FIX] Nota de BH - ajuste de cancelamento, uso da tag correta
Browse files Browse the repository at this point in the history
  • Loading branch information
danimaribeiro committed Dec 6, 2018
1 parent 3472c04 commit 3c0d0fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br_nfse_bh/models/invoice_eletronic.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def action_cancel_document(self, context=None, justificativa=None):
certificado, cancelamento=canc, ambiente=self.ambiente)

retorno = cancel['object']
if "Cancelamento" in dir(retorno):
if "RetCancelamento" in dir(retorno):
self.state = 'cancel'
self.codigo_retorno = '100'
self.mensagem_retorno = u'Nota Fiscal de Serviço Cancelada'
Expand Down

0 comments on commit 3c0d0fc

Please sign in to comment.