Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi, I have searched trough the documentation, and it seems that it is not possible to start/trigger a workflow trough the API?
My scenario is fairly simple.. I create a sales order (draft quotation), and would like the workflow to handle the transition into an actual sales order, but want to initiate this through the API, as I create the sales order here.
For others playing around with this.. The Object module has a method called exec_workflow. Signature (C#): object Execute_workflow(string db, int user, string password, string model, string signal, object id);
The trick is to find the id of the correct signal to call.. but Workflows -> Transitions is a good place to start the hunt.
If anybody else has the need to communicate with an Odoo using C# .NET, then contact me.. I am building a library to streamline this for you.
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 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
|Asked: 1/3/15, 7:04 PM|
|Seen: 890 times|
|Last updated: 3/16/15, 8:10 AM|