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

Dears,

I have a scenario like , i need to apply a filter on a many2one field.

<field name="employee_id"  on_change="onchange_employee_id(employee_id)" class="oe_inline"  />

here employee_id is a many2one field and i need the field should only show the list of employees with the cost_centre same as that of the logged in user . how can i add a filter for that?

Thank you

อวตาร
ละทิ้ง
ผู้เขียน

domain="[('cost_centre','=',)]"

ผู้เขียน

Any ideas?

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
เม.ย. 21
11415
2
ก.ค. 15
4892
1
ส.ค. 23
2589
1
ม.ค. 21
4151
3
ก.ย. 20
72016