Browse Source

[FIX] backport from MP on upstream until 5f30c6ed09

pull/19/head
Laurent Mignon 10 years ago
committed by Laurent Mignon (ACSONE)
parent
commit
89afefc370
  1. 3
      account_bank_statement_import/account_bank_statement_import.py

3
account_bank_statement_import/account_bank_statement_import.py

@ -193,7 +193,8 @@ class account_bank_statement_import(models.TransientModel):
@api.model
@api.returns('res.partner.bank')
def _create_bank_account(self, account_number, journal_id=False):
def _create_bank_account(self, account_number, company_id=False,
currency_id=False):
try:
bank_type = self.env.ref('base.bank_normal')
bank_code = bank_type.code

Loading…
Cancel
Save