problem in search method - order parameter
Bug #495031 reported by
dharmesh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
hello,
In search method, there is parameter 'order'.
When i am trying to do 'order' on any field other than 'rec_name' i am not getting correct result because 'order' add 'rec_name' field also by default
so my query like this : select * from table_name order by rec_name,FIELD NAME;
I just want to order on my field.
To post a comment you must log in.
Hello DRA,
I agree with your point.
But order parameter is for search and your aim is listing. Listing calls read() and t takes self._order.
Thank you.