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

Can Canada, USA, UK, China, etc be the first ones in the list?

When users create new Customers they want these common Countries listed first.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

The sort order of Counties is determined by the Python code so you would need to create a custom module to change it.

What might work instead is to HIDE some of the Countries you don't want to see.

You would first create a new custom field to indicate if a Country is hidden or not:


Then add this field to the Form View of Countries:


This gives the user a way to hide Countries:


Then you change the definition of the Contact Form View to leverage this field and hide any Counties from the list:


The user sees something like this:

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 24
2182
2
thg 3 15
9212
1
thg 2 24
2051
2
thg 2 20
4188
3
thg 3 16
17587