Repository
OCA/bank-statement-import · module folder · Try on Runboat
Module version
1.1.2
Category
Banking addons
Folder size
0.13 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/bank-statement-import
Last tracking update
2026-08-07 07:38:25
Authors
Odoo Community Association (OCA), Therp BV
Maintainers
Odoo Community Association (OCA), Therp BV
Committers
Ronald Portier, Pedro M. Baeza, Naglis Jonaitis, Luc De Meyer, OCA Transbot, OCA-git-bot, oca-travis, Iryna Vushnevska
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_bank_statement_import_oca_camt54
Description

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
account_bank_statement_import_view account.bank.statement.import Inherits account_bank_statement_import.account_bank_statement_import_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (0)

No new fields.

Public methods (1)
  • reconciliation_widget_preprocess(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (8)
  • add_value_from_node(self, ns, node, xpath_str, obj, attr_name, join_str=None)
    Add value to object from first or all nodes found with xpath. If xpath_str is a list (or iterable), it will be seen as a series of search path's in order of preference. The first item that results in a found node will be used to set a value.
  • check_version(self, ns, root)
    Validate validity of camt file.
  • get_balance_amounts(self, ns, node)
    Return opening and closing balance. Depending on kind of balance and statement, the balance might be in a different kind of node: OPBD = OpeningBalance PRCD = PreviousClosingBalance ITBD = InterimBalance (first ITBD is start-, second is end-balance) CLBD = ClosingBalance
  • parse(self, data)
    Parse a camt.052 or camt.053 or camt.054 file.
  • parse_amount(self, ns, node)
    Parse element that contains Amount and CreditDebitIndicator.
  • parse_entry(self, ns, node)
    Parse an Ntry node and yield transactions
  • parse_statement(self, ns, node)
    Parse a single Stmt node.
  • parse_transaction_details(self, ns, node, transaction)
    Parse TxDtls node.

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)
    Purpose of this hook is catch updates for records with name == '/' In reconciliation_widget_preprocess, there is attempt to assign partner into statement line, this assignment relies on name, during import name setup to '/' for records without it and this makes search results wrong and partner assignment randomly

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…