Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2144 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
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.

Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
cze 23
5550
1
lut 24
2004
2
lut 20
4112
1
wrz 15
4846
0
kwi 15
2899