Banking Addons - Iban lookup (legacy)
account_banking_iban_lookup · OCA/bank-payment
-
Security25/25No findings
-
Activity0/25Last human commit 127 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
ResBank— Class 'ResBank' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceres_partner_bank— Class 'res_partner_bank' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.addons.account_banking_iban_lookup.urlagent`) (3 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (6 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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
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
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.