Odoo Help


How to make filter context default_workcenter_id:uid

Grahame Jordan
on 11/24/13, 9:52 PM 1,134 views

In the Work Orders search from I would like to select by default the current user logged in, in the drop down list of Work Center, via the ir.actions.act_window in mrp.production.workcenter.line. Example: <field name="context">{"search_default_workcenter_id":user_id}</field>

Clearly the user_id is not related to anything in mrp.production.workcenter.line however the routing_workcenter_id.workcenter_id.resource_id.user_id is. Is this possible? How can this be done?

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

0 follower(s)


Asked: 11/24/13, 9:52 PM
Seen: 1134 times
Last updated: 3/16/15, 8:10 AM