Skip to Content
Menu
This question has been flagged
2 Replies
2194 Zobrazenia

There is an oddity in the list view for customers in odoo 16. All columns can be sorted (phone, email, city, activities, etc.) but not the "Name" column. An alphabetical sorting by name is therefore currently not possible. Is it possible to activate this function somewhere?

Avatar
Zrušiť
Best Answer

Hi Michael Holthausen,

Yes you can search it alphabetically,

you need to add this field in (search view). (using code side)

so you can search alphabetical order. 

if you need to add odoo fronted though then

Enable developer mode:

After click on bug icon

Edit controlpanel view open and add your field which not search and save.

Thanks.

Avatar
Zrušiť
Autor

Thanks Nikhil Nakrani, but I don't want to edit the search search fields but the _sort_ fields. The field name ist not sortable alphabetically.

Best Answer

The Name column (translated_display_name) is dynamically calculated (not stored in the database) so cannot be sorted. 

We are working on a solution to sort non-stored fields in a future version of Odoo.

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
jún 23
5649
1
feb 24
2068
2
feb 20
4204
1
sep 15
4911
0
apr 15
2931