跳至内容
菜单
此问题已终结

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)

形象
丢弃
相关帖文 回复 查看 活动
0
5月 22
5585
0
2月 24
28
1
9月 23
1326
1
11月 21
4511
0
5月 21
2714