Skip to content

Commit

Permalink
[FIX] bank type (#875)
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaGD authored and danimaribeiro committed Aug 16, 2019
1 parent a742250 commit d483330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br_payment_cnab/bancos/itau.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _get_segmento(self, line, lot_sequency, num_lot, nome_segmento):
'valor_real_pagamento': self._string_to_monetary(
segmento.get('valor_real_pagamento')),
'favorecido_banco': int(line.bank_account_id.bank_id.bic) or
line.barcode[:3],
int(line.barcode[:3]),
'finalidade_ted': get_ted_doc_finality(
'itau', segmento.get('finalidade_doc_ted'), '01', ignore),
'finalidade_doc': get_ted_doc_finality(
Expand Down

0 comments on commit d483330

Please sign in to comment.