Skip to Content
Menu
This question has been flagged

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)

Avatar
Discard
Related Posts Replies Views Activity
0
May 22
4798
0
Feb 24
28
1
Sep 23
390
1
Nov 21
3507
0
May 21
1798