Skip to content
Snippets Groups Projects
Commit 25548eb7 authored by len-odoo's avatar len-odoo Committed by len-odoo
Browse files

[FIX] web: sort relational fields by their names

When sorting records according to a many2one field in a list view
embedded in a form view, the js would sort according to their ids,
in a seemingly arbitrary order.
Thus sorting records according to a field with values in ("a", "b", "c")
could be sorted as "a", "a", "c", "b" instead of "a", "a", "b", "c".
We make the comparison on the name of the field instead.

opw 1838860
parent 5a943390
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment