Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
2181 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
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.

Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
jun. 23
5601
1
fev. 24
2049
2
fev. 20
4188
1
set. 15
4878
0
abr. 15
2914