parameters: (self, company, acc_template_ref)
return_statement: return bank_journals
docstring: This function creates bank journals and their account for each line
          data returned by the function _get_default_bank_journals_data.
  
          :param company: the company for which the wizard is running.
          :param acc_template_ref: the dictionary containing the mapping between the ids of account templates and the ids
              of the accounts that have been generated from them.
docstring_summary: This function creates bank journals and their account for each line
          data returned by the function _get_default_bank_journals_data.
docstring_tokens: This function creates bank journals and their account for each line data returned by the function _get_default_bank_journals_data .
function: def _create_bank_journals(self, company, acc_template_ref):
          '''
          This function creates bank journals and their account for each line
          data returned by the function _get_default_bank_journals_data.
  
          :param company: the company for which the wizard is running.
          :param acc_template_ref: the dictionary containing the mapping between the ids of account templates and the ids
              of the accounts that have been generated from them.
          '''
          self.ensure_one()
          bank_journals = self.env['account.journal']
          # Create the journals that will trigger the account.account creation
          for acc in self._get_default_bank_journals_data():
              bank_journals += self.env['account.journal'].create({
                  'name': acc['acc_name'],
                  'type': acc['account_type'],
                  'company_id': company.id,
                  'currency_id': acc.get('currency_id', self.env['res.currency']).id,
                  'sequence': 10,
              })
  
          return bank_journals
function_tokens: def _create_bank_journals ( self , company , acc_template_ref ) : self . ensure_one ( ) bank_journals = self . env [ 'account.journal' ] # Create the journals that will trigger the account.account creation for acc in self . _get_default_bank_journals_data ( ) : bank_journals += self . env [ 'account.journal' ] . create ( { 'name' : acc [ 'acc_name' ] , 'type' : acc [ 'account_type' ] , 'company_id' : company . id , 'currency_id' : acc . get ( 'currency_id' , self . env [ 'res.currency' ] ) . id , 'sequence' : 10 , } ) return bank_journals