Sorting of m2o fields in list view is by ID, not name
Bug #1185706 reported by
Craig Gowing (credativ)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
This affects OpenERP 6.1
In a form view with an embedded list view containing m2o fields, if you attempt to sort the m2o field it will sort the records by their ID and not their name.
This problem is related to the JS where all of the sorting is taking place in these list views, main tree views are not affected since when they are sorted there is a call to the server where the sorting occurs and this does do the sorting correctly.
Related branches
To post a comment you must log in.
Please see the related branch for a proposed fix.