跳至内容
菜单
此问题已终结
2 回复
2154 查看

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?

形象
丢弃
最佳答案

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.

形象
丢弃
编写者

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.

最佳答案

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.

形象
丢弃
相关帖文 回复 查看 活动
1
6月 23
5579
1
2月 24
2019
2
2月 20
4161
1
9月 15
4858
0
4月 15
2903