Repository
OCA/bank-payment · module folder · Try on Runboat
Module version
0.1
Category
Banking addons
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://launchpad.net/banking-addons
Last tracking update
2026-08-07 06:56:13
Authors
Odoo Community Association (OCA), Banking addons community
Maintainers
Odoo Community Association (OCA), Banking addons community
Committers
Stefan Rijnhart, Alexandre Fayolle, Sandy Carter, Holger Brunn, Pedro M. Baeza, OCA Transbot
Odoo dependencies
Python dependencies
BeautifulSoup
System dependencies
None
Required by
None
Description
This addons contains the legacy infrastructure for autocompletion of IBANs
and BBANs.

The autocompletion was implemented for Dutch IBANs, but as it turns out
the online database that it consults does not get updated. As a result,
the autocompletion will come up with outdated IBANs and BICs.

This module is deprecated and will be dropped in OpenERP 8.0.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_partner_bank_account_banking_form_2 Add autocompletion methods to partner bank form res.partner.bank form Inherits base.view_partner_bank_form
view_res_bank_account_banking_form_1 Add BIC lookup to bank form res.bank form Inherits base.view_res_bank_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (2)
  • onchange_bic(self, cr, uid, ids, bic, name, context=None)
  • online_bank_info(self, cr, uid, bic, context=None)
    Overwrite existing API hook from account_banking

New fields (0)

No new fields.

Public methods (7)
  • create(self, cr, uid, vals, context=None)
    Create dual function IBAN account for SEPA countries
  • init(self, cr)
    Update existing iban accounts to comply to new regime
  • onchange_acc_number(self, cr, uid, ids, acc_number, acc_number_domestic, state, partner_id, country_id, context=None)
  • onchange_domestic(self, cr, uid, ids, acc_number, partner_id, country_id, context=None)
    Trigger to find IBAN. When found: 1. Reformat BBAN 2. Autocomplete bank TODO: prevent unnecessary assignment of country_ids and browsing of the country
  • onchange_iban(self, cr, uid, ids, acc_number, acc_number_domestic, state, partner_id, country_id, context=None)
    Trigger to verify IBAN. When valid: 1. Extract BBAN as local account 2. Auto complete bank
  • online_account_info(self, cr, uid, country_code, acc_number, context=None)
    Overwrite API hook from account_banking
  • write(self, cr, uid, ids, vals, context=None)
    Create dual function IBAN account for SEPA countries Update the domestic account number when the IBAN is written, or clear the domestic number on regular account numbers.