Skip to Content
Menu
This question has been flagged

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?

Avatar
Discard
Related Posts Replies Views Activity
2
Nov 23
3140
7
Apr 21
20508
1
Oct 20
4880
2
Nov 16
4233
4
Mar 15
21144