Odoo Help

Welcome!

This community 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.

0

Send a signal to workflow in python new api

By
Antonio
on 11/17/14, 6:35 AM 4,770 views

Hi, how can i send a signal to a workflow from code (no button) with the new v8 api?

Thansk

 

1
Andrei Levin
On 11/18/14, 5:37 AM

record.signal_workflow('signal')

For example:

self.signal_workflow('action_assign')

P.S.: As always when working with workflows double check that you are in the right place of it. For example to trigger 'invoice_open' you should be in "act_proforma2".

So I tried it and no work for me. invoice.signal_workflow('invoice_open')

Antonio
on 11/18/14, 6:15 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/17/14, 6:35 AM
Seen: 4770 times
Last updated: 3/16/15, 8:10 AM