تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5596 أدوات العرض

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.

الصورة الرمزية
إهمال
أفضل إجابة

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:

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مايو 24
2176
2
مارس 15
9205
1
فبراير 24
2042
2
فبراير 20
4177
3
مارس 16
17577