Skip to content

Commit

Permalink
remove cnab modifications in this branch
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaGD committed Aug 23, 2018
1 parent 55f5cfb commit a66ee1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions br_payment_cnab/bancos/sicoob.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,6 @@ def _get_segmento(self, line, lot_sequency, num_lot):
segmento.get('codigo_instrucao_movimento')),
'codigo_camara_compensacao': self._string_to_num(
segmento.get('codigo_camara_compensacao')),
'periodo_apuracao': self._string_to_num(
segmento.get('periodo_apuracao')),
'info_complementar_tributo': segmento.get(
'info_complementar_tributo', '')
})
return segmento

Expand All @@ -125,9 +121,9 @@ def segments_per_operation(self):
segments = super(Sicoob240, self).segments_per_operation()
segments.update({
'03': ["SegmentoJ"],
'04': ["SegmentoO", "SegmentoW"],
'04': ["SegmentoO", "SegmentoW", "SegmentoZ"],
'05': ["SegmentoN_GPS"],
'06': ["SegmentoN_DarfNormal", "SegmentoW"],
'07': ["SegmentoN_DarfSimples", "SegmentoW"],
'06': ["SegmentoN_DarfNormal", "SegmentoW", "SegmentoZ"],
'07': ["SegmentoN_DarfSimples", "SegmentoW", "SegmentoZ"],
})
return segments
2 changes: 1 addition & 1 deletion br_payment_cnab/serialize/cnab240.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _get_header_arq(self):
'cedente_inscricao_numero': self._string_to_num(
self._order.company_id.cnpj_cpf),
# Usado pelo Banco para identificar o contrato - númerodo banco(4),
# código de agência(4 "sem DV"), número do convênio(12).
# códigode agência(4 "sem DV"), número do convênio(12).
'codigo_convenio': bank.codigo_convenio,
# Para ordem de pagamento, saque em uma agência -número da agência,
# caso contrário preencher com zeros.
Expand Down

0 comments on commit a66ee1e

Please sign in to comment.