[Vtigercrm-developers] Make address-country a picklist?

IT-Solutions4You info at its4you.sk
Tue Sep 20 07:28:50 GMT 2016


I think better way is change current text uitype=1 to picklist. In this 
case all Javascript works correctly. You need create a one picklist 
table with Country values and "join" all current text fields to this 
picklist table.

Matus.

Dňa 20. 9. 2016 o 9:15 Alan Lord napísal(a):
> On 20/09/16 04:04, Sutharsan Jeganathan wrote:
>> Hi
>>
>> 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.
>>
>> Is there any problem in this method?
>
>
> Renaming the fields would probably cause various other bits of vtiger to
> break...
>
> I'm thinking of the Javascript which copies addresses between the
> Invoice and Delivery fields in the same module and the code which is
> used to copy Organisation addresses to Quotes, Invoices etc. on
> creation... All of this stuff is hardcoded unfortunately.
>
>
> Al
>
>
> _______________________________________________
> http://www.vtiger.com/
>




More information about the vtigercrm-developers mailing list