Is there any other way to obtain distinct values with ORM like sql select distinct does except
set( .distinct_field_get(field='name', value='') )
?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Is there any other way to obtain distinct values with ORM like sql select distinct does except
set( .distinct_field_get(field='name', value='') )
?
Hello @Artem,
You can use self._cr.execute() method to execute an SQL query in odoo.
Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari