From 003e5ebffbe7ed1eefb3c9d8a4ee56f08c24dd5b Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Thu, 4 Oct 2012 18:15:42 +0200 Subject: [PATCH] [FIX] account_voucher: fixed spurious yaml test bzr revid: qdp-launchpad@openerp.com-20121004161542-n1lacefk1jbr8ccl --- addons/account_voucher/test/account_voucher.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/addons/account_voucher/test/account_voucher.yml b/addons/account_voucher/test/account_voucher.yml index 2ea6c0b7890..f8e20f496e5 100644 --- a/addons/account_voucher/test/account_voucher.yml +++ b/addons/account_voucher/test/account_voucher.yml @@ -1,7 +1,8 @@ - In order to check account voucher module in OpenERP I create a customer voucher - - !record {model: account.voucher, id: account_voucher_voucherforaxelor0}: + !record {model: account.voucher, id: account_voucher_voucherforaxelor0, view: view_sale_receipt_form}: + type: sale account_id: account.cash amount: 1000.0 company_id: base.main_company @@ -47,7 +48,8 @@ - Now I create a Vendor Voucher - - !record {model: account.voucher, id: account_voucher_voucheraxelor0, view: False}: + !record {model: account.voucher, id: account_voucher_voucheraxelor0, view: view_voucher_filter_vendor}: + type: purchase account_id: account.cash amount: 1000.0 company_id: base.main_company