<div dir="ltr"><div><div><div><div>Hi<br><br></div>We did like change the UItype of country fields to  picklist.  Add piclist table, example vtiger_country. Then that picklist could be managed through any module which has a field named "Country".  If there is a different country field name we have to rename it.<br><br></div>Is there any problem in this method?<br><br><br></div>Thanks<br></div>Sutharsan Jeganathan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 19, 2016 at 2:48 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 19/09/16 09:44, socialboostdk wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi there,<br>
<br>
I have a client who wants the country-field to be a picklist instead of<br>
freetext. This actually makes very good sense to me, as "Disneyland"<br>
will never be a valid country, and spelling of real contries should<br>
never differ in order to search by country, etc.<br>
<br>
Are there any issues with just de-activating current country field and<br>
add picklist?<br>
<br>
I'm thinking "yes" beacuse the functions to copy address data etc - but<br>
any ida on what to do?<br>
</blockquote>
<br>
We've done this for a few customers... It is a royal PITA because of the various different tables, columnnames and ways addresses are stored. What that means is you will need to create several completely separate Picklists to store the Country values.<br>
<br>
Here's a script that might help you to do what you want though ;-)<br>
<br>
<a href="http://paste.ubuntu.com/23202014/" rel="noreferrer" target="_blank">http://paste.ubuntu.com/232020<wbr>14/</a><br>
<br>
Cheers<br>
<br>
Al<br>
<br>
PS: The copy address function works fine IIRC.<br>
<br>
______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>