[FIX]account: test account_fiscalyear_close, the test was triggering the workflow...
authorDenis Ledoux <dle@openerp.com>
Fri, 18 Oct 2013 12:40:37 +0000 (14:40 +0200)
committerDenis Ledoux <dle@openerp.com>
Fri, 18 Oct 2013 12:40:37 +0000 (14:40 +0200)
bzr revid: dle@openerp.com-20131018124037-v3501acvv4fh1077

addons/account/test/account_fiscalyear_close.yml

index 40d1b1a..b80cfd0 100644 (file)
 -
   I validate it the invoice
 -
-  !python {model: account.invoice}: |
-    import netsvc
-    wf_service = netsvc.LocalService("workflow")
-    wf_service.trg_validate(uid, 'account.invoice', ref('account.account_invoice_current1'), 'invoice_open', cr)
+  !workflow {model: account.invoice, action: invoice_open, ref: account.account_invoice_current1}
 -
   I made modification in journal so it can move entries
 -