Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

odoo order by xml rpc

dst_model.execute_kw(db, uid, pwd, 'obj.obj', 'search_read',
                                           [[['field1', '=', 'value']]],
                                           {
                                            'fields': ['field1','field2'],
                                            'order':'field1 Asc',
                                            'limit':5,
                                           }
#by default it is desc
 
PREVIOUS NEXT
Tagged: #odoo #order #xml #rpc
ADD COMMENT
Topic
Name
9+2 =