Skip to content

Commit

Permalink
Update account_journal.py
Browse files Browse the repository at this point in the history
  • Loading branch information
danimaribeiro authored Feb 6, 2023
1 parent 3a542bb commit 2bb673e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions l10n_br_banco_inter/models/account_journal.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ def sync_bank_statement_online_inter(self, start=None, end=None):
'statement_id': statement.id,
'date': titulo["dataEntrada"],
'name': titulo['titulo'],
'ref': titulo['descricao'],
'ref': titulo.get('descricao'),
'amount': float(titulo['valor']) if titulo["tipoOperacao"] == "C" else (float(titulo['valor']) * -1.0),
})

return statement.action_bank_reconcile_bank_statements()
return statement.action_bank_reconcile_bank_statements()

0 comments on commit 2bb673e

Please sign in to comment.