Hi
I there a way to search in fullname of categories ?
Cat1
- Cat2
- Cat3
Cat10
- Cat2
- Cat3
I want to know if Cat1 / Cat2 / Cat3
is present ? This on client or by domain query (in code).
Regards
Hi
I there a way to search in fullname of categories ?
Cat1
- Cat2
- Cat3
Cat10
- Cat2
- Cat3
I want to know if Cat1 / Cat2 / Cat3
is present ? This on client or by domain query (in code).
Regards
Yes the TreeMixin used for record name of category has an implementation of the search_rec_name.
So you can search on āRecord Nameā as usual.
I answer to my self, with rec_name
for domain query (my first test donāt work, i dināt know why, but now it works)
In the Tryton client if I write āCat1 / Cat2 / Cat3ā in search zone, it doesnāt return anything, what is the correct syntax to search in ārecord nameā ?
You must search on the list and not the tree.
Ok, the query need double quote "Cat1 / Cat2 / Cat3"
.