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

I have directory filed which is many2one

Then in search view I have:

<field name="directory" filter_domain="[('directory','child_of',self)]"/>

It works if I search for a string but I cannot select exact match from the dropdown. It shows me options but gives an empty result. If I change to:

<field name="directory"/>

Then I can select exact match from the dropdown but it doesn't show records from children categories (this is the goal)

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 22
5580
0
thg 2 24
28
1
thg 9 23
1326
1
thg 11 21
4511
0
thg 5 21
2714