From 0fb70e97aa1ca66ad27b55a6ab160aa8af1a29f4 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Mon, 23 Nov 2015 22:01:18 +0100 Subject: [PATCH] Remove raise which is not required any more since https://github.com/OCA/bank-statement-import/commit/a1e7e10ef2267894b6dd9ab810e6b28a37da1157 --- .../account_bank_statement_import.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/account_bank_statement_import_usability/account_bank_statement_import.py b/account_bank_statement_import_usability/account_bank_statement_import.py index 871bf99..37bf73c 100644 --- a/account_bank_statement_import_usability/account_bank_statement_import.py +++ b/account_bank_statement_import_usability/account_bank_statement_import.py @@ -28,14 +28,6 @@ class AccountBankStatementImport(models.TransientModel): """Extend model account.bank.statement.""" _inherit = 'account.bank.statement.import' - @api.model - @api.returns('res.partner.bank') - def _create_bank_account( - self, account_number, company_id=False, currency_id=False): - raise UserError(_( - "The bank account corresponding to this file " - "is not one of the company's bank accounts in Odoo")) - @api.model def _find_bank_account_id(self, account_number): """ Get res.partner.bank ID """