跳至內容
選單
此問題已被標幟
2 回覆
2179 瀏覽次數

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
5599
1
2月 24
2047
2
2月 20
4186
1
9月 15
4874
0
4月 15
2914