From 89afefc3700a0f2fb608684cbfb86b4ce6e09f4c Mon Sep 17 00:00:00 2001 From: Laurent Mignon Date: Fri, 3 Apr 2015 09:24:32 +0200 Subject: [PATCH] [FIX] backport from MP on upstream until 5f30c6ed09e92e53ad870d1fd54288ac43a4ca9e --- account_bank_statement_import/account_bank_statement_import.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/account_bank_statement_import/account_bank_statement_import.py b/account_bank_statement_import/account_bank_statement_import.py index 5d9dbaaa..98950c66 100644 --- a/account_bank_statement_import/account_bank_statement_import.py +++ b/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