'Create a transfer from a EUR journal to a USD journal'

def test_internal_transfer_journal_usd_journal_eur(self):

    payment = self.payment_model.create({'payment_date': (time.strftime('%Y') + '-07-15'), 'payment_type': 'transfer', 'amount': 50, 'currency_id': self.currency_usd_id, 'journal_id': self.bank_journal_usd.id, 'destination_journal_id': self.bank_journal_euro.id, 'payment_method_id': self.payment_method_manual_out.id})
    payment.post()
    self.check_journal_items(payment.move_line_ids, [{'account_id': self.transfer_account.id, 'debit': 32.7, 'credit': 0.0, 'amount_currency': 50, 'currency_id': self.currency_usd_id}, {'account_id': self.transfer_account.id, 'debit': 0.0, 'credit': 32.7, 'amount_currency': (-50), 'currency_id': self.currency_usd_id}, {'account_id': self.account_eur.id, 'debit': 32.7, 'credit': 0.0, 'amount_currency': 0, 'currency_id': False}, {'account_id': self.account_usd.id, 'debit': 0.0, 'credit': 32.7, 'amount_currency': (-50), 'currency_id': self.currency_usd_id}])
