Skip to Content
मेन्यू
This question has been flagged
1 Reply
4384 Views

Hello,

I have added some information in res.partner modules, I would like to select a partner which belongs specific categories.

I can add a domain on the field, but I have to put the id of the category.

e.g

<field name="groupe" placeholder="Groupe" domain="[('category_id', '=', 19)]"/>

Is it possible to replace this by a search on string (or any information from res_partner_category)?

Thanks,

David

Avatar
Discard
Best Answer

yes, try ('category_id.name', '=', 'what you want')

Avatar
Discard
Related Posts Replies Views Activity
1
अप्रैल 22
6896
5
अग॰ 24
46807
2
अप्रैल 24
2621
3
जून 23
5973
2
जून 23
4825