[FIX] _get_journal method has one less argument.

This commit is contained in:
Ronald Portier (Therp BV)
2015-06-26 14:35:54 +02:00
parent 24f51b8256
commit f317579f58

View File

@@ -196,7 +196,7 @@ class AccountBankStatementImport(models.TransientModel):
return bank_account_id
@api.model
def _get_journal(self, currency_id, bank_account_id, account_number):
def _get_journal(self, currency_id, bank_account_id):
""" Find the journal """
bank_model = self.env['res.partner.bank']
# Find the journal from context, wizard or bank account