From eb9ee2f9e2b5ab5aad0cfb3c7a5aadf30a493f94 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Wed, 31 Oct 2012 14:25:10 +0100 Subject: [PATCH] [FIX] account_voucher: fixed wrong reference in yaml test forgotten in previous commit bzr revid: qdp-launchpad@openerp.com-20121031132510-ob15sct5ejav8t76 --- addons/account_voucher/test/case5_suppl_usd_usd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account_voucher/test/case5_suppl_usd_usd.yml b/addons/account_voucher/test/case5_suppl_usd_usd.yml index e7cde4b1e6e..3cae9667d84 100644 --- a/addons/account_voucher/test/case5_suppl_usd_usd.yml +++ b/addons/account_voucher/test/case5_suppl_usd_usd.yml @@ -146,7 +146,7 @@ I check that the move of my voucher is valid and that it is posted - !python {model: account.voucher}: | - voucher_id = self.browse(cr, uid, ref('account_voucher_case_5_supplier_flow,')) + voucher_id = self.browse(cr, uid, ref('account_voucher_case_5_supplier_flow')) assert voucher_id.state == 'posted', "Voucher state is not posted" for move_line in voucher_id.move_id.line_id: assert move_line.state == 'valid', "Voucher move is not valid" @@ -162,7 +162,7 @@ I check that my writeoff is correct. 33.34€ in credit with -$50 as amount currency - !python {model: account.voucher}: | - voucher_id = self.browse(cr, uid, ref('account_voucher_case_5_supplier_flow,')) + voucher_id = self.browse(cr, uid, ref('account_voucher_case_5_supplier_flow')) for move_line in voucher_id.move_id.line_id: if move_line.amount_currency == -950.00: assert move_line.credit == 633.33, "Wrong bank entry."