Repository
OCA/l10n-belgium · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting & Finance
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-belgium
Last tracking update
2026-08-07 08:43:07
Authors
ACSONE SA/NV, Odoo Community Association (OCA)
Maintainers
ACSONE SA/NV, Odoo Community Association (OCA)
Committers
Jacques-Etienne Baudoux, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
pycoda
System dependencies
None
Required by
None
Description
This module allows you to import your bank transactions with a standard
**CODA** file (you'll find samples in the 'data' folder).

This module was renamed in v14 to follow the behavior of the parent OCA
module account_statement_module.

This is an alternative to the l10n_be_coda module in Odoo Enterprise. It
uses the external python lib
[pycoda](https://pypi.python.org/pypi/pycoda) as parser.

Expected benefits:

- The pycoda parser is a better-tested external python lib.
- Better separation between file parsing and mapping of these data in
  Odoo.
- The module only depends of account_bank_statement_import.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
account_statement_import_form account.statement.import form Inherits account_statement_import_file.account_statement_import_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • get_st_line_note(self, line, information_dict)
    This method returns a formatted note from line information
  • get_st_line_vals(self, line, globalisation_dict, information_dict)
    This method must return a dict of vals that can be passed to create method of statement line in order to record it. It is the responsibility of every parser to give this dict of vals, so each one can implement his own way of recording the lines. :param: line: a dict of vals that represent a line of result_row_list :return: dict of values to give to the create method of statement line, it MUST contain at least: { 'date':value, 'amount':value, 'payment_ref':value, }
  • get_st_vals(self, statement)
    This method return a dict of vals that can be passed to create method of statement. :return: dict of vals that represent additional infos for the statement found in the file. { 'name': paper_seq_number 'balance_start': balance_start, 'balance_end_real': balance_end_real, 'transactions': transactions }

Loading…

Loading…

Loading…