Odoo Help


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.


Many workflows on same record

Emanuel Cino
on 3/11/15, 7:15 AM 432 views

Given how workflows are done, it is possible to create several workflows attached to a same model. In my understanding that would allow to separate some activities and transitions that are independent to others and prevent the system checking all the possible transitions and conditions, but only those defined in a specific workflow.

However, the methods defined in the Workflow Service, like for instance trg_validate does only take in parameters the res_model and res_id. So how can it know on which workflow to look at ?

Let's say we want to delete the workinstance of a particular object by calling trg_delete. Will it delete all workinstances of all workflows ? If yes, then what is the point of having several workflows for a same model ?

Anyone on this ?

Emanuel Cino
on 4/1/15, 7:40 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)


Asked: 3/11/15, 7:15 AM
Seen: 432 times
Last updated: 4/14/15, 9:43 AM