From d616d195648686820fc4fb68d0b8bb6efa2d6906 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Fri, 6 May 2016 12:37:31 +0200 Subject: [PATCH] bank_bic on res.partner.bank is a related field in v9 and is not displayed in form view, so no need for explainations any more --- account_banking_pain_base/models/__init__.py | 1 - .../models/res_partner_bank.py | 20 ------------------- 2 files changed, 21 deletions(-) delete mode 100644 account_banking_pain_base/models/res_partner_bank.py diff --git a/account_banking_pain_base/models/__init__.py b/account_banking_pain_base/models/__init__.py index caf442d40..e1677f11e 100644 --- a/account_banking_pain_base/models/__init__.py +++ b/account_banking_pain_base/models/__init__.py @@ -8,5 +8,4 @@ from . import bank_payment_line from . import account_payment_mode from . import res_company from . import banking_export_pain -from . import res_partner_bank from . import account_payment_method diff --git a/account_banking_pain_base/models/res_partner_bank.py b/account_banking_pain_base/models/res_partner_bank.py deleted file mode 100644 index 76722a561..000000000 --- a/account_banking_pain_base/models/res_partner_bank.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -# © 2013 ACSONE SA/NV () -# © 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from openerp import models, fields - - -class ResPartnerBank(models.Model): - _inherit = 'res.partner.bank' - - bank = fields.Many2one(help="If this field is set and the related bank " - "has a 'Bank Identifier Code', then this BIC " - "will be used to generate the credit " - "transfers and direct debits files.") - bank_bic = fields.Char(help="In the generation of credit transfer and " - "direct debit files, this BIC will be used " - "only when the 'Bank' field is empty, or " - "has a value but the field 'Bank Identifier " - "Code' is not set on the related bank.")