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

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Tác giả

Any ideas?

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 4 21
11356
2
thg 7 15
4796
1
thg 8 23
2535
1
thg 1 21
4089
3
thg 9 20
71906