Browse Source

[FIX] _get_journal method has one less argument.

pull/15/head
Ronald Portier (Therp BV) 10 years ago
parent
commit
f317579f58
  1. 2
      account_bank_statement_import/account_bank_statement_import.py

2
account_bank_statement_import/account_bank_statement_import.py

@ -196,7 +196,7 @@ class AccountBankStatementImport(models.TransientModel):
return bank_account_id return bank_account_id
@api.model @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 """ """ Find the journal """
bank_model = self.env['res.partner.bank'] bank_model = self.env['res.partner.bank']
# Find the journal from context, wizard or bank account # Find the journal from context, wizard or bank account

Loading…
Cancel
Save