Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
2142 Zobrazení

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šit
Nejlepší odpověď

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šit
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.

Nejlepší odpověď

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šit
Related Posts Odpovědi Zobrazení Aktivita
1
čvn 23
5529
1
úno 24
2000
2
úno 20
4105
1
zář 15
4844
0
dub 15
2898