From 83ff86efe7bda3a51e2773642985ed7a05b38bac Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Fri, 18 Oct 2013 14:40:37 +0200 Subject: [PATCH] [FIX]account: test account_fiscalyear_close, the test was triggering the workflow with the 7.0 way, (due to the forward port of 7.0 bugfixes) bzr revid: dle@openerp.com-20131018124037-v3501acvv4fh1077 --- addons/account/test/account_fiscalyear_close.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/addons/account/test/account_fiscalyear_close.yml b/addons/account/test/account_fiscalyear_close.yml index 40d1b1a6a7b..b80cfd0e6e9 100644 --- a/addons/account/test/account_fiscalyear_close.yml +++ b/addons/account/test/account_fiscalyear_close.yml @@ -30,10 +30,7 @@ - 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 -