Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
5524 Vistas

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.

Avatar
Descartar
Mejor respuesta

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:

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
may 24
2139
2
mar 15
9182
1
feb 24
1990
2
feb 20
4099
3
mar 16
17529