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.


How to make filter context default_workcenter_id:uid

Grahame Jordan
on 11/24/13, 9:52 PM 749 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?

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

0 follower(s)


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