@ -47,7 +47,6 @@ class AccountBankStatementImport(models.TransientModel):
}
return vals
@api.model
def _parse_file(self, data_file):
ofx = self._check_ofx(data_file)
if not ofx:
@ -20,7 +20,6 @@ class AccountBankStatementImport(models.TransientModel):
def _check_qif(self, data_file):
return data_file.strip().startswith('!Type:')
if not self._check_qif(data_file):
return super(AccountBankStatementImport, self)._parse_file(
@ -9,7 +9,7 @@ from odoo import models, api
class AccountBankStatementImport(models.TransientModel):
_inherit = 'account.bank.statement.import'
@api.multi
def import_file(self):
action = \
super(AccountBankStatementImport, self).import_file()