I’ve wondering what is the best approach to achieve the select distinct of a field.
I can think on:
- Use the Model.search and then apply a python set function to list
- Use the transaction and with raw sql use select distinct from postgresql
Anyone knows an efficient option using the trytond api, with domain maybe?