From 51c59fed03f1bb4f7e89f8aef8d9485f9cfca6fa Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Sun, 9 Feb 2014 21:21:20 +0100 Subject: [PATCH] [IMP] Docstring --- .../model/res_partner_bank.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/account_banking_iban_lookup/model/res_partner_bank.py b/account_banking_iban_lookup/model/res_partner_bank.py index f37de42be..d384a8e38 100644 --- a/account_banking_iban_lookup/model/res_partner_bank.py +++ b/account_banking_iban_lookup/model/res_partner_bank.py @@ -36,17 +36,12 @@ def warning(title, message): class res_partner_bank(orm.Model): ''' - This is a hack to circumvent the very limited but widely used base_iban - dependency. The usage of __mro__ requires inside information of - inheritence. This code is tested and works - it bypasses base_iban - altogether. Be sure to use 'super' for inherited classes from here though. - Extended functionality: 1. BBAN and IBAN are considered equal - 3. Banks are created on the fly when using IBAN - 4. Storage is uppercase, not lowercase - 5. Presentation is formal IBAN - 6. BBAN's are generated from IBAN when possible + 2. Online lookup when an API is available (providing NL in this module) + 3. Banks are created on the fly when using IBAN + online + 4. IBAN formatting + 5. BBAN's are generated from IBAN when possible ''' _inherit = 'res.partner.bank'