parameters: (self, name, company)
return_statement: return vals
docstring: Prepare values to create a transfer account directly, based on the
          method _prepare_transfer_account_template().
  
          This is needed when dealing with installation of payment modules
          that requires the creation of their own transfer account.
  
          :param name:        The transfer account name.
          :param company:     The company owning this account.
          :return:            A dictionary of values to create a new account.account.
docstring_summary: Prepare values to create a transfer account directly, based on the
          method _prepare_transfer_account_template().
docstring_tokens: Prepare values to create a transfer account directly based on the method _prepare_transfer_account_template () .
function: def _prepare_transfer_account_for_direct_creation(self, name, company):
          """ Prepare values to create a transfer account directly, based on the
          method _prepare_transfer_account_template().
  
          This is needed when dealing with installation of payment modules
          that requires the creation of their own transfer account.
  
          :param name:        The transfer account name.
          :param company:     The company owning this account.
          :return:            A dictionary of values to create a new account.account.
          """
          vals = self._prepare_transfer_account_template()
          digits = self.code_digits or 6
          prefix = self.transfer_account_code_prefix or ''
          vals.update({
              'code': self.env['account.account']._search_new_account_code(company, digits, prefix),
              'name': name,
              'company_id': company.id,
          })
          del(vals['chart_template_id'])
          return vals
function_tokens: def _prepare_transfer_account_for_direct_creation ( self , name , company ) : vals = self . _prepare_transfer_account_template ( ) digits = self . code_digits or 6 prefix = self . transfer_account_code_prefix or '' vals . update ( { 'code' : self . env [ 'account.account' ] . _search_new_account_code ( company , digits , prefix ) , 'name' : name , 'company_id' : company . id , } ) del ( vals [ 'chart_template_id' ] ) return vals