Remove raise which is not required any more since a1e7e10ef2

This commit is contained in:
Alexis de Lattre
2015-11-23 22:01:18 +01:00
parent 1a38600aeb
commit 0fb70e97aa

View File

@@ -28,14 +28,6 @@ class AccountBankStatementImport(models.TransientModel):
"""Extend model account.bank.statement.""" """Extend model account.bank.statement."""
_inherit = 'account.bank.statement.import' _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 @api.model
def _find_bank_account_id(self, account_number): def _find_bank_account_id(self, account_number):
""" Get res.partner.bank ID """ """ Get res.partner.bank ID """