Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4404 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 11 23
3125
7
thg 4 21
20502
1
thg 10 20
4874
2
thg 11 16
4221
4
thg 3 15
21136