Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4188 Lượt xem

I struggle to find out, how i can edit the sort function itself. I dont need other fields to sort, but the sort function should sort alphabetically. The default alphabetical sort is:

All upper case before lower case. 

Aaron

Bernd

Chris


but

Bernd

Chris

aaron


That case sensitive sorting is not really usefull and should be changed by default to ignore case sensitivity.


So, how can I edit the sort function?

Ảnh đại diện
Huỷ bỏ

You want this type of case-insensitive sorting in list/tree view OR in some other use case?

Tác giả

to be honest, everywhere! a sort respecting upper and lower case makes absolutly no sense to me, nowhere. But let's start with list/kanban view

Nice, but how to solve this in Online? There we do cannot change the code.

Câu trả lời hay nhất

Check this  answer,  may  help  you

  https://stackoverflow.com/questions/68917379/how-to-get-record-in-true-alphabetically-case-insensitive-sort-order-in-odoo/68921418#68921418


Worked for me!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 25
1566
1
thg 3 25
1692
MERGING CONTACTS Đã xử lý
1
thg 2 25
4236
Use of external id Đã xử lý
2
thg 2 25
3268
2
thg 2 25
2407