mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[FIX] backport from MP on upstream until 5f30c6ed09e92e53ad870d1fd54288ac43a4ca9e
This commit is contained in:
committed by
Laurent Mignon (ACSONE)
parent
1ebe98df79
commit
89afefc370
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user