Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4397 มุมมอง

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?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ย. 23
3121
7
เม.ย. 21
20497
filter with related model field แก้ไขแล้ว
1
ต.ค. 20
4872
change search filter แก้ไขแล้ว
2
พ.ย. 16
4220
Search with functional fields แก้ไขแล้ว
4
มี.ค. 15
21132