summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>2012-10-04 18:15:42 +0200
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>2012-10-04 18:15:42 +0200
commit003e5ebffbe7ed1eefb3c9d8a4ee56f08c24dd5b (patch)
tree5304d7bc722149f4f831aeae3181608534595733
parente3321610ed83be729471f9700dcadff423caf50b (diff)
[FIX] account_voucher: fixed spurious yaml test
bzr revid: qdp-launchpad@openerp.com-20121004161542-n1lacefk1jbr8ccl
-rw-r--r--addons/account_voucher/test/account_voucher.yml6
1 files 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