From 5db4dd71c396a6bebc38cc73a8bec01e79a2ae98 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Mon, 6 May 2013 15:48:04 +0200 Subject: [PATCH] [FIX] account_voucher: fixed new yaml test bzr revid: qdp-launchpad@openerp.com-20130506134804-sdudzoyecjhkdr6b --- addons/account_voucher/test/case1_usd_usd_payment_rate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account_voucher/test/case1_usd_usd_payment_rate.yml b/addons/account_voucher/test/case1_usd_usd_payment_rate.yml index d851e1a2112..263aec7e876 100644 --- a/addons/account_voucher/test/case1_usd_usd_payment_rate.yml +++ b/addons/account_voucher/test/case1_usd_usd_payment_rate.yml @@ -154,7 +154,7 @@ payment_option: 'with_writeoff' writeoff_acc_id: account.a_expense comment: 'Write Off' - payment_rate: 1.25 + payment_rate: 0.8 payment_rate_currency_id: base.EUR - @@ -216,7 +216,7 @@ elif move_line.amount_currency == -70.00: assert move_line.credit == 56.00, "Debtor account has wrong entry." elif move_line.amount_currency == 10.00: - assert move_line.debit == 8.00, "Writeoff amount is wrong." + assert move_line.debit == 8.00, "Writeoff amount is wrong: Got a debit of %s (expected 8,00€)" % (move_line.debit) elif move_line.amount_currency == 240.00: assert move_line.debit == 192.00, "Bank entry is wrong." else: