Odoo Help


How to pass context through workflow?

Atchuthan - Technical Consultant, Sodexis Inc
on 1/29/14, 10:05 AM 2,154 views

I had some context values that needs to be passed to the function with function call, but I tried to use workflow to pass the control to the function.

When I used workflow, all the context value were not available in the function when checked i.e. context = {}.

Is there a way to pass context value through workflow??

It's a big problem !!

Yug Faa
on 2/1/14, 12:46 PM
Jose Calle
On 2/3/15, 11:08 PM

Although it may not look reasonable to some of us there is actually no way to pass context. As of Odoo 7.0 the workflow should be based exclusively on the state of the document regardless of any value in the context (the context should not be passed). You can check a very old bug about that here https://bugs.launchpad.net/openobject-server/+bug/434266

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.


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)


Asked: 1/29/14, 10:05 AM
Seen: 2154 times
Last updated: 3/31/15, 5:35 PM