Odoo Help

3
Axel Mendoza
On 10/6/15, 4:41 PM

For OpenERP v7:

import netsvc
...
wf_service = netsvc.LocalService('workflow')
wf_service.trg_validate

For Odoo v8 the code change a little

from openerp import workflow
...
workflow.trg_validate(uid, 'account.invoice', id, 'invoice_cancel', cr)

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 10/6/15, 4:40 PM
Seen: 1875 times
Last updated: 10/6/15, 5:42 PM