[FIX] account_voucher: fixed wrong reference in yaml test forgotten in previous commit

bzr revid: qdp-launchpad@openerp.com-20121031110750-x1povpp9mrz3cvi6
This commit is contained in:
Quentin (OpenERP) 2012-10-31 12:07:50 +01:00
parent 483503a761
commit ea32fefa83
1 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@
!python {model: account.voucher}: |
import netsvc, time
vals = {}
voucher_id = self.browse(cr, uid, ref('account_voucher_1_case_basic_supplier_flows'))
voucher_id = self.browse(cr, uid, ref('account_voucher_case_5_supplier_flow'))
for item in voucher_id.line_dr_ids:
if item.amount_unreconciled == 1000.00:
self.pool.get('account.voucher.line').write(cr, uid, [item.id], {'amount': 1000})
@ -141,7 +141,7 @@
-
I confirm the voucher
-
!workflow {model: account.voucher, action: proforma_voucher, ref: account_voucher_1_case_basic_supplier_flows}
!workflow {model: account.voucher, action: proforma_voucher, ref: account_voucher_case_5_supplier_flow}
-
I check that the move of my voucher is valid and that it is posted
-