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

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)

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ค. 22
5595
0
ก.พ. 24
28
filter_partner not working แก้ไขแล้ว
1
ก.ย. 23
1326
1
พ.ย. 21
4513
0
พ.ค. 21
2714