Skip to content

Commit

Permalink
Merge f53ebf0 into d3abc81
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaGD committed Aug 1, 2019
2 parents d3abc81 + f53ebf0 commit 53ad9ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions br_payment_cnab/bancos/itau.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def _get_segmento(self, line, lot_sequency, num_lot, nome_segmento):
ignore = not self.is_doc_or_ted(
line.payment_information_id.payment_type)
del(segmento['codigo_camara_compensacao'])
if line.barcode:
segmento.update({'codigo_de_barras': line.barcode[20:]})
segmento.update({
'numero_parcela': int(segmento.get('numero_parcela')[:13]),
'divida_ativa_etiqueta': int(
Expand Down

0 comments on commit 53ad9ba

Please sign in to comment.